16 #ifndef QGSCONFIGURESHORTCUTSDIALOG_H
17 #define QGSCONFIGURESHORTCUTSDIALOG_H
22 #include "ui_qgsconfigureshortcutsdialog.h"
51 void keyPressEvent( QKeyEvent *event )
override;
52 void keyReleaseEvent( QKeyEvent *event )
override;
55 void changeShortcut();
60 void mLeFilter_textChanged(
const QString &text );
62 void actionChanged( QTreeWidgetItem *current, QTreeWidgetItem *previous );
70 void populateActions();
73 QObject *currentObject();
76 QAction *currentAction();
79 QShortcut *currentShortcut();
81 void setGettingShortcut(
bool getting );
82 void setCurrentActionShortcut(
const QKeySequence &s );
83 void updateShortcutText();
87 bool mGettingShortcut =
false;
88 int mModifiers = 0, mKey = 0;
92 #endif //QGSCONFIGURESHORTCUTSDIALOG_H