QWidget.__init__(self, parent)
self.setWindowTitle("SFI Log")
self.text = QTextBrowser(self)
+ self.text.ensureCursorVisible()
layout = QVBoxLayout()
layout.addWidget(self.text)
def update(self):
self.text.setText(self.logio.getText())
+ c = self.text.textCursor()
+ c.movePosition(QTextCursor.End)
+ self.text.setTextCursor(c)