summaryrefslogtreecommitdiff
path: root/src/libs/utils/newclasswidget.ui
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-11-02 15:46:51 +0100
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2009-11-02 15:46:51 +0100
commite917392c27a4eacef1aee0b482cec7c6ca17fd5d (patch)
treef4e2efc080999711c09369992ea17277cf1ada41 /src/libs/utils/newclasswidget.ui
parente5b4b65d56d101d3558e2e80cfe1287e486e829e (diff)
downloadqt-creator-e917392c27a4eacef1aee0b482cec7c6ca17fd5d.tar.gz
Class wizard: Replace "inherits QObject" by type information combo.
Remove the setting from where it does not make sense (library/form class wizard, etc). Reviewed-by: con <qtc-committer@nokia.com>
Diffstat (limited to 'src/libs/utils/newclasswidget.ui')
-rw-r--r--src/libs/utils/newclasswidget.ui75
1 files changed, 47 insertions, 28 deletions
diff --git a/src/libs/utils/newclasswidget.ui b/src/libs/utils/newclasswidget.ui
index bb2e465cc0..2e725644bc 100644
--- a/src/libs/utils/newclasswidget.ui
+++ b/src/libs/utils/newclasswidget.ui
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>213</width>
- <height>190</height>
+ <width>418</width>
+ <height>291</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
@@ -44,6 +44,32 @@
</property>
</widget>
</item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="classTypeLabel">
+ <property name="text">
+ <string>Type information:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QComboBox" name="classTypeComboBox">
+ <item>
+ <property name="text">
+ <string>None</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Inherits QObject</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Inherits QWidget</string>
+ </property>
+ </item>
+ </widget>
+ </item>
<item row="3" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
@@ -54,8 +80,8 @@
</property>
<property name="sizeHint" stdset="0">
<size>
- <width>20</width>
- <height>20</height>
+ <width>0</width>
+ <height>0</height>
</size>
</property>
</spacer>
@@ -70,8 +96,8 @@
</property>
<property name="sizeHint" stdset="0">
<size>
- <width>20</width>
- <height>20</height>
+ <width>0</width>
+ <height>0</height>
</size>
</property>
</spacer>
@@ -103,6 +129,13 @@
</property>
</widget>
</item>
+ <item row="6" column="1">
+ <widget class="QCheckBox" name="generateFormCheckBox">
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
<item row="7" column="0">
<widget class="QLabel" name="formLabel">
<property name="text">
@@ -121,41 +154,27 @@
</widget>
</item>
<item row="8" column="1">
- <widget class="Utils::PathChooser" name="pathChooser" native="true"/>
- </item>
- <item row="6" column="1">
- <widget class="QCheckBox" name="generateFormCheckBox">
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QCheckBox" name="qobjectCheckBox">
- <property name="text">
- <string>Inherits QObject</string>
- </property>
- </widget>
+ <widget class="Utils::PathChooser" name="pathChooser"/>
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
- <class>Utils::PathChooser</class>
- <extends>QWidget</extends>
- <header location="global">pathchooser.h</header>
- <container>1</container>
- </customwidget>
- <customwidget>
<class>Utils::ClassNameValidatingLineEdit</class>
<extends>QLineEdit</extends>
- <header>classnamevalidatinglineedit.h</header>
+ <header location="global">utils/classnamevalidatinglineedit.h</header>
</customwidget>
<customwidget>
<class>Utils::FileNameValidatingLineEdit</class>
<extends>QLineEdit</extends>
<header location="global">utils/filenamevalidatinglineedit.h</header>
</customwidget>
+ <customwidget>
+ <class>Utils::PathChooser</class>
+ <extends>QWidget</extends>
+ <header location="global">utils/pathchooser.h</header>
+ <container>1</container>
+ </customwidget>
</customwidgets>
<resources/>
<connections/>