openmw/apps/wizard/methodselectionpage.cpp

19 lines
403 B
C++
Raw Normal View History

2013-12-08 21:35:57 +01:00
#include "methodselectionpage.hpp"
2013-12-08 22:58:29 +01:00
#include "mainwizard.hpp"
2013-12-08 21:35:57 +01:00
Wizard::MethodSelectionPage::MethodSelectionPage(QWidget *parent) :
QWizardPage(parent)
{
setupUi(this);
}
2013-12-08 22:58:29 +01:00
int Wizard::MethodSelectionPage::nextId() const
{
if (newLocationRadioButton->isChecked()) {
return MainWizard::Page_InstallationTarget;
} else {
return MainWizard::Page_ExistingInstallation;
}
}