Wizards: allow more flexibility when adding a project as a subproject

This patch allows a wizard to choose a "parent" project
already in the intro page.

Change-Id: Id7b010ba43f3a6aa723e5ced865a4afe96d6e40a
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
This commit is contained in:
Thomas Hartmann
2012-04-13 16:37:48 +02:00
parent cd25c28f46
commit 19a06e3f2d
9 changed files with 171 additions and 13 deletions

View File

@@ -87,6 +87,12 @@ void ProjectWizardPage::setAddingSubProject(bool addingSubProject)
: tr("Add to &project:"));
}
void ProjectWizardPage::setProjectComoBoxVisible(bool visible)
{
m_ui->projectComboBox->setVisible(visible);
m_ui->projectLabel->setVisible(visible);
}
int ProjectWizardPage::currentProjectIndex() const
{
return m_ui->projectComboBox->currentIndex();