Introducing QssParser
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 26 Mar 2009 09:43:10 +0000 (10:43 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 6 Aug 2009 18:23:28 +0000 (20:23 +0200)
commit90eb5244fb07eb2371279c12266fca06d0fed23c
treee6b1a236e48b9ee64176d1f0c494b8b82766570e
parent62b20e0c6c13ea7bfb713da68c85a5e94c951d1b
Introducing QssParser

This parses our extensions to Qt stylesheets. So far, we can modify the
application palette as follows:

Palette {
  base: white;
  text: rgb(128, 128, 255);
  window-text: #12ffaa33;
  ...
}

The roles and brush/color definitions follow the Qt stylesheet syntax; note that
we allow for styling all of the palette roles (including things like tooltip-base,
which are not included in Qt's list of stylable roles).
src/uisupport/uistyle.cpp
src/uisupport/uistyle.h