How to change the font color in a CheckBox and Label:
Thanks in advance
Mahe2310
How to change the font color in a CheckBox and Label:
Thanks in advance
Mahe2310
try something like this for label
or try to use QObject::setFont(const QFont&)Qt Code:
lbl->setTextFormat(Qt::RichText);To copy to clipboard, switch view to plain text mode
Last edited by wysota; 15th June 2006 at 10:38.
Another solution:
Last edited by wysota; 15th June 2006 at 10:38. Reason: Added [code] tags
I am getting a color box instead of the checkbox with the color specified...Originally Posted by gkuznets
I attached the image which is generated by the command...
The third checkbox is the result of the above comannds...
The first two are the results of the normal checkbox... But as not
able to change the font color it is not showing the text...
Bookmarks