mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-12 21:39:26 +00:00
e13a938896
Known issue: the render view doesn't work in Qt5. With the switch to OSG around the corner, this isn't worth fixing.
51 lines
960 B
C++
51 lines
960 B
C++
#ifndef CSVSETTINGS_DIALOG_H
|
|
#define CSVSETTINGS_DIALOG_H
|
|
|
|
#include "settingwindow.hpp"
|
|
#include "resizeablestackedwidget.hpp"
|
|
|
|
class QStackedWidget;
|
|
class QListWidget;
|
|
class QListWidgetItem;
|
|
class QSplitter;
|
|
|
|
namespace CSVSettings {
|
|
|
|
class Page;
|
|
|
|
class Dialog : public SettingWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
QListWidget *mPageListWidget;
|
|
ResizeableStackedWidget *mStackedWidget;
|
|
bool mDebugMode;
|
|
|
|
public:
|
|
|
|
explicit Dialog (QMainWindow *parent = 0);
|
|
|
|
protected:
|
|
|
|
/// Settings are written on close
|
|
void closeEvent (QCloseEvent *event);
|
|
|
|
void setupDialog();
|
|
|
|
private:
|
|
|
|
void buildPages();
|
|
void buildPageListWidget (QSplitter *centralWidget);
|
|
void buildStackedWidget (QSplitter *centralWidget);
|
|
|
|
public slots:
|
|
|
|
void show();
|
|
|
|
private slots:
|
|
|
|
void slotChangePage (QListWidgetItem *, QListWidgetItem *);
|
|
};
|
|
}
|
|
#endif // CSVSETTINGS_DIALOG_H
|