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();
59 void saveShortcutsPdf();
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();
82 void saveShortcuts(
bool saveAll =
true );
84 void setGettingShortcut(
bool getting );
85 void setCurrentActionShortcut(
const QKeySequence &s );
86 void updateShortcutText();
89 QMenu *mSaveMenu =
nullptr;
90 QAction *mSaveUserShortcuts =
nullptr;
91 QAction *mSaveAllShortcuts =
nullptr;
92 QAction *mSaveAsPdf =
nullptr;
94 bool mGettingShortcut =
false;
95 int mModifiers = 0, mKey = 0;
99 #endif //QGSCONFIGURESHORTCUTSDIALOG_H