PDA

View Full Version : how to detect a keystroke



irfanhab
16th July 2006, 06:39
Hi,

How do I detect in Qt when a certain key is pressed like "5"(any 5 from numpad or else)

munna
16th July 2006, 08:05
keyPressEvent (http://doc.trolltech.com/4.1/qwidget.html#keyPressEvent)