launch/installwizard.h

43 lines
669 B
C
Raw Normal View History

#ifndef INSTALLWIZARD_H
#define INSTALLWIZARD_H
#include <QWizard>
namespace Ui {
class InstallWizard;
}
2014-05-13 03:28:20 +00:00
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:
2014-05-13 03:28:20 +00:00
void cancel();
2014-05-13 09:34:15 +00:00
void on_InstallWizard_finished(int result);
private:
Ui::InstallWizard *ui;
2014-05-13 03:28:20 +00:00
QPushButton *cancelButton;
Settings *settings;
};
#endif // INSTALLWIZARD_H