2011-04-07 22:04:09 +00:00
|
|
|
#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;
|
2011-04-24 19:42:56 +00:00
|
|
|
|
2011-04-07 22:04:09 +00:00
|
|
|
public slots:
|
|
|
|
void changePage(QListWidgetItem *current, QListWidgetItem *previous);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void createIcons();
|
|
|
|
|
|
|
|
QListWidget *mIconWidget;
|
|
|
|
QStackedWidget *mPagesWidget;
|
2011-04-24 19:42:56 +00:00
|
|
|
|
2011-04-07 22:04:09 +00:00
|
|
|
PlayPage *mPlayPage;
|
|
|
|
DataFilesPage *mDataFilesPage;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|