akiross
10th August 2011, 20:00
Hello,
from the manual of QLineEdit
textEdit():
This signal is emitted whenever the text is edited. The text argument is the next text.
Unlike textChanged(), this signal is not emitted when the text is changed programmatically, for example, by calling setText().
But still this signal seems to be called when using the backspace() (or del()) method.
How come? If the difference is only on setText(), then what's the point of having two methods, since I've to do everything by hand?
Thanks in advance :)
~Aki
from the manual of QLineEdit
textEdit():
This signal is emitted whenever the text is edited. The text argument is the next text.
Unlike textChanged(), this signal is not emitted when the text is changed programmatically, for example, by calling setText().
But still this signal seems to be called when using the backspace() (or del()) method.
How come? If the difference is only on setText(), then what's the point of having two methods, since I've to do everything by hand?
Thanks in advance :)
~Aki