Hello, if i have a QLabel i can do this:
ui.label->setText ( tr ( "<b><font color=red>Label</font></b>" ) );
and i see "Label" in red bold
instead of, if i have a QCheckBox i can't do this:
ui.checkBox->setText ( tr ( "<b><font color=red>Check box</font></b>" ) );
or better, i get no errors but it shows on the GUI
<b><font color=red>Check box</font></b>
and not "Check box" in red bold.
Any Ideas?




Reply With Quote
Bookmarks