Project Wizards: Introduce notion of project directory, polish.

- Introduce project directory and "use" flag to file manager, use that
  in new item dialog
- Add configuration under Project settings, rename it to "General"
- Make wizards create project names as "untitled1.."
- Remove modules page from Qt application wizards (parametrizable)
- Give Utils::ProjectIntroPage a "Set as default location" toggle.
- Introduce wizard dialog base classes for handling that.
- Introduce notion of "last visited directory to file manager" for
  open and non-project wizards, route open through file manager.
- Clean out QmlAppWizard

Task-number: QTCREATORBUG-333
Rubber-stamped-by: con <qtc-committer@nokia.com>
This commit is contained in:
Friedemann Kleint
2009-11-26 18:03:16 +01:00
parent f27c5cc617
commit 3e34a9ae7a
33 changed files with 798 additions and 486 deletions

View File

@@ -31,8 +31,6 @@
#include "emptyprojectwizarddialog.h"
#include <utils/pathchooser.h>
namespace Qt4ProjectManager {
namespace Internal {
@@ -48,7 +46,8 @@ QWizard *EmptyProjectWizard::createWizardDialog(QWidget *parent,
const WizardPageList &extensionPages) const
{
EmptyProjectWizardDialog *dialog = new EmptyProjectWizardDialog(name(), icon(), extensionPages, parent);
dialog->setPath(defaultPath.isEmpty() ? Utils::PathChooser::homePath() : defaultPath);
dialog->setPath(defaultPath);
dialog->setName(EmptyProjectWizardDialog::projectName(defaultPath));
return dialog;
}