PDA

View Full Version : QLineEdit behaviour



zgulser
9th July 2010, 15:37
Hi to all,

I recently observed that if a QLineEdit has an input mask like "00", it does emit editingFinished signal once as usually. But when the same(doesn't matter) QLineEdit has an input mask like "00:00" or "00:00:00", it does emit the regarding signal two and three times respectively for each part of input mask.

So does it ok or something wrong? If it's a Qt feature, how can I close it?


And finally, I couldn't fully understand what happened when fooLineEdit->setText("haha!") method executed.? I mean does the program control flow according to textChanged signal or editingFinished signal or both?

King regards...