[Qt-interest] QPushButton: change font colour via style sheet ?
Andre Somers
andre at familiesomers.nl
Fri Feb 19 16:55:15 CET 2010
Stephen Collyer wrote:
> I have a QPushButton displaying a QString
>
> QString number = ...
> QPushButton* play_button = new QPushButton(number);
>
> I want to change the colour of the font used to display the number
> string by
> setting the style sheet for the QPushButton.
>
> Is this possible ?
Yes, it is.
André
More information about the Qt-interest-old
mailing list