PDA

View Full Version : programatically insert highkighted text into a QTextEdit



GrahamLabdon
10th October 2011, 12:00
Hi
Can someone please tell me how I can programatically insert some highlighted text into a QTextEdit widget?

Thanks

Graham

wysota
10th October 2011, 13:43
Insert a text into the document using QTextCursor and apply a format (QTextFormat) of your choice to it.