openmw-tes3coop/apps/opencs/view/prefs/keybindingpage.hpp

42 lines
699 B
C++
Raw Normal View History

2016-07-27 23:15:24 +00:00
#ifndef CSV_PREFS_KEYBINDINGPAGE_H
#define CSV_PREFS_KEYBINDINGPAGE_H
#include "pagebase.hpp"
class QWidget;
2016-07-27 23:15:24 +00:00
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:
void refresh();
void init();
QWidget* mTopWidget;
2016-07-27 23:15:24 +00:00
QStackedLayout* mStackedLayout;
QGridLayout* mPageLayout;
QComboBox* mPageSelector;
};
}
#endif