1 #ifndef CSM_PREFS_SHORTCUTSETTING_H
2 #define CSM_PREFS_SHORTCUTSETTING_H
4 #include <QKeySequence>
20 const std::string& label);
int mEditorPos
Definition: shortcutsetting.hpp:40
QPushButton * mButton
Definition: shortcutsetting.hpp:37
ShortcutSetting(Category *parent, Settings::Manager *values, QMutex *mutex, const std::string &key, const std::string &label)
Definition: shortcutsetting.cpp:17
Definition: category.hpp:12
virtual std::pair< QWidget *, QWidget * > makeWidgets(QWidget *parent)
Definition: shortcutsetting.cpp:30
bool mEditorActive
Definition: shortcutsetting.hpp:39
void resetState()
Definition: shortcutsetting.cpp:172
static const int MaxKeys
Definition: shortcutsetting.hpp:35
Definition: setting.hpp:22
bool eventFilter(QObject *target, QEvent *event)
Definition: shortcutsetting.cpp:49
Definition: shortcutsetting.hpp:13
bool handleEvent(QObject *target, int mod, int value, bool active)
Definition: shortcutsetting.cpp:97
void buttonToggled(bool checked)
Definition: shortcutsetting.cpp:190
Settings management (can change during runtime)
Definition: settings.hpp:17
int mEditorKeys[MaxKeys]
Definition: shortcutsetting.hpp:41
void storeValue(const QKeySequence &sequence)
Definition: shortcutsetting.cpp:157