[Interest] Highlighting selected text in QTextDocument::drawContents()
Diego Iastrubni
diegoiast at gmail.com
Tue Apr 1 10:41:28 CEST 2014
Depends on the use case, but what about
QTextDocument::setExtraSelections() with the correct QTextCursor?
See:
http://qt-project.org/doc/qt-4.8/qtextedit.html#setExtraSelections
On Sat, Mar 29, 2014 at 10:27 PM, <igor.mironchik at gmail.com> wrote:
> Hi.
>
> How to highlight selected text in QTextDocument::drawContents() ?
>
> Thanks.
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
More information about the Interest
mailing list