[Qt-interest] [qt4] QDialog closing question

Jaime Fernandez j.fernandez at midimesures.fr
Thu Jun 18 14:07:49 CEST 2009


Hello,

To catch the closing event in a QDialog class based, I use the 
closeEvent function.
closeEvent isn't called if I press the Escape key on my keyboard while 
executing the dialog.
Why is the reason to this feature ?
If I want to prevent this, should I have to use the keyPressEvent 
function on my dialog ?
Regards,



More information about the Qt-interest-old mailing list