Skip to content

An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.

C++
651 B
Raw Blame
#ifndef CSV_PREFS_KEYBINDINGPAGE_H
#define CSV_PREFS_KEYBINDINGPAGE_H

#include "pagebase.hpp"

class QComboBox;
class QGridLayout;
class QStackedLayout;
class QWidget;

namespace CSMPrefs
{
    class Setting;
    class Category;
}

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