[Qt-interest] custom colors and style sheets
R. Reucher
rene.reucher at batcom-it.net
Tue Oct 27 13:57:51 CET 2009
On Tue, 27 Oct 2009 08:50:36 -0400, Duane Hebert wrote:
> I can use style sheets to set colors like: const QString
> selectedBackgroundSheet("color:darkblue; background-color: lightblue;");
>
> But I don't see a way to use colors via their rgb levels or from a
> QColor directly. Is this possible?
Yes, see here:
http://qt.nokia.com/doc/4.5/stylesheet-reference.html#color
HTH, René
--
René Reucher
rene.reucher at batcom-it.net
http://www.batcom-it.net/
More information about the Qt-interest-old
mailing list