2 // keygrabber.h - Widget to grab a key and dismiss itself
5 // (C) 2011 Underground Software
8 #ifndef __KEYGRABBER_H__
9 #define __KEYGRABBER_H__
13 class KeyGrabber
: public QDialog
18 KeyGrabber(QWidget
* parent
= 0);
23 void keyPressEvent(QKeyEvent
*);
31 static bool buttonDown
; // Class variable
32 static int button
; // Class variable
38 #endif // __KEYGRABBER_H__