Fix File/New in the deployment folders.

That is tell the user that those files need not be added to any project,
and show "<Implicitly Add>" for them on the last wizard page.
This fixes Add/New for the QML/OTHER_FILES folder structure, except for
the virtual folder itself.

Reviewed-By: Jarek Kobus <jaroslaw.kobus@nokia.com>
This commit is contained in:
dt
2010-08-24 17:17:11 +02:00
parent 6bc346443a
commit e5f8a31b9e
12 changed files with 127 additions and 25 deletions

View File

@@ -74,6 +74,17 @@ void ProjectWizardPage::setCurrentProjectIndex(int idx)
m_ui->projectComboBox->setCurrentIndex(idx);
}
void ProjectWizardPage::setNoneLabel(const QString &label)
{
m_ui->projectComboBox->setItemText(0, label);
}
void ProjectWizardPage::setAdditionalInfo(const QString &text)
{
m_ui->additionalInfo->setText(text);
m_ui->additionalInfo->setVisible(!text.isEmpty());
}
void ProjectWizardPage::setVersionControls(const QStringList &vcs)
{
m_ui->addToVersionControlComboBox->clear();