You are not logged in.

Dear visitor, welcome to If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Tuesday, March 21st 2006, 4:56pm

QLcd - How can I set text color?


how cai I set text color for a QLcd?

(I use qt4.1.1 under linux)

About background i did this:

color.setNamedColor( "black" );
palette.setColor( QPalette::Active, QPalette::Background, color );
palette.setColor( QPalette::Inactive, QPalette::Background, color );

But for text?

Other question:

can I set QPalette::Active and QPalette::Inactive in one time?


This post has been edited 2 times, last edit by "Canelupo" (Mar 21st 2006, 4:56pm)