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.