You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
993 B
C++
51 lines
993 B
C++
#ifndef INSTALLATIONPAGE_HPP
|
|
#define INSTALLATIONPAGE_HPP
|
|
|
|
#include <QWizardPage>
|
|
|
|
#include "unshield/unshieldworker.hpp"
|
|
#include "ui_installationpage.h"
|
|
#include "inisettings.hpp"
|
|
|
|
class QThread;
|
|
|
|
namespace Wizard
|
|
{
|
|
class MainWizard;
|
|
class IniSettings;
|
|
class UnshieldWorker;
|
|
|
|
class InstallationPage : public QWizardPage, private Ui::InstallationPage
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
InstallationPage(QWidget *parent);
|
|
~InstallationPage();
|
|
|
|
int nextId() const;
|
|
virtual bool isComplete() const;
|
|
|
|
private:
|
|
MainWizard *mWizard;
|
|
bool mFinished;
|
|
|
|
QThread* mThread;
|
|
UnshieldWorker *mUnshield;
|
|
|
|
void startInstallation();
|
|
|
|
private slots:
|
|
void showFileDialog(Wizard::Component component);
|
|
|
|
void installationFinished();
|
|
void installationError(const QString &text, const QString &details);
|
|
|
|
protected:
|
|
void initializePage();
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // INSTALLATIONPAGE_HPP
|