PDA

View Full Version : Esc key Signal?



ashukla
16th October 2007, 10:20
Dear Everyone!
When QWidget is displaying and we press Esc key which signal is generated.....

marcel
16th October 2007, 10:25
No signal. You have to implement keyPressEvent and test there if the key code is the code for escape.

ToddAtWSU
16th October 2007, 17:28
I would assume it would be Qt::Key_Escape located in the docs at http://doc.trolltech.com/4.3/qt.html#Key-enum.