|
12 | 12 | <property name="windowTitle" >
|
13 | 13 | <string>Field calculator</string>
|
14 | 14 | </property>
|
15 |
| - <layout class="QGridLayout" name="gridLayout_5" > |
| 15 | + <layout class="QGridLayout" > |
16 | 16 | <item row="0" column="0" >
|
17 | 17 | <widget class="QCheckBox" name="mUpdateExistingFieldCheckBox" >
|
18 | 18 | <property name="text" >
|
|
35 | 35 | <property name="title" >
|
36 | 36 | <string>New field</string>
|
37 | 37 | </property>
|
38 |
| - <layout class="QGridLayout" name="gridLayout_3" > |
| 38 | + <layout class="QGridLayout" > |
39 | 39 | <item row="0" column="0" >
|
40 | 40 | <widget class="QLabel" name="mFieldNameLabel" >
|
41 | 41 | <property name="text" >
|
42 |
| - <string>Output field name:</string> |
| 42 | + <string>Output field name</string> |
| 43 | + </property> |
| 44 | + <property name="buddy" > |
| 45 | + <cstring>mOutputFieldNameLineEdit</cstring> |
43 | 46 | </property>
|
44 | 47 | </widget>
|
45 | 48 | </item>
|
|
49 | 52 | <item row="1" column="0" >
|
50 | 53 | <widget class="QLabel" name="mOutputFieldTypeLabel" >
|
51 | 54 | <property name="text" >
|
52 |
| - <string>Output field type:</string> |
| 55 | + <string>Output field type</string> |
| 56 | + </property> |
| 57 | + <property name="buddy" > |
| 58 | + <cstring>mOutputFieldTypeComboBox</cstring> |
53 | 59 | </property>
|
54 | 60 | </widget>
|
55 | 61 | </item>
|
|
59 | 65 | <item row="2" column="0" >
|
60 | 66 | <widget class="QLabel" name="mOutputFieldWidthLabel" >
|
61 | 67 | <property name="text" >
|
62 |
| - <string>Output field width:</string> |
| 68 | + <string>Output field width</string> |
| 69 | + </property> |
| 70 | + <property name="buddy" > |
| 71 | + <cstring>mOuputFieldWidthSpinBox</cstring> |
63 | 72 | </property>
|
64 | 73 | </widget>
|
65 | 74 | </item>
|
|
69 | 78 | <item row="2" column="2" >
|
70 | 79 | <widget class="QLabel" name="mOutputFieldPrecisionLabel" >
|
71 | 80 | <property name="text" >
|
72 |
| - <string>Output field precision:</string> |
| 81 | + <string>Output field precision</string> |
| 82 | + </property> |
| 83 | + <property name="buddy" > |
| 84 | + <cstring>mOutputFieldPrecisionSpinBox</cstring> |
73 | 85 | </property>
|
74 | 86 | </widget>
|
75 | 87 | </item>
|
|
84 | 96 | <property name="title" >
|
85 | 97 | <string>Fields</string>
|
86 | 98 | </property>
|
87 |
| - <layout class="QGridLayout" name="gridLayout_4" > |
| 99 | + <layout class="QGridLayout" > |
88 | 100 | <item row="0" column="0" >
|
89 | 101 | <widget class="QListWidget" name="mFieldsListWidget" />
|
90 | 102 | </item>
|
|
96 | 108 | <property name="title" >
|
97 | 109 | <string>Values</string>
|
98 | 110 | </property>
|
99 |
| - <layout class="QGridLayout" name="gridLayout_2" > |
| 111 | + <layout class="QGridLayout" > |
100 | 112 | <item row="0" column="0" colspan="2" >
|
101 | 113 | <widget class="QListWidget" name="mValueListWidget" />
|
102 | 114 | </item>
|
|
122 | 134 | <property name="title" >
|
123 | 135 | <string>Operators</string>
|
124 | 136 | </property>
|
125 |
| - <layout class="QGridLayout" name="gridLayout" > |
| 137 | + <layout class="QGridLayout" > |
126 | 138 | <item row="0" column="0" >
|
127 | 139 | <widget class="QPushButton" name="mPlusPushButton" >
|
128 | 140 | <property name="text" >
|
|
227 | 239 | <item row="5" column="0" colspan="2" >
|
228 | 240 | <widget class="QLabel" name="mFieldCalculatorExpressionLabel" >
|
229 | 241 | <property name="text" >
|
230 |
| - <string>Field calculator expression:</string> |
| 242 | + <string>Field calculator expression</string> |
| 243 | + </property> |
| 244 | + <property name="buddy" > |
| 245 | + <cstring>mExpressionTextEdit</cstring> |
231 | 246 | </property>
|
232 | 247 | </widget>
|
233 | 248 | </item>
|
234 | 249 | <item row="6" column="0" colspan="3" >
|
235 | 250 | <widget class="QTextEdit" name="mExpressionTextEdit" />
|
236 | 251 | </item>
|
237 |
| - <item row="7" column="0" colspan="2" > |
| 252 | + <item row="7" column="0" colspan="3" > |
238 | 253 | <widget class="QDialogButtonBox" name="mButtonBox" >
|
239 | 254 | <property name="orientation" >
|
240 | 255 | <enum>Qt::Horizontal</enum>
|
241 | 256 | </property>
|
242 | 257 | <property name="standardButtons" >
|
243 |
| - <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| 258 | + <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> |
244 | 259 | </property>
|
245 | 260 | </widget>
|
246 | 261 | </item>
|
|
0 commit comments