[Interest] Highlighting selected text in QTextDocument::drawContents()

igor.mironchik at gmail.com igor.mironchik at gmail.com
Sat Mar 29 20:51:14 CET 2014


Hi.

I know the possible answer...

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

There it’s possible to use QAbstractTextDocumentLayout::PaintContext

Thanks.

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

Hi.

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

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140329/ddddf818/attachment.html>


More information about the Interest mailing list