QLABEL how to Set Line Height?
QLABEL how to Set Line Height?
you can use this QLabel *label = new QLabel("<h2><i>Hello</i> "
"<font color=red>Qt!</font></h2>");
For fine grained control over the text a pure label will not be enough. You can use QTextEdit in read-only mode with adjusted decorations and then you'll be able to use the whole API of QTextDocument.
Bookmarks