(C++) How to scroll a QPlainTextEdit to its top? or How to set QPlainTextEdit's cursor to the top?

February 24, 2017 · View on GitHub

 

 

 

 

 

(C++) Qt How to scroll a QPlainTextEdit to its top? or How to set QPlainTextEdit's cursor to the top?

 

Qt FAQ.

 


my_plaintextedit->moveCursor(QTextCursor::Start);