Commit e7ba2300 authored by Thorbjørn Lindeijer's avatar Thorbjørn Lindeijer
Browse files

Use a clearer entry for creating a generic project in the New dialog

Now it says "Import Existing Project", since this conveys more
accurately what it does with less words. Also adjusted creation of a QML
project based on an existing directory for consistency.
parent ee0c5d31
......@@ -51,11 +51,11 @@ using namespace Utils;
GenericProjectWizardDialog::GenericProjectWizardDialog(QWidget *parent)
: QWizard(parent)
{
setWindowTitle(tr("Import of Makefile-based Project"));
setWindowTitle(tr("Import Existing Project"));
// first page
m_firstPage = new FileWizardPage;
m_firstPage->setTitle(tr("Generic Project"));
m_firstPage->setTitle(tr("Project Name and Location"));
m_firstPage->setFileNameLabel(tr("Project name:"));
m_firstPage->setPathLabel(tr("Location:"));
......@@ -91,7 +91,7 @@ Core::BaseFileWizardParameters GenericProjectWizard::parameters()
{
Core::BaseFileWizardParameters parameters(ProjectWizard);
parameters.setIcon(QIcon(QLatin1String(":/wizards/images/console.png")));
parameters.setDisplayName(tr("Import of Makefile-based Project"));
parameters.setDisplayName(tr("Import Existing Project"));
parameters.setId(QLatin1String("Z.Makefile"));
parameters.setDescription(tr("Creates a generic project, supporting any build system."));
parameters.setCategory(QLatin1String(ProjectExplorer::Constants::PROJECT_WIZARD_CATEGORY));
......
......@@ -56,7 +56,7 @@ namespace Internal {
QmlProjectImportWizardDialog::QmlProjectImportWizardDialog(QWidget *parent)
: QWizard(parent)
{
setWindowTitle(tr("Import of QML Project"));
setWindowTitle(tr("Import Existing QML Directory"));
// first page
m_firstPage = new FileWizardPage;
......@@ -100,7 +100,7 @@ Core::BaseFileWizardParameters QmlProjectImportWizard::parameters()
{
Core::BaseFileWizardParameters parameters(ProjectWizard);
parameters.setIcon(QIcon(QLatin1String(":/wizards/images/console.png")));
parameters.setDisplayName(tr("Import of existing QML directory"));
parameters.setDisplayName(tr("Import Existing QML Directory"));
parameters.setId(QLatin1String("QI.QML Import"));
parameters.setDescription(tr("Creates a QML project from an existing directory of QML files."));
parameters.setCategory(QLatin1String(Constants::QML_WIZARD_CATEGORY));
......@@ -110,8 +110,8 @@ Core::BaseFileWizardParameters QmlProjectImportWizard::parameters()
}
QWizard *QmlProjectImportWizard::createWizardDialog(QWidget *parent,
const QString &defaultPath,
const WizardPageList &extensionPages) const
const QString &defaultPath,
const WizardPageList &extensionPages) const
{
QmlProjectImportWizardDialog *wizard = new QmlProjectImportWizardDialog(parent);
setupWizard(wizard);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment