[Qt-interest] How to set a QTextCharFormat onto a QPlainTextEdit?

NoRulez norulez at me.com
Wed Nov 23 19:05:00 CET 2011


Hi @all,

 

is there a way to set a QTextCharFormat onto a QPlainTextEdit?

 

My Problem is setting the underline color and underline style.

The only thing I found was that setting setUnderline to true on the
QPlainTextEdit’s font, but how can I change the underline style and color
too?

 

Thanks in advance

 

Best Regards

NoRulez

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111123/b0c2d0fb/attachment.html 


More information about the Qt-interest-old mailing list