[Qt-interest] Giving various colors to LCD

David Boddie david.boddie at nokia.com
Tue Jan 13 18:06:08 CET 2009


Neeraj Jhawar wrote:

> I have used lcd in my form and have also supplied
> setSegmentStyle(QLCDNumber::Filler);
> 
> now how do i get different colors for the same.

You should probably change the WindowText palette entry to the desired
color. See the QPalette documentation:

http://doc.trolltech.com/4.4/qpalette.html

David
-- 
David Boddie
Senior Technical Writer
Nokia, Qt Software



More information about the Qt-interest-old mailing list