1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-11 00:39:59 +00:00
OpenMW/apps/opencs/view/prefs/dialogue.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
752 B
C++
Raw Normal View History

#ifndef CSV_PREFS_DIALOGUE_H
#define CSV_PREFS_DIALOGUE_H
#include <QMainWindow>
class QSplitter;
class QStackedWidget;
2015-12-08 11:04:45 +00:00
class QListWidgetItem;
namespace CSVPrefs
{
2015-12-08 16:21:58 +00:00
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);
2015-12-08 16:21:58 +00:00
public:
Dialogue();
~Dialogue() override;
protected:
void closeEvent(QCloseEvent* event) override;
public slots:
void show();
private slots:
2015-12-08 11:04:45 +00:00
void selectionChanged(QListWidgetItem* current, QListWidgetItem* previous);
};
}
#endif