Hi.

I know the possible answer...

Better to use QTextDocument: :documentLayout()->draw().

There it’s possible to use QAbstractTextDocumentLayout::PaintContext

Thanks.

From: igor.mironc...@gmail.com 
Sent: Saturday, March 29, 2014 9:27 PM
To: interest@qt-project.org 
Subject: Highlighting selected text in QTextDocument::drawContents()

Hi.

How to highlight selected text in QTextDocument::drawContents() ?

Thanks.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to