2013-12-13 14:30:49 +00:00
|
|
|
#include "languageselectionpage.hpp"
|
|
|
|
|
|
|
|
#include "mainwizard.hpp"
|
|
|
|
|
|
|
|
Wizard::LanguageSelectionPage::LanguageSelectionPage(MainWizard *wizard) :
|
|
|
|
QWizardPage(wizard),
|
|
|
|
mWizard(wizard)
|
|
|
|
{
|
|
|
|
setupUi(this);
|
2013-12-13 22:48:55 +00:00
|
|
|
|
2013-12-24 22:09:31 +00:00
|
|
|
registerField(QLatin1String("installation.language"), languageComboBox);
|
|
|
|
}
|
|
|
|
|
|
|
|
void Wizard::LanguageSelectionPage::initializePage()
|
|
|
|
{
|
|
|
|
QStringList languages;
|
|
|
|
languages << "English"
|
|
|
|
<< "French"
|
|
|
|
<< "German"
|
|
|
|
<< "Italian"
|
|
|
|
<< "Polish"
|
|
|
|
<< "Russian"
|
|
|
|
<< "Spanish";
|
|
|
|
|
|
|
|
languageComboBox->addItems(languages);
|
2013-12-13 14:30:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int Wizard::LanguageSelectionPage::nextId() const
|
|
|
|
{
|
2014-01-28 12:27:09 +00:00
|
|
|
return MainWizard::Page_ComponentSelection;
|
2013-12-13 14:30:49 +00:00
|
|
|
}
|