textChanged vs textEdited
Hi everyone,
it seems a stupid question, but I found no answer, even in this forum history, so...
The question is: what is the difference between textChanged signal and textEdited signal for a QLineEdit?
I read docs, but it just says that they are emitted when text changes for both of them. So? :confused:
Thank you in advance
Re: textChanged vs textEdited
textChanged() is emited whenever the contents of the widget changes whereas textEdited() is emited only when the user changes the text using mouse and keyboard (so it is not emitted when you call QLineEdit::setText()).
Re: textChanged vs textEdited
Thank you, now it has sense :)
...yes,but doc could spend two words for this...
Re: textChanged vs textEdited
I personally think they are clear about it.
Re: textChanged vs textEdited
Oh God, you are right, it is written below! :eek:
...sorry, I wasted a thread, I can't really understand why I missed it...
sorry, again and thank you for your answers... :o