Old post, but I am having problems with QTextEdit. I looked into QTextDocument::drawContents, but all that ever draws is the text. Where is the cursor???
Qt Code:
{ document()->drawContents(&painter,viewport()->rect()); }To copy to clipboard, switch view to plain text mode
Bookmarks