2013-12-08 20:35:57 +00:00
|
|
|
#include "installationpage.hpp"
|
|
|
|
|
2013-12-13 12:38:49 +00:00
|
|
|
#include <QDebug>
|
|
|
|
|
2013-12-08 21:58:29 +00:00
|
|
|
#include "mainwizard.hpp"
|
|
|
|
|
2013-12-13 12:38:49 +00:00
|
|
|
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
|
|
|
|
2013-12-13 12:38:49 +00:00
|
|
|
void Wizard::InstallationPage::initializePage()
|
|
|
|
{
|
2013-12-15 12:12:48 +00:00
|
|
|
QString path = field("installation.path").toString();
|
|
|
|
|
2013-12-13 12:38:49 +00:00
|
|
|
qDebug() << "installing to: " << field("installation.path").toString();
|
|
|
|
logTextEdit->setText(QString("Installing to %1").arg(field("installation.path").toString()));
|
|
|
|
}
|
|
|
|
|
2013-12-08 21:58:29 +00:00
|
|
|
int Wizard::InstallationPage::nextId() const
|
|
|
|
{
|
|
|
|
return MainWizard::Page_Import;
|
|
|
|
}
|