Skip to content

Commit 65ac4fe

Browse files
committedOct 14, 2014
Field calculator: Move virtual field to the top.
Followup 0c4a501
1 parent 0c4a501 commit 65ac4fe

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed
 

‎src/ui/qgsfieldcalculatorbase.ui

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -161,24 +161,14 @@
161161
<property name="verticalSpacing">
162162
<number>3</number>
163163
</property>
164-
<item row="3" column="0">
165-
<widget class="QLabel" name="mOutputFieldTypeLabel">
166-
<property name="text">
167-
<string>Output field type</string>
168-
</property>
169-
<property name="buddy">
170-
<cstring>mOutputFieldTypeComboBox</cstring>
171-
</property>
172-
</widget>
173-
</item>
174-
<item row="4" column="3">
164+
<item row="5" column="3">
175165
<widget class="QSpinBox" name="mOutputFieldPrecisionSpinBox">
176166
<property name="value">
177167
<number>2</number>
178168
</property>
179169
</widget>
180170
</item>
181-
<item row="2" column="0">
171+
<item row="3" column="0">
182172
<widget class="QLabel" name="mFieldNameLabel">
183173
<property name="text">
184174
<string>Output field name</string>
@@ -188,17 +178,20 @@
188178
</property>
189179
</widget>
190180
</item>
191-
<item row="4" column="2">
192-
<widget class="QLabel" name="mOutputFieldPrecisionLabel">
181+
<item row="5" column="0">
182+
<widget class="QLabel" name="mOutputFieldWidthLabel">
193183
<property name="text">
194-
<string>Precision</string>
184+
<string>Output field width</string>
195185
</property>
196186
<property name="buddy">
197-
<cstring>mOutputFieldPrecisionSpinBox</cstring>
187+
<cstring>mOutputFieldWidthSpinBox</cstring>
198188
</property>
199189
</widget>
200190
</item>
201-
<item row="4" column="1">
191+
<item row="4" column="1" colspan="3">
192+
<widget class="QComboBox" name="mOutputFieldTypeComboBox"/>
193+
</item>
194+
<item row="5" column="1">
202195
<widget class="QSpinBox" name="mOutputFieldWidthSpinBox">
203196
<property name="toolTip">
204197
<string>Width of complete output. For example 123,456 means 6 as field width.</string>
@@ -211,26 +204,33 @@
211204
</property>
212205
</widget>
213206
</item>
207+
<item row="3" column="1" colspan="3">
208+
<widget class="QLineEdit" name="mOutputFieldNameLineEdit"/>
209+
</item>
214210
<item row="4" column="0">
215-
<widget class="QLabel" name="mOutputFieldWidthLabel">
211+
<widget class="QLabel" name="mOutputFieldTypeLabel">
216212
<property name="text">
217-
<string>Output field width</string>
213+
<string>Output field type</string>
218214
</property>
219215
<property name="buddy">
220-
<cstring>mOutputFieldWidthSpinBox</cstring>
216+
<cstring>mOutputFieldTypeComboBox</cstring>
221217
</property>
222218
</widget>
223219
</item>
224-
<item row="3" column="1" colspan="3">
225-
<widget class="QComboBox" name="mOutputFieldTypeComboBox"/>
226-
</item>
227-
<item row="2" column="1" colspan="3">
228-
<widget class="QLineEdit" name="mOutputFieldNameLineEdit"/>
220+
<item row="5" column="2">
221+
<widget class="QLabel" name="mOutputFieldPrecisionLabel">
222+
<property name="text">
223+
<string>Precision</string>
224+
</property>
225+
<property name="buddy">
226+
<cstring>mOutputFieldPrecisionSpinBox</cstring>
227+
</property>
228+
</widget>
229229
</item>
230-
<item row="5" column="0" colspan="4">
230+
<item row="2" column="0" colspan="4">
231231
<widget class="QCheckBox" name="mCreateVirtualFieldCheckbox">
232232
<property name="toolTip">
233-
<string>A virtual field will be recalculated every time it is used and will not be saved in the data provider but in the project.</string>
233+
<string>&lt;p&gt;A virtual field will be recalculated every time it is used. Its definition will be saved in the project file. It will not be saved in the dataprovider and therefore its values not be available in other software.&lt;/p&gt;</string>
234234
</property>
235235
<property name="text">
236236
<string>Create virtual field</string>

0 commit comments

Comments
 (0)
Please sign in to comment.