|
15 | 15 | </property>
|
16 | 16 | <layout class="QVBoxLayout" name="verticalLayout">
|
17 | 17 | <item>
|
18 |
| - <widget class="QGroupBox" name="groupBox_4"> |
| 18 | + <widget class="QgsCollapsibleGroupBox" name="groupBox_4"> |
19 | 19 | <property name="title">
|
20 | 20 | <string>General</string>
|
21 | 21 | </property>
|
|
75 | 75 | </widget>
|
76 | 76 | </item>
|
77 | 77 | <item>
|
78 |
| - <widget class="QGroupBox" name="groupBox_3"> |
| 78 | + <widget class="QgsCollapsibleGroupBox" name="groupBox_3"> |
79 | 79 | <property name="title">
|
80 | 80 | <string>Widget Type</string>
|
81 | 81 | </property>
|
|
180 | 180 | </widget>
|
181 | 181 | </item>
|
182 | 182 | <item>
|
183 |
| - <layout class="QGridLayout" name="gridLayout_4"> |
184 |
| - <item row="2" column="0"> |
185 |
| - <widget class="QGroupBox" name="groupBox_2"> |
186 |
| - <property name="title"> |
187 |
| - <string>Defaults</string> |
188 |
| - </property> |
189 |
| - <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1"> |
190 |
| - <item row="1" column="0"> |
191 |
| - <widget class="QLabel" name="label_3"> |
192 |
| - <property name="text"> |
193 |
| - <string>Default value</string> |
194 |
| - </property> |
195 |
| - </widget> |
196 |
| - </item> |
197 |
| - <item row="3" column="1"> |
198 |
| - <widget class="QLabel" name="mDefaultPreviewLabel"> |
199 |
| - <property name="text"> |
200 |
| - <string/> |
201 |
| - </property> |
202 |
| - </widget> |
203 |
| - </item> |
204 |
| - <item row="1" column="1"> |
205 |
| - <widget class="QgsExpressionLineEdit" name="mExpressionWidget" native="true"> |
206 |
| - <property name="focusPolicy"> |
207 |
| - <enum>Qt::StrongFocus</enum> |
208 |
| - </property> |
209 |
| - </widget> |
210 |
| - </item> |
211 |
| - <item row="3" column="0"> |
212 |
| - <widget class="QLabel" name="label_4"> |
213 |
| - <property name="text"> |
214 |
| - <string>Preview</string> |
215 |
| - </property> |
216 |
| - </widget> |
217 |
| - </item> |
218 |
| - <item row="4" column="0" colspan="2"> |
219 |
| - <widget class="QCheckBox" name="mApplyDefaultValueOnUpdateCheckBox"> |
220 |
| - <property name="toolTip"> |
221 |
| - <string><p>With this option checked, the default value will not only be used when the feature is first created, but also whenever a feature's attribute or geometry is changed.</p><p>This is often useful for a last_modified timestamp or to record the username that last modified the feature.</p></string> |
222 |
| - </property> |
223 |
| - <property name="text"> |
224 |
| - <string>Apply default value on update</string> |
225 |
| - </property> |
226 |
| - </widget> |
227 |
| - </item> |
228 |
| - </layout> |
229 |
| - </widget> |
230 |
| - </item> |
231 |
| - </layout> |
| 183 | + <widget class="QgsCollapsibleGroupBox" name="groupBox_2"> |
| 184 | + <property name="title"> |
| 185 | + <string>Defaults</string> |
| 186 | + </property> |
| 187 | + <layout class="QGridLayout" name="gridLayout_2" columnstretch="0,1"> |
| 188 | + <item row="1" column="0"> |
| 189 | + <widget class="QLabel" name="label_3"> |
| 190 | + <property name="text"> |
| 191 | + <string>Default value</string> |
| 192 | + </property> |
| 193 | + </widget> |
| 194 | + </item> |
| 195 | + <item row="3" column="1"> |
| 196 | + <widget class="QLabel" name="mDefaultPreviewLabel"> |
| 197 | + <property name="text"> |
| 198 | + <string/> |
| 199 | + </property> |
| 200 | + </widget> |
| 201 | + </item> |
| 202 | + <item row="1" column="1"> |
| 203 | + <widget class="QgsExpressionLineEdit" name="mExpressionWidget" native="true"> |
| 204 | + <property name="focusPolicy"> |
| 205 | + <enum>Qt::StrongFocus</enum> |
| 206 | + </property> |
| 207 | + </widget> |
| 208 | + </item> |
| 209 | + <item row="3" column="0"> |
| 210 | + <widget class="QLabel" name="label_4"> |
| 211 | + <property name="text"> |
| 212 | + <string>Preview</string> |
| 213 | + </property> |
| 214 | + </widget> |
| 215 | + </item> |
| 216 | + <item row="4" column="0" colspan="2"> |
| 217 | + <widget class="QCheckBox" name="mApplyDefaultValueOnUpdateCheckBox"> |
| 218 | + <property name="toolTip"> |
| 219 | + <string><p>With this option checked, the default value will not only be used when the feature is first created, but also whenever a feature's attribute or geometry is changed.</p><p>This is often useful for a last_modified timestamp or to record the username that last modified the feature.</p></string> |
| 220 | + </property> |
| 221 | + <property name="text"> |
| 222 | + <string>Apply default value on update</string> |
| 223 | + </property> |
| 224 | + </widget> |
| 225 | + </item> |
| 226 | + </layout> |
| 227 | + </widget> |
| 228 | + </item> |
| 229 | + <item> |
| 230 | + <spacer name="verticalSpacer"> |
| 231 | + <property name="orientation"> |
| 232 | + <enum>Qt::Vertical</enum> |
| 233 | + </property> |
| 234 | + <property name="sizeHint" stdset="0"> |
| 235 | + <size> |
| 236 | + <width>20</width> |
| 237 | + <height>0</height> |
| 238 | + </size> |
| 239 | + </property> |
| 240 | + </spacer> |
232 | 241 | </item>
|
233 | 242 | </layout>
|
234 | 243 | </widget>
|
|
253 | 262 | </customwidget>
|
254 | 263 | </customwidgets>
|
255 | 264 | <tabstops>
|
256 |
| - <tabstop>mExpressionWidget</tabstop> |
257 |
| - <tabstop>groupBox</tabstop> |
| 265 | + <tabstop>leAlias</tabstop> |
| 266 | + <tabstop>isFieldEditableCheckBox</tabstop> |
| 267 | + <tabstop>labelOnTopCheckBox</tabstop> |
| 268 | + <tabstop>mWidgetTypeComboBox</tabstop> |
258 | 269 | <tabstop>notNullCheckBox</tabstop>
|
259 | 270 | <tabstop>mCheckBoxEnforceNotNull</tabstop>
|
260 | 271 | <tabstop>mUniqueCheckBox</tabstop>
|
261 | 272 | <tabstop>mCheckBoxEnforceUnique</tabstop>
|
262 | 273 | <tabstop>constraintExpressionWidget</tabstop>
|
263 | 274 | <tabstop>leConstraintExpressionDescription</tabstop>
|
264 | 275 | <tabstop>mCheckBoxEnforceExpression</tabstop>
|
| 276 | + <tabstop>mExpressionWidget</tabstop> |
| 277 | + <tabstop>mApplyDefaultValueOnUpdateCheckBox</tabstop> |
265 | 278 | </tabstops>
|
266 | 279 | <resources/>
|
267 | 280 | <connections/>
|
|
0 commit comments