forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user