forked from qt-creator/qt-creator
Two descriptions in the file new dialog were swapped
No strings translations were harmed in this commit. No kittens either. Reviewed-by: Alessandro Portale
This commit is contained in:
@@ -129,16 +129,16 @@ 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 along with a matching class (C++ header and source file) "
|
wizardParameters.setDescription(tr("Creates a Qt Designer form that you can add to a Qt C++ project. "
|
||||||
"for implementation purposes. You can add the form and class to an existing Qt C++ Project."));
|
"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));
|
||||||
|
|
||||||
#ifdef CPP_ENABLED
|
#ifdef CPP_ENABLED
|
||||||
wizardParameters.setKind(Core::IWizard::ClassWizard);
|
wizardParameters.setKind(Core::IWizard::ClassWizard);
|
||||||
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 that you can add to a Qt C++ project. "
|
wizardParameters.setDescription(tr("Creates a Qt Designer form along with a matching class (C++ header and source file) "
|
||||||
"This is useful if you already have an existing class for the UI business logic."));
|
"for implementation purposes. You can add the form and class to an existing Qt C++ Project."));
|
||||||
addAutoReleasedObject(new FormClassWizard(wizardParameters, this));
|
addAutoReleasedObject(new FormClassWizard(wizardParameters, this));
|
||||||
addAutoReleasedObject(new CppSettingsPage);
|
addAutoReleasedObject(new CppSettingsPage);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user