Skip to content

Commit 73d9c4a

Browse files
committedNov 23, 2016
Some more adjustments for the attribute type dialog
1 parent f450725 commit 73d9c4a

File tree

1 file changed

+88
-87
lines changed

1 file changed

+88
-87
lines changed
 

‎src/ui/qgsattributetypeedit.ui

Lines changed: 88 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -14,90 +14,6 @@
1414
<string>Edit Widget Properties</string>
1515
</property>
1616
<layout class="QGridLayout" name="gridLayout">
17-
<item row="7" column="1">
18-
<widget class="QDialogButtonBox" name="buttonBox">
19-
<property name="orientation">
20-
<enum>Qt::Horizontal</enum>
21-
</property>
22-
<property name="standardButtons">
23-
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
24-
</property>
25-
</widget>
26-
</item>
27-
<item row="6" column="1">
28-
<widget class="QStackedWidget" name="stackedWidget"/>
29-
</item>
30-
<item row="5" column="0" rowspan="3">
31-
<widget class="QListWidget" name="selectionListWidget"/>
32-
</item>
33-
<item row="4" column="0">
34-
<widget class="QLabel" name="label_5">
35-
<property name="text">
36-
<string>Widget Type</string>
37-
</property>
38-
</widget>
39-
</item>
40-
<item row="0" column="0">
41-
<layout class="QGridLayout" name="gridLayout_4">
42-
<item row="0" column="0">
43-
<widget class="QCheckBox" name="isFieldEditableCheckBox">
44-
<property name="text">
45-
<string>Editable</string>
46-
</property>
47-
<property name="checked">
48-
<bool>true</bool>
49-
</property>
50-
</widget>
51-
</item>
52-
<item row="1" column="0">
53-
<widget class="QCheckBox" name="labelOnTopCheckBox">
54-
<property name="text">
55-
<string>Label on top</string>
56-
</property>
57-
<property name="checked">
58-
<bool>false</bool>
59-
</property>
60-
</widget>
61-
</item>
62-
<item row="2" column="0">
63-
<widget class="QGroupBox" name="groupBox_2">
64-
<property name="title">
65-
<string>Defaults</string>
66-
</property>
67-
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1">
68-
<item row="1" column="0">
69-
<widget class="QLabel" name="label_3">
70-
<property name="text">
71-
<string>Default value</string>
72-
</property>
73-
</widget>
74-
</item>
75-
<item row="2" column="0">
76-
<widget class="QLabel" name="label_4">
77-
<property name="text">
78-
<string>Preview</string>
79-
</property>
80-
</widget>
81-
</item>
82-
<item row="1" column="1">
83-
<widget class="QgsExpressionLineEdit" name="mExpressionWidget" native="true">
84-
<property name="focusPolicy">
85-
<enum>Qt::StrongFocus</enum>
86-
</property>
87-
</widget>
88-
</item>
89-
<item row="2" column="1">
90-
<widget class="QLabel" name="mDefaultPreviewLabel">
91-
<property name="text">
92-
<string/>
93-
</property>
94-
</widget>
95-
</item>
96-
</layout>
97-
</widget>
98-
</item>
99-
</layout>
100-
</item>
10117
<item row="0" column="1">
10218
<widget class="QgsCollapsibleGroupBox" name="groupBox">
10319
<property name="title">
@@ -132,7 +48,7 @@
13248
</widget>
13349
</item>
13450
<item row="2" column="1">
135-
<widget class="QgsFieldExpressionWidget" name="constraintExpressionWidget">
51+
<widget class="QgsFieldExpressionWidget" name="constraintExpressionWidget" native="true">
13652
<property name="focusPolicy">
13753
<enum>Qt::StrongFocus</enum>
13854
</property>
@@ -172,7 +88,7 @@
17288
</property>
17389
</widget>
17490
</item>
175-
<item row="4" column="1">
91+
<item row="4" column="0" colspan="2">
17692
<widget class="QCheckBox" name="mCheckBoxEnforceExpression">
17793
<property name="toolTip">
17894
<string>Enforcing the expression constraint prevents committing features which do not meet the constraint. Unenforced constraints display a warning to users, but do not prevent committing the feature.</string>
@@ -185,6 +101,92 @@
185101
</layout>
186102
</widget>
187103
</item>
104+
<item row="5" column="1">
105+
<widget class="QDialogButtonBox" name="buttonBox">
106+
<property name="orientation">
107+
<enum>Qt::Horizontal</enum>
108+
</property>
109+
<property name="standardButtons">
110+
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
111+
</property>
112+
</widget>
113+
</item>
114+
<item row="0" column="0">
115+
<layout class="QGridLayout" name="gridLayout_4">
116+
<item row="0" column="0">
117+
<widget class="QCheckBox" name="isFieldEditableCheckBox">
118+
<property name="text">
119+
<string>Editable</string>
120+
</property>
121+
<property name="checked">
122+
<bool>true</bool>
123+
</property>
124+
</widget>
125+
</item>
126+
<item row="1" column="0">
127+
<widget class="QCheckBox" name="labelOnTopCheckBox">
128+
<property name="text">
129+
<string>Label on top</string>
130+
</property>
131+
<property name="checked">
132+
<bool>false</bool>
133+
</property>
134+
</widget>
135+
</item>
136+
<item row="2" column="0">
137+
<widget class="QGroupBox" name="groupBox_2">
138+
<property name="title">
139+
<string>Defaults</string>
140+
</property>
141+
<layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1">
142+
<item row="1" column="0">
143+
<widget class="QLabel" name="label_3">
144+
<property name="text">
145+
<string>Default value</string>
146+
</property>
147+
</widget>
148+
</item>
149+
<item row="2" column="0">
150+
<widget class="QLabel" name="label_4">
151+
<property name="text">
152+
<string>Preview</string>
153+
</property>
154+
</widget>
155+
</item>
156+
<item row="1" column="1">
157+
<widget class="QgsExpressionLineEdit" name="mExpressionWidget" native="true">
158+
<property name="focusPolicy">
159+
<enum>Qt::StrongFocus</enum>
160+
</property>
161+
</widget>
162+
</item>
163+
<item row="2" column="1">
164+
<widget class="QLabel" name="mDefaultPreviewLabel">
165+
<property name="text">
166+
<string/>
167+
</property>
168+
</widget>
169+
</item>
170+
</layout>
171+
</widget>
172+
</item>
173+
</layout>
174+
</item>
175+
<item row="4" column="0" colspan="2">
176+
<widget class="QGroupBox" name="groupBox_3">
177+
<property name="title">
178+
<string>Widget Type</string>
179+
</property>
180+
<layout class="QHBoxLayout" name="horizontalLayout">
181+
<item>
182+
<widget class="QListWidget" name="selectionListWidget"/>
183+
</item>
184+
<item>
185+
<widget class="QStackedWidget" name="stackedWidget"/>
186+
</item>
187+
</layout>
188+
</widget>
189+
</item>
188190
</layout>
189191
</widget>
190192
<customwidgets>
@@ -219,7 +221,6 @@
219221
<tabstop>constraintExpressionWidget</tabstop>
220222
<tabstop>leConstraintExpressionDescription</tabstop>
221223
<tabstop>mCheckBoxEnforceExpression</tabstop>
222-
<tabstop>selectionListWidget</tabstop>
223224
<tabstop>buttonBox</tabstop>
224225
</tabstops>
225226
<resources/>

0 commit comments

Comments
 (0)
Please sign in to comment.