[Qt-interest] New line in Rich Text Format

william.crocker at analog.com william.crocker at analog.com
Fri Feb 12 14:53:17 CET 2010


>> I can not add a new line in a QLabel with RTF text.
>>
>> I tried:
>>
>> label->append("\n");
>> label->append("\r\n");
>> label->append("\newline");
>> label->append("\\newline");
>>     

I have used HTML in QLabel to great success.
In that case <br> would be the ticket.

Bill



More information about the Qt-interest-old mailing list