qlabel and qstring color
Unsolved
General and Desktop
-
By taking a look in the documentation QLabel::setText() which explains exactly what setText() supports when you want to style your text
-
i try settext, but how do i make partial QString::number(0) blue. i can only set the entire things blue QLabel("test "+QString::number(0),this); but not the QString::number(0) blue
-
Did you read the link? And if - did you read that QLabel::setText() accepts html?