You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
658 B
C++
40 lines
658 B
C++
#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;
|
|
|
|
private slots:
|
|
|
|
void resetKeyBindings();
|
|
};
|
|
}
|
|
|
|
#endif
|