| 1 | 
   | 
 #ifndef ABSTRACTWIZARD_H | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 2 | 
   | 
 #define ABSTRACTWIZARD_H | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 3 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 | 4 | 
 – | 
 #include "logger.h" | 
 
 
 
 
 
 
 
 
 
 | 5 | 
 – | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 4 | 
   | 
 #include <QLabel> | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 5 | 
   | 
 #include <QVBoxLayout> | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 6 | 
   | 
 #include <QLineEdit> | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 21 | 
   | 
         QWizard myWizard; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 22 | 
   | 
     QString workspaceWizardLocation; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 23 | 
   | 
         QSettings *vagoSettings; | 
 
 
 
 
 
 
 
 
 
 | 26 | 
 – | 
         Logger *myLogger; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 24 | 
   | 
     QString appDir; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 25 | 
   | 
 protected: | 
 
 
 
 
 
 
 
 
 
 
 
 | 26 | 
 < | 
     AbstractWizard(const QString &appDir, const QString &workspaceWizardLocation, QSettings *vagoSettings, Logger *myLogger, const bool hasRestartButton); | 
 
 
 
 
 
 
 
 
 
 | 26 | 
 > | 
     AbstractWizard(const QString &appDir, const QString &workspaceWizardLocation, QSettings *vagoSettings, const bool hasRestartButton); | 
 
 
 
 
 
 
 
 
 
 
 
 | 27 | 
   | 
     virtual void exec()=0; | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 28 | 
   | 
         void showWizard(const QString &windowsTitle, const QString &windowsIcon); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 29 | 
   | 
     QWizardPage* createIntroPage(const QString &text); |