launch/installwizard.h

43 lines
669 B
C++

#ifndef INSTALLWIZARD_H
#define INSTALLWIZARD_H
#include <QWizard>
namespace Ui {
class InstallWizard;
}
class QPushButton;
class Settings;
class InstallWizard : public QWizard
{
Q_OBJECT
public:
explicit InstallWizard(QWidget *parent, Settings *settings);
~InstallWizard();
enum
{
Page_InstallType,
Page_Locate,
Page_Install,
Page_Eula,
Page_Copy,
Page_Patch,
Page_Finished
};
private slots:
void cancel();
void on_InstallWizard_finished(int result);
private:
Ui::InstallWizard *ui;
QPushButton *cancelButton;
Settings *settings;
};
#endif // INSTALLWIZARD_H