[Qt-interest] QPushButton: change font colour via style sheet ?

Stephen Collyer scollyer at netspinner.co.uk
Fri Feb 19 16:49:21 CET 2010


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 ?

-- 
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100219/b0e7b8fd/attachment.html 


More information about the Qt-interest-old mailing list