1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 15:35:23 +00:00
OpenMW/apps/opencs/view/prefs/dialogue.hpp

49 lines
827 B
C++
Raw Normal View History

#ifndef CSV_PREFS_DIALOGUE_H
#define CSV_PREFS_DIALOGUE_H
#include <QMainWindow>
class QSplitter;
class QListWidget;
class QStackedWidget;
2015-12-08 12:04:45 +01:00
class QListWidgetItem;
namespace CSVPrefs
{
2015-12-08 17:21:58 +01:00
class PageBase;
class Dialogue : public QMainWindow
{
Q_OBJECT
QListWidget *mList;
QStackedWidget *mContent;
private:
void buildCategorySelector (QSplitter *main);
void buildContentArea (QSplitter *main);
2015-12-08 17:21:58 +01:00
PageBase *makePage (const std::string& key);
public:
Dialogue();
protected:
void closeEvent (QCloseEvent *event);
public slots:
void show();
2015-12-08 12:04:45 +01:00
private slots:
void selectionChanged (QListWidgetItem *current, QListWidgetItem *previous);
};
}
#endif