In order to scroll QPlainTextEdit contents to bottom, I've triedwhich works partially. The QPlainTextEdit is in one tab of a QTabWidget, if the focus is in the QPlainTextEdit tab then it works. But, if data is added while the focus is in another tab, when I go back to the QPlainTextEdit tab it only shows one line of text at the top.Qt Code:
ui->plainTextEdit->verticalScrollBar()->setValue(ui->plainTextEdit->verticalScrollBar()->maximum());To copy to clipboard, switch view to plain text mode
Bookmarks