2014-05-12 08:49:59 +00:00
|
|
|
#ifndef INSTALLWIZARD_H
|
|
|
|
#define INSTALLWIZARD_H
|
|
|
|
|
|
|
|
#include <QWizard>
|
|
|
|
|
|
|
|
namespace Ui {
|
|
|
|
class InstallWizard;
|
|
|
|
}
|
|
|
|
|
2014-05-13 03:28:20 +00:00
|
|
|
class QPushButton;
|
2014-05-12 08:49:59 +00:00
|
|
|
class Settings;
|
|
|
|
|
|
|
|
class InstallWizard : public QWizard
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit InstallWizard(QWidget *parent, Settings *settings);
|
|
|
|
~InstallWizard();
|
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
2014-05-12 09:00:36 +00:00
|
|
|
Page_InstallType,
|
2014-05-12 09:35:28 +00:00
|
|
|
Page_Locate,
|
2014-05-14 09:03:18 +00:00
|
|
|
Page_Install,
|
2014-05-13 10:15:00 +00:00
|
|
|
Page_Eula,
|
2014-05-14 12:33:47 +00:00
|
|
|
Page_Copy,
|
2014-05-12 09:35:28 +00:00
|
|
|
Page_Patch,
|
|
|
|
Page_Finished
|
2014-05-12 08:49:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
private slots:
|
2014-05-13 03:28:20 +00:00
|
|
|
void cancel();
|
2014-05-13 09:34:15 +00:00
|
|
|
void on_InstallWizard_finished(int result);
|
2014-05-12 08:49:59 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Ui::InstallWizard *ui;
|
2014-05-13 03:28:20 +00:00
|
|
|
QPushButton *cancelButton;
|
2014-05-12 08:49:59 +00:00
|
|
|
Settings *settings;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // INSTALLWIZARD_H
|