In QLineEdit
, there is a textEdit()
signal, which only emits if the user changes the text, but not when you call setText()
,
So what's the equivalent in QTextEdit
? I only see a textChanged()
signal, and the documentation states it is emitted whenever the text document changes.
EDIT
I want to implement an auto-save feature, with a QTimer of course,
So when you start editing the document, the timer starts, and when timed out, I save the text inside the widget.