| 1 |
#ifndef SOUNDWIZARD_H |
| 2 |
#define SOUNDWIZARD_H |
| 3 |
|
| 4 |
// System includes |
| 5 |
#include <QString> |
| 6 |
#include <QWizard> |
| 7 |
#include <QWizardPage> |
| 8 |
#include <QLabel> |
| 9 |
#include <QDesktopWidget> |
| 10 |
#include <QVBoxLayout> |
| 11 |
#include <QPushButton> |
| 12 |
|
| 13 |
// Local includes |
| 14 |
#include "util.h" |
| 15 |
#include "logger.h" |
| 16 |
#include "soundpage2.h" |
| 17 |
#include "soundpage3.h" |
| 18 |
#include "soundpage4.h" |
| 19 |
#include "soundpagefinal.h" |
| 20 |
|
| 21 |
class SoundWizard: public QObject // for signals and slots |
| 22 |
{ |
| 23 |
Q_OBJECT // for signals and slots |
| 24 |
public: |
| 25 |
SoundWizard(QString appLocation, QString workspaceWizardLocation, Logger *myLogger, QHash<QString, QString> *commandMap); |
| 26 |
int exec(); |
| 27 |
private: |
| 28 |
QWizardPage* createIntroPage(); |
| 29 |
|
| 30 |
QString workspaceWizardLocation; |
| 31 |
QString soundsLocation; |
| 32 |
QString appLocation; |
| 33 |
Logger *myLogger; |
| 34 |
QWizard *myWizard; |
| 35 |
QHash<QString, QString> *commandMap; |
| 36 |
private slots: |
| 37 |
void restartWizard(); |
| 38 |
void pageChanged(int pageId); |
| 39 |
}; |
| 40 |
|
| 41 |
#endif // SOUNDWIZARD_H |