Both QTextEdit
and QPlainTextEdit
are quite slow and unsuitable for anything but the most minor logging. The formatting operations they perform are very expensive and not designed for log use - in practice, fast logging to a text edit ends up locking up the GUI.
The QTableView
, or even QListView
, are very fast in comparison. Note that the model that is appended to does not emit dataChanged
signal - because no existing data is changed, and that's the signal's meaning. The model is emitting the rowsInserted
signal after each insertion (among other signals).
The list view needs some tweaks to behave fast, see this answer.