mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
37 lines
566 B
C++
37 lines
566 B
C++
#ifndef MAINDIALOG_H
|
|
#define MAINDIALOG_H
|
|
|
|
#include <QDialog>
|
|
|
|
class QListWidget;
|
|
class QListWidgetItem;
|
|
class QStackedWidget;
|
|
class QStringListModel;
|
|
|
|
class PlayPage;
|
|
class DataFilesPage;
|
|
|
|
class MainDialog : public QDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
MainDialog();
|
|
|
|
//QStringListModel *mProfileModel;
|
|
|
|
public slots:
|
|
void changePage(QListWidgetItem *current, QListWidgetItem *previous);
|
|
|
|
private:
|
|
void createIcons();
|
|
|
|
QListWidget *mIconWidget;
|
|
QStackedWidget *mPagesWidget;
|
|
|
|
PlayPage *mPlayPage;
|
|
DataFilesPage *mDataFilesPage;
|
|
};
|
|
|
|
#endif
|