aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/projectintropage.ui
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-11-26 18:03:16 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-11-26 18:03:26 +0100
commit3e34a9ae7add389126f0307aac9f38c4a5217ac3 (patch)
treeed11ee78b9b49e134f2c57dc879ea3493c101d0c /src/libs/utils/projectintropage.ui
parentf27c5cc61716aa25d9d7a8b24b582c771cc17e7b (diff)
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>
Diffstat (limited to 'src/libs/utils/projectintropage.ui')
-rw-r--r--src/libs/utils/projectintropage.ui120
1 files changed, 59 insertions, 61 deletions
diff --git a/src/libs/utils/projectintropage.ui b/src/libs/utils/projectintropage.ui
index a37da218c3e..b1efee76c81 100644
--- a/src/libs/utils/projectintropage.ui
+++ b/src/libs/utils/projectintropage.ui
@@ -2,14 +2,6 @@
<ui version="4.0">
<class>Utils::ProjectIntroPage</class>
<widget class="QWizardPage" name="Utils::ProjectIntroPage">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>208</width>
- <height>143</height>
- </rect>
- </property>
<property name="title">
<string>Introduction and project location</string>
</property>
@@ -41,53 +33,59 @@
</spacer>
</item>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QFrame" name="frame">
- <property name="frameShape">
- <enum>QFrame::StyledPanel</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <layout class="QFormLayout" name="formLayout">
- <item row="0" column="0">
- <widget class="QLabel" name="nameLabel">
- <property name="text">
- <string>Name:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="Utils::ProjectNameValidatingLineEdit" name="nameLineEdit"/>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="pathLabel">
- <property name="text">
- <string>Create in:</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="Utils::PathChooser" name="pathChooser" native="true"/>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
+ <widget class="QFrame" name="frame">
+ <property name="frameShape">
+ <enum>QFrame::StyledPanel</enum>
+ </property>
+ <property name="frameShadow">
+ <enum>QFrame::Raised</enum>
+ </property>
+ <layout class="QFormLayout" name="formLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="nameLabel">
+ <property name="text">
+ <string>Name:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="Utils::ProjectNameValidatingLineEdit" name="nameLineEdit"/>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="pathLabel">
+ <property name="text">
+ <string>Create in:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="Utils::PathChooser" name="pathChooser"/>
+ </item>
+ <item row="1" column="0">
+ <spacer name="directorySeparatorLabel">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Fixed</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>0</width>
+ <height>12</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="3" column="0" colspan="2">
+ <widget class="QCheckBox" name="projectsDirectoryCheckBox">
+ <property name="text">
+ <string>Use as default project location</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
</item>
<item>
<widget class="QLabel" name="stateLabel">
@@ -100,16 +98,16 @@
</widget>
<customwidgets>
<customwidget>
+ <class>Utils::ProjectNameValidatingLineEdit</class>
+ <extends>QLineEdit</extends>
+ <header location="global">utils/projectnamevalidatinglineedit.h</header>
+ </customwidget>
+ <customwidget>
<class>Utils::PathChooser</class>
<extends>QWidget</extends>
- <header>pathchooser.h</header>
+ <header location="global">utils/pathchooser.h</header>
<container>1</container>
</customwidget>
- <customwidget>
- <class>Utils::ProjectNameValidatingLineEdit</class>
- <extends>QLineEdit</extends>
- <header>projectnamevalidatinglineedit.h</header>
- </customwidget>
</customwidgets>
<resources/>
<connections/>