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++
752 B
Raw Blame
#ifndef CSV_PREFS_DIALOGUE_H
#define CSV_PREFS_DIALOGUE_H

#include <QMainWindow>

class QSplitter;
class QStackedWidget;
class QListWidgetItem;

namespace CSVPrefs
{
    class PageBase;

    class Dialogue : public QMainWindow
    {
        Q_OBJECT

        QStackedWidget* mContent;

    private:
        void buildCategorySelector(QSplitter* main);

        void buildContentArea(QSplitter* main);

        PageBase* makePage(const std::string& key);

    public:
        Dialogue();

        ~Dialogue() override;

    protected:
        void closeEvent(QCloseEvent* event) override;

    public slots:

        void show();

    private slots:

        void selectionChanged(QListWidgetItem* current, QListWidgetItem* previous);
    };
}

#endif