1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 22:19:54 +00:00
openmw-tes3mp/apps/opencs/view/prefs/dialogue.hpp
2017-05-09 19:50:16 +12:00

49 lines
829 B
C++

#ifndef CSV_PREFS_DIALOGUE_H
#define CSV_PREFS_DIALOGUE_H
#include <QMainWindow>
class QSplitter;
class QListWidget;
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();
virtual ~Dialogue();
protected:
void closeEvent (QCloseEvent *event);
public slots:
void show();
private slots:
void selectionChanged (QListWidgetItem *current, QListWidgetItem *previous);
};
}
#endif