diff options
author | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2012-04-13 16:37:48 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@nokia.com> | 2012-04-13 18:05:57 +0200 |
commit | 19a06e3f2df4a15a88125fdd84ed5ea1ccda9de3 (patch) | |
tree | f03e88ae7ce74684ccfb531cf86f5a8f5877a028 /src/libs/utils/projectintropage.h | |
parent | cd25c28f46702a6cf3f3483440731d4178cf4995 (diff) | |
download | qt-creator-19a06e3f2df4a15a88125fdd84ed5ea1ccda9de3.tar.gz |
Wizards: allow more flexibility when adding a project as a subproject
This patch allows a wizard to choose a "parent" project
already in the intro page.
Change-Id: Id7b010ba43f3a6aa723e5ced865a4afe96d6e40a
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
Diffstat (limited to 'src/libs/utils/projectintropage.h')
-rw-r--r-- | src/libs/utils/projectintropage.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libs/utils/projectintropage.h b/src/libs/utils/projectintropage.h index 88163d5ea5..fbe6e86f25 100644 --- a/src/libs/utils/projectintropage.h +++ b/src/libs/utils/projectintropage.h @@ -48,6 +48,8 @@ class QTCREATOR_UTILS_EXPORT ProjectIntroPage : public QWizardPage Q_PROPERTY(QString path READ path WRITE setPath DESIGNABLE true) Q_PROPERTY(QString projectName READ projectName WRITE setProjectName DESIGNABLE true) Q_PROPERTY(bool useAsDefaultPath READ useAsDefaultPath WRITE setUseAsDefaultPath DESIGNABLE true) + Q_PROPERTY(bool forceSubProject READ forceSubProject WRITE setForceSubProject DESIGNABLE true) + public: explicit ProjectIntroPage(QWidget *parent = 0); virtual ~ProjectIntroPage(); @@ -65,6 +67,12 @@ public: // Validate a project directory name entry field static bool validateProjectDirectory(const QString &name, QString *errorMessage); + bool forceSubProject() const; + void setForceSubProject(bool force); + void setProjectList(const QStringList &projectList); + void setProjectDirectories(const QStringList &directoryList); + int projectIndex() const; + signals: void activated(); |