| 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 "soundpage5.h" | 
 
 
 
 
 
 | 20 | 
 #include "soundpagefinal.h" | 
 
 
 
 
 
 | 21 | 
  | 
 
 
 
 
 
 | 22 | 
 class SoundWizard: public QObject // for signals and slots | 
 
 
 
 
 
 | 23 | 
 { | 
 
 
 
 
 
 | 24 | 
     Q_OBJECT // for signals and slots | 
 
 
 
 
 
 | 25 | 
 public: | 
 
 
 
 
 
 | 26 | 
     SoundWizard(QString appLocation, QString workspaceWizardLocation, Logger *myLogger, QHash<QString, QString> *commandMap); | 
 
 
 
 
 
 | 27 | 
     int exec(); | 
 
 
 
 
 
 | 28 | 
 private: | 
 
 
 
 
 
 | 29 | 
     QWizard myWizard; | 
 
 
 
 
 
 | 30 | 
     QWizardPage* createIntroPage(); | 
 
 
 
 
 
 | 31 | 
  | 
 
 
 
 
 
 | 32 | 
     QString workspaceWizardLocation; | 
 
 
 
 
 
 | 33 | 
     QString soundsLocation; | 
 
 
 
 
 
 | 34 | 
     QString appLocation; | 
 
 
 
 
 
 | 35 | 
     Logger *myLogger; | 
 
 
 
 
 
 | 36 | 
     QHash<QString, QString> *commandMap; | 
 
 
 
 
 
 | 37 | 
 private slots: | 
 
 
 
 
 
 | 38 | 
     void restartWizard(); | 
 
 
 
 
 
 | 39 | 
     void pageChanged(int pageId); | 
 
 
 
 
 
 | 40 | 
 }; | 
 
 
 
 
 
 | 41 | 
  | 
 
 
 
 
 
 | 42 | 
 #endif // SOUNDWIZARD_H |