View Full Version : QPushButton SetText Color

Qt Coder
13th April 2009, 15:24
Hello all,

I m using Qt 4.4.3

I hav one qpushbutton on which I m displaying an image using QIcon..

Now I want to set Text color for this button ..

How to do that.....

13th April 2009, 18:21
If you are using designer it is easy, just go to the palette and set the color for the 'button text' or else you can set a palette for that button yourself.
If not, use a stylesheet to set the color.