forked from teamnwah/openmw-tes3coop
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.
37 lines
1.0 KiB
C++
37 lines
1.0 KiB
C++
11 years ago
|
#include "mainwizard.hpp"
|
||
|
#include "intropage.hpp"
|
||
|
#include "methodselectionpage.hpp"
|
||
|
#include "existinginstallationpage.hpp"
|
||
|
#include "installationtargetpage.hpp"
|
||
|
#include "componentselectionpage.hpp"
|
||
|
#include "installationpage.hpp"
|
||
|
#include "importpage.hpp"
|
||
|
#include "conclusionpage.hpp"
|
||
|
|
||
|
Wizard::MainWizard::MainWizard(QWidget *parent) :
|
||
|
QWizard(parent)
|
||
|
{
|
||
|
|
||
|
#ifndef Q_OS_MAC
|
||
|
setWizardStyle(QWizard::ModernStyle);
|
||
|
#else
|
||
|
setWizardStyle(QWizard::ClassicStyle);
|
||
|
#endif
|
||
|
|
||
|
setWindowTitle(tr("OpenMW Wizard"));
|
||
|
setupPages();
|
||
|
}
|
||
|
|
||
|
void Wizard::MainWizard::setupPages()
|
||
|
{
|
||
|
setPage(Page_Intro, new IntroPage);
|
||
|
setPage(Page_MethodSelection, new MethodSelectionPage);
|
||
|
setPage(Page_ExistingInstallation, new ExistingInstallationPage);
|
||
|
setPage(Page_InstallationTarget, new InstallationTargetPage);
|
||
|
setPage(Page_ComponentSelection, new ComponentSelectionPage);
|
||
|
setPage(Page_Installation, new InstallationPage);
|
||
|
setPage(Page_Import, new ImportPage);
|
||
|
setPage(Page_Conclusion, new ConclusionPage);
|
||
|
setStartId(Page_Intro);
|
||
|
}
|