1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-23 23:23:54 +00:00
openmw/apps/opencs/view/prefs/keybindingpage.hpp

40 lines
651 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 QComboBox;
class QGridLayout;
class QStackedLayout;
2022-10-19 17:02:00 +00:00
class QWidget;
2016-07-27 23:15:24 +00:00
namespace CSMPrefs
{
class Setting;
2022-10-19 17:02:00 +00:00
class Category;
2016-07-27 23:15:24 +00:00
}
namespace CSVPrefs
{
class KeyBindingPage : public PageBase
{
2022-09-22 18:26:05 +00:00
Q_OBJECT
2016-07-27 23:15:24 +00:00
2022-09-22 18:26:05 +00:00
public:
KeyBindingPage(CSMPrefs::Category& category, QWidget* parent);
2016-07-27 23:15:24 +00:00
2022-09-22 18:26:05 +00:00
void addSetting(CSMPrefs::Setting* setting);
2016-07-27 23:15:24 +00:00
2022-09-22 18:26:05 +00:00
private:
QStackedLayout* mStackedLayout;
QGridLayout* mPageLayout;
QComboBox* mPageSelector;
2016-07-27 23:15:24 +00:00
2022-09-22 18:26:05 +00:00
private slots:
2016-07-27 23:15:24 +00:00
2022-09-22 18:26:05 +00:00
void resetKeyBindings();
2016-07-27 23:15:24 +00:00
};
}
#endif