1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 03:35:27 +00:00
OpenMW/apps/opencs/view/prefs/keybindingpage.hpp

38 lines
616 B
C++
Raw Normal View History

2016-07-27 19:15:24 -04: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
{
2022-09-22 21:26:05 +03:00
Q_OBJECT
2016-07-27 19:15:24 -04:00
2022-09-22 21:26:05 +03:00
public:
KeyBindingPage(CSMPrefs::Category& category, QWidget* parent);
2016-07-27 19:15:24 -04:00
2022-09-22 21:26:05 +03:00
void addSetting(CSMPrefs::Setting* setting);
2016-07-27 19:15:24 -04:00
2022-09-22 21:26:05 +03:00
private:
QStackedLayout* mStackedLayout;
QGridLayout* mPageLayout;
QComboBox* mPageSelector;
2016-07-27 19:15:24 -04:00
2022-09-22 21:26:05 +03:00
private slots:
2016-07-27 19:15:24 -04:00
2022-09-22 21:26:05 +03:00
void resetKeyBindings();
2016-07-27 19:15:24 -04:00
};
}
#endif