forked from qt-creator/qt-creator
New texts for the wizard types in the new dialog
Reviewed-by: Leena Miettinen
This commit is contained in:
@@ -129,14 +129,16 @@ void FormEditorPlugin::initializeTemplates()
|
||||
const QString formFileType = QLatin1String(Constants::FORM_FILE_TYPE);
|
||||
wizardParameters.setDisplayName(tr("Qt Designer Form"));
|
||||
wizardParameters.setId(QLatin1String("D.Form"));
|
||||
wizardParameters.setDescription(tr("Creates a Qt Designer form file (.ui)."));
|
||||
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."));
|
||||
addAutoReleasedObject(new FormWizard(wizardParameters, this));
|
||||
|
||||
#ifdef CPP_ENABLED
|
||||
wizardParameters.setKind(Core::IWizard::ClassWizard);
|
||||
wizardParameters.setDisplayName(tr("Qt Designer Form Class"));
|
||||
wizardParameters.setId(QLatin1String("C.FormClass"));
|
||||
wizardParameters.setDescription(tr("Creates a Qt Designer form file (.ui) with a matching class."));
|
||||
wizardParameters.setDescription(tr("Creates a Qt Designer form that you can add to a Qt C++ project. "
|
||||
"This is useful if you already have an existing class for the UI business logic."));
|
||||
addAutoReleasedObject(new FormClassWizard(wizardParameters, this));
|
||||
addAutoReleasedObject(new CppSettingsPage);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user