[Qt-interest] custom colors and style sheets
Duane Hebert
spoo at flarn.com
Tue Oct 27 14:04:36 CET 2009
"R. Reucher" <rene.reucher at batcom-it.net> wrote in message news:hc6qof$6g5$1 at eple.troll.no...
> 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
thanks.
More information about the Qt-interest-old
mailing list