2016-07-27 23:15:24 +00:00
|
|
|
#ifndef CSV_PREFS_KEYBINDINGPAGE_H
|
|
|
|
#define CSV_PREFS_KEYBINDINGPAGE_H
|
|
|
|
|
|
|
|
#include "pagebase.hpp"
|
|
|
|
|
|
|
|
class QComboBox;
|
|
|
|
class QGridLayout;
|
|
|
|
class QStackedLayout;
|
|
|
|
|
|
|
|
namespace CSMPrefs
|
|
|
|
{
|
|
|
|
class Setting;
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace CSVPrefs
|
|
|
|
{
|
|
|
|
class KeyBindingPage : public PageBase
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
KeyBindingPage(CSMPrefs::Category& category, QWidget* parent);
|
|
|
|
|
|
|
|
void addSetting(CSMPrefs::Setting* setting);
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
QStackedLayout* mStackedLayout;
|
|
|
|
QGridLayout* mPageLayout;
|
|
|
|
QComboBox* mPageSelector;
|
2020-01-12 23:24:48 +00:00
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
|
|
|
void resetKeyBindings();
|
2016-07-27 23:15:24 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|