PDA

View Full Version : How to grad keyboard event



lengshuang
8th April 2009, 13:58
hi
everyone,i want grad the keyboard event,but how can i get the right key pressed event.such as ,when the "ALT"is pressed,how can i get the event?
thanks in advance!

spirit
8th April 2009, 14:03
did you read about QWidget::keyPressEvent and QWidget::keyReleaseEvent in Qt Assistant?