[Qt-interest] New line in Rich Text Format

Rudenko Eugene erule.biz at gmail.com
Fri Feb 12 14:48:56 CET 2010


Have you tried label->setWordWrap(true); ?
> Hi list,
> 
> 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");
> 
> and none worked.
> 
> Can anyone help me?
> 
> Thnks
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list