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