forked from qt-creator/qt-creator
QmlProjectMamanger: ui fixes for QmlApplicationWizard
Adding Proper title and description. Setting project name as uniqueProjectName() (untitled) Task-number: QTCREATORBUG-8679 Task-number: QTCREATORBUG-8680 Change-Id: I29227dc45cc3584f5a57642d936cac5a458535af Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
This commit is contained in:
@@ -68,6 +68,8 @@ QmlApplicationWizardDialog::QmlApplicationWizardDialog(QmlApp *qmlApp, QWidget *
|
|||||||
: BaseProjectWizardDialog(parent, parameters),
|
: BaseProjectWizardDialog(parent, parameters),
|
||||||
m_qmlApp(qmlApp)
|
m_qmlApp(qmlApp)
|
||||||
{
|
{
|
||||||
|
setWindowTitle(tr("New Qt Quick UI Project"));
|
||||||
|
setIntroDescription(tr("This wizard generates a Qt Quick UI project."));
|
||||||
}
|
}
|
||||||
|
|
||||||
QmlApp *QmlApplicationWizardDialog::qmlApp() const
|
QmlApp *QmlApplicationWizardDialog::qmlApp() const
|
||||||
@@ -136,6 +138,8 @@ QWizard *QmlApplicationWizard::createWizardDialog(QWidget *parent,
|
|||||||
|
|
||||||
wizardDialog->setPath(wizardDialogParameters.defaultPath());
|
wizardDialog->setPath(wizardDialogParameters.defaultPath());
|
||||||
|
|
||||||
|
wizardDialog->setProjectName(QmlApplicationWizardDialog::uniqueProjectName(wizardDialogParameters.defaultPath()));
|
||||||
|
|
||||||
foreach (QWizardPage *page, wizardDialogParameters.extensionPages())
|
foreach (QWizardPage *page, wizardDialogParameters.extensionPages())
|
||||||
applyExtensionPageShortTitle(wizardDialog, wizardDialog->addPage(page));
|
applyExtensionPageShortTitle(wizardDialog, wizardDialog->addPage(page));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user