#ifndef MAINDIALOG_H #define MAINDIALOG_H #include 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