1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 03:54:40 +00:00
OpenMW/apps/wizard/installationpage.hpp

42 lines
742 B
C++
Raw Normal View History

2013-12-08 20:35:57 +00:00
#ifndef INSTALLATIONPAGE_HPP
#define INSTALLATIONPAGE_HPP
#include <QWizardPage>
#include "ui_installationpage.h"
2013-12-26 17:02:34 +00:00
#include "inisettings.hpp"
2013-12-08 20:35:57 +00:00
namespace Wizard
{
class MainWizard;
2013-12-26 17:02:34 +00:00
class IniSettings;
2013-12-08 20:35:57 +00:00
class InstallationPage : public QWizardPage, private Ui::InstallationPage
{
Q_OBJECT
public:
InstallationPage(MainWizard *wizard);
2013-12-08 20:35:57 +00:00
2013-12-08 21:58:29 +00:00
int nextId() const;
2013-12-25 17:52:34 +00:00
virtual bool isComplete() const;
2013-12-08 21:58:29 +00:00
private:
MainWizard *mWizard;
2013-12-25 17:52:34 +00:00
bool mFinished;
2013-12-25 17:52:34 +00:00
void startInstallation();
private slots:
void installationFinished();
void installationError(const QString &text);
2013-12-24 22:09:31 +00:00
protected:
void initializePage();
2013-12-24 22:09:31 +00:00
2013-12-08 20:35:57 +00:00
};
}
#endif // INSTALLATIONPAGE_HPP