Fixes: Console wizard has finalPage set, wrong options for wizard, quieten p4 when quering the project directory

This commit is contained in:
Friedemann Kleint
2008-12-04 16:24:15 +01:00
parent 5f17e0b206
commit f59964d19c
4 changed files with 55 additions and 41 deletions

View File

@@ -35,6 +35,7 @@
#include "consoleappwizard.h"
#include "modulespage.h"
#include <QtCore/QDebug>
#include <utils/projectintropage.h>
namespace Qt4ProjectManager {
@@ -51,13 +52,11 @@ ConsoleAppWizardDialog::ConsoleAppWizardDialog(const QString &templateName,
setWindowIcon(icon);
setWindowTitle(templateName);
Core::BaseFileWizard::setupWizard(this);
setOptions(QWizard::IndependentPages | QWizard::HaveNextButtonOnLastPage);
m_introPage->setDescription(tr("This wizard generates a Qt4 console application "
"project. The application derives from QCoreApplication and does not "
"present a GUI. You can press 'Finish' at any point in time."));
m_introPage->setFinalPage(true);
addPage(m_introPage);
m_modulesPage->setModuleSelected(QLatin1String("core"));