OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
keybindingpage.hpp
Go to the documentation of this file.
1 #ifndef CSV_PREFS_KEYBINDINGPAGE_H
2 #define CSV_PREFS_KEYBINDINGPAGE_H
3 
4 #include "pagebase.hpp"
5 
6 class QComboBox;
7 class QGridLayout;
8 class QStackedLayout;
9 
10 namespace CSMPrefs
11 {
12  class Setting;
13 }
14 
15 namespace CSVPrefs
16 {
17  class KeyBindingPage : public PageBase
18  {
19  Q_OBJECT
20 
21  public:
22 
23  KeyBindingPage(CSMPrefs::Category& category, QWidget* parent);
24 
25  void addSetting(CSMPrefs::Setting* setting);
26 
27  private:
28 
29  QStackedLayout* mStackedLayout;
30  QGridLayout* mPageLayout;
31  QComboBox* mPageSelector;
32  };
33 }
34 
35 #endif
Definition: keybindingpage.hpp:17
QStackedLayout * mStackedLayout
Definition: keybindingpage.hpp:29
Definition: category.hpp:12
Definition: setting.hpp:22
Definition: pagebase.hpp:13
QComboBox * mPageSelector
Definition: keybindingpage.hpp:31
KeyBindingPage(CSMPrefs::Category &category, QWidget *parent)
Definition: keybindingpage.cpp:15
QGridLayout * mPageLayout
Definition: keybindingpage.hpp:30
void addSetting(CSMPrefs::Setting *setting)
Definition: keybindingpage.cpp:44