1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00
OpenMW/apps/launcher/maindialog.hpp

40 lines
625 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);
void play();
private:
void createIcons();
void closeEvent(QCloseEvent *event);
QListWidget *mIconWidget;
QStackedWidget *mPagesWidget;
PlayPage *mPlayPage;
DataFilesPage *mDataFilesPage;
};
#endif