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,