1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 21:53:53 +00:00
openmw/apps/opencs/view/prefs/dialogue.hpp
2022-10-09 10:39:43 +00:00

45 lines
752 B
C++

#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