PYQT5 method for setting up textEdit auto scrolling screen

  • 2021-06-28 13:09:54
  • OfStack

After the modified text, add:


self.textEdit_6.moveCursor(QTextCursor.End)

Example:


self.textEdit_6.setPlainText("Hello World")

Related articles: