mirror of https://github.com/OpenMW/openmw.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
574 B
C++
37 lines
574 B
C++
14 years ago
|
#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
|