support mouse wheel in new key dialog

This commit is contained in:
Mathias Panzenböck
2016-04-02 23:42:51 +02:00
parent 8bf93127a0
commit 5af554723d
2 changed files with 34 additions and 0 deletions

View File

@ -20,6 +20,7 @@ protected:
void keyPressEvent( QKeyEvent* );
void keyReleaseEvent( QKeyEvent* );
void mouseReleaseEvent( QMouseEvent* );
void wheelEvent( QWheelEvent *event );
public:
static int getKey( const QString& button, bool acceptMouse = false, bool* mousePressed = 0, QWidget* parent = 0 );