From: Manuel Nickschas Date: Wed, 24 Jun 2009 07:44:38 +0000 (+0200) Subject: Add --qss parameter to load a custom stylesheet X-Git-Tag: 0.5-rc1~133 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=04c923c596fbde976b23979b92b0636635f97951;hp=04c923c596fbde976b23979b92b0636635f97951 Add --qss parameter to load a custom stylesheet Because there doesn't seem to be sane way to hijack Qt's -stylesheet parameter, we introduce our own. This also allows us to add incompatible extensions to QSS, because we can remove them before handing over the pre-parsed stylesheet to QApplication. Note that -stylesheet is now ignored. The style engine now loads $datadir/default.qss, $configdir/custom.qss and --qss "file.qss" in that order. Later block declarations override earlier ones, if they are identical. That way, you can override parts of the system-installed default.qss in your own configdir or on the command line. ---