mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-11 09:36:37 +00:00
51 lines
861 B
C++
51 lines
861 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
|
|
|
|
QListWidget *mList;
|
|
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
|