Làm thế nào tôi có thể autoscroll để dưới cùng của tôi QTextEdit
Autoscroll pyQT QTextWidget
trong hàm init GUI tôi
self.mytext = QTextEdit()
self.cursor = QTextCursor(self.mytext.document())
self.mytext.setTextCursor(self.cursor)
và làm thế nào tôi thêm vào đó là chức năng khác
self.cursor.insertText(str(self.user) + ": " + str(self.line.text()) + "\n")