1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00
OpenMW/apps/wizard/installationpage.cpp

28 lines
632 B
C++
Raw Normal View History

2013-12-08 20:35:57 +00:00
#include "installationpage.hpp"
#include <QDebug>
2013-12-08 21:58:29 +00:00
#include "mainwizard.hpp"
Wizard::InstallationPage::InstallationPage(MainWizard *wizard) :
QWizardPage(wizard),
mWizard(wizard)
2013-12-08 20:35:57 +00:00
{
setupUi(this);
}
2013-12-08 21:58:29 +00:00
void Wizard::InstallationPage::initializePage()
{
QString path = field("installation.path").toString();
QStringList components = field("installation.components").toStringList();
logTextEdit->append(QString("Installing to %1").arg(path));
logTextEdit->append(QString("Installing %1.").arg(components.join(", ")));
}
2013-12-08 21:58:29 +00:00
int Wizard::InstallationPage::nextId() const
{
return MainWizard::Page_Import;
}