forked from qt-creator/qt-creator
Wizards: change terminology
Reviewed-by: dt
This commit is contained in:
@@ -126,7 +126,7 @@ void FormEditorPlugin::initializeTemplates()
|
|||||||
const QString formFileType = QLatin1String(Constants::FORM_FILE_TYPE);
|
const QString formFileType = QLatin1String(Constants::FORM_FILE_TYPE);
|
||||||
wizardParameters.setDisplayName(tr("Qt Designer Form"));
|
wizardParameters.setDisplayName(tr("Qt Designer Form"));
|
||||||
wizardParameters.setId(QLatin1String("D.Form"));
|
wizardParameters.setId(QLatin1String("D.Form"));
|
||||||
wizardParameters.setDescription(tr("Creates a Qt Designer form that you can add to a Qt C++ project. "
|
wizardParameters.setDescription(tr("Creates a Qt Designer form that you can add to a Qt Widget Project. "
|
||||||
"This is useful if you already have an existing class for the UI business logic."));
|
"This is useful if you already have an existing class for the UI business logic."));
|
||||||
addAutoReleasedObject(new FormWizard(wizardParameters, this));
|
addAutoReleasedObject(new FormWizard(wizardParameters, this));
|
||||||
|
|
||||||
@@ -135,7 +135,7 @@ void FormEditorPlugin::initializeTemplates()
|
|||||||
wizardParameters.setDisplayName(tr("Qt Designer Form Class"));
|
wizardParameters.setDisplayName(tr("Qt Designer Form Class"));
|
||||||
wizardParameters.setId(QLatin1String("C.FormClass"));
|
wizardParameters.setId(QLatin1String("C.FormClass"));
|
||||||
wizardParameters.setDescription(tr("Creates a Qt Designer form along with a matching class (C++ header and source file) "
|
wizardParameters.setDescription(tr("Creates a Qt Designer form along with a matching class (C++ header and source file) "
|
||||||
"for implementation purposes. You can add the form and class to an existing Qt C++ Project."));
|
"for implementation purposes. You can add the form and class to an existing Qt Widget Project."));
|
||||||
addAutoReleasedObject(new FormClassWizard(wizardParameters, this));
|
addAutoReleasedObject(new FormClassWizard(wizardParameters, this));
|
||||||
addAutoReleasedObject(new CppSettingsPage);
|
addAutoReleasedObject(new CppSettingsPage);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ const char * const QTVERSION_SETTINGS_PAGE_NAME = QT_TRANSLATE_NOOP("Qt4ProjectM
|
|||||||
// C++ wizard categories
|
// C++ wizard categories
|
||||||
const char * const QT_APP_WIZARD_CATEGORY = "F.QtApplicationProjects";
|
const char * const QT_APP_WIZARD_CATEGORY = "F.QtApplicationProjects";
|
||||||
const char * const QT_APP_WIZARD_TR_SCOPE = "Qt4ProjectManager";
|
const char * const QT_APP_WIZARD_TR_SCOPE = "Qt4ProjectManager";
|
||||||
const char * const QT_APP_WIZARD_TR_CATEGORY = QT_TRANSLATE_NOOP("Qt4ProjectManager", "Qt QWidget Project");
|
const char * const QT_APP_WIZARD_TR_CATEGORY = QT_TRANSLATE_NOOP("Qt4ProjectManager", "Qt Widget Project");
|
||||||
|
|
||||||
// QML wizard categories
|
// QML wizard categories
|
||||||
const char * const QML_WIZARD_CATEGORY = "C.Projects"; // (before Qt)
|
const char * const QML_WIZARD_CATEGORY = "C.Projects"; // (before Qt)
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ bool ResourceEditorPlugin::initialize(const QStringList &arguments, QString *err
|
|||||||
addObject(m_editor);
|
addObject(m_editor);
|
||||||
|
|
||||||
Core::BaseFileWizardParameters wizardParameters(Core::IWizard::FileWizard);
|
Core::BaseFileWizardParameters wizardParameters(Core::IWizard::FileWizard);
|
||||||
wizardParameters.setDescription(tr("Creates a Qt Resource file (.qrc) that you can add to a Qt C++ project."));
|
wizardParameters.setDescription(tr("Creates a Qt Resource file (.qrc) that you can add to a Qt Widget Project."));
|
||||||
wizardParameters.setDisplayName(tr("Qt Resource file"));
|
wizardParameters.setDisplayName(tr("Qt Resource file"));
|
||||||
wizardParameters.setId(QLatin1String("F.Resource"));
|
wizardParameters.setId(QLatin1String("F.Resource"));
|
||||||
wizardParameters.setCategory(QLatin1String(Core::Constants::WIZARD_CATEGORY_QT));
|
wizardParameters.setCategory(QLatin1String(Core::Constants::WIZARD_CATEGORY_QT));
|
||||||
|
|||||||
Reference in New Issue
Block a user