1 |
#ifndef BGIMAGEWIZARD_H |
2 |
#define BGIMAGEWIZARD_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 "bgimagepage2.h" |
15 |
#include "bgimagepage3.h" |
16 |
#include "bgimagepagefinal.h" |
17 |
|
18 |
class BGImageWizard: public QObject // for signals and slots |
19 |
{ |
20 |
Q_OBJECT // for signals and slots |
21 |
public: |
22 |
BGImageWizard(const QString &appDir, const QString &workspaceWizardLocation, QSettings *vagoSettings, Logger *myLogger); |
23 |
int exec(); |
24 |
private: |
25 |
QWizard myWizard; |
26 |
QWizardPage *createIntroPage(); |
27 |
|
28 |
Logger *myLogger; |
29 |
QString workspaceWizardLocation; |
30 |
QString bgImagesLocation; |
31 |
QString appDir; |
32 |
QSettings *vagoSettings; |
33 |
private slots: |
34 |
void restartWizard(); |
35 |
void pageChanged(int pageId); |
36 |
}; |
37 |
|
38 |
#endif // BGIMAGEWIZARD_H |