|
66 | 66 | </rect>
|
67 | 67 | </property>
|
68 | 68 | <layout class="QGridLayout" name="gridLayout_5">
|
69 |
| - <item row="8" column="0"> |
70 |
| - <widget class="QCheckBox" name="mCheckBoxCreateSpatialIndex"> |
71 |
| - <property name="toolTip"> |
72 |
| - <string>Add an integer id field as the primary key for the new layer</string> |
73 |
| - </property> |
74 |
| - <property name="text"> |
75 |
| - <string>Create a spatial index</string> |
76 |
| - </property> |
77 |
| - </widget> |
78 |
| - </item> |
79 | 69 | <item row="0" column="0">
|
80 | 70 | <layout class="QHBoxLayout" name="horizontalLayout_6"/>
|
81 | 71 | </item>
|
82 |
| - <item row="9" column="0"> |
| 72 | + <item row="3" column="0"> |
83 | 73 | <widget class="QGroupBox" name="groupBox_3">
|
84 | 74 | <property name="title">
|
85 | 75 | <string>New field</string>
|
|
156 | 146 | </item>
|
157 | 147 | <item row="1" column="0">
|
158 | 148 | <layout class="QGridLayout" name="gridLayout_2">
|
159 |
| - <item row="4" column="2"> |
160 |
| - <widget class="QLineEdit" name="mLayerIdentifierEdit"> |
161 |
| - <property name="sizePolicy"> |
162 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
163 |
| - <horstretch>0</horstretch> |
164 |
| - <verstretch>0</verstretch> |
165 |
| - </sizepolicy> |
166 |
| - </property> |
167 |
| - <property name="toolTip"> |
168 |
| - <string><html><head/><body><p>Human-readable identifier (e.g. short name) for the layer content</p></body></html></string> |
169 |
| - </property> |
170 |
| - </widget> |
171 |
| - </item> |
172 |
| - <item row="8" column="2"> |
173 |
| - <widget class="QLineEdit" name="mGeometryColumnEdit"> |
174 |
| - <property name="sizePolicy"> |
175 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
176 |
| - <horstretch>0</horstretch> |
177 |
| - <verstretch>0</verstretch> |
178 |
| - </sizepolicy> |
179 |
| - </property> |
180 |
| - <property name="toolTip"> |
181 |
| - <string><html><head/><body><p>Name of the geometry column</p></body></html></string> |
182 |
| - </property> |
183 |
| - <property name="text"> |
184 |
| - <string>geometry</string> |
185 |
| - </property> |
186 |
| - </widget> |
187 |
| - </item> |
188 | 149 | <item row="1" column="2">
|
189 | 150 | <layout class="QHBoxLayout" name="horizontalLayout">
|
190 | 151 | <item>
|
|
212 | 173 | </item>
|
213 | 174 | </layout>
|
214 | 175 | </item>
|
215 |
| - <item row="5" column="0"> |
216 |
| - <widget class="QLabel" name="mLayerDescriptionLabel"> |
217 |
| - <property name="text"> |
218 |
| - <string>Layer description</string> |
219 |
| - </property> |
220 |
| - <property name="buddy"> |
221 |
| - <cstring>mLayerIdentifierEdit</cstring> |
222 |
| - </property> |
223 |
| - </widget> |
224 |
| - </item> |
225 |
| - <item row="7" column="0"> |
| 176 | + <item row="3" column="0"> |
226 | 177 | <widget class="QLabel" name="mGeometryTypeLabel">
|
227 | 178 | <property name="enabled">
|
228 | 179 | <bool>true</bool>
|
|
232 | 183 | </property>
|
233 | 184 | </widget>
|
234 | 185 | </item>
|
235 |
| - <item row="8" column="0"> |
236 |
| - <widget class="QLabel" name="mGeometryColumnLabel"> |
237 |
| - <property name="text"> |
238 |
| - <string>Geometry column</string> |
239 |
| - </property> |
240 |
| - <property name="buddy"> |
241 |
| - <cstring>mGeometryColumnEdit</cstring> |
242 |
| - </property> |
243 |
| - </widget> |
244 |
| - </item> |
245 |
| - <item row="3" column="2"> |
| 186 | + <item row="2" column="2"> |
246 | 187 | <widget class="QLineEdit" name="mTableNameEdit">
|
247 | 188 | <property name="sizePolicy">
|
248 | 189 | <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
255 | 196 | </property>
|
256 | 197 | </widget>
|
257 | 198 | </item>
|
258 |
| - <item row="5" column="2"> |
259 |
| - <widget class="QLineEdit" name="mLayerDescriptionEdit"> |
260 |
| - <property name="sizePolicy"> |
261 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
262 |
| - <horstretch>0</horstretch> |
263 |
| - <verstretch>0</verstretch> |
264 |
| - </sizepolicy> |
265 |
| - </property> |
266 |
| - <property name="toolTip"> |
267 |
| - <string><html><head/><body><p>Human-readable description for the layer content</p></body></html></string> |
268 |
| - </property> |
269 |
| - </widget> |
270 |
| - </item> |
271 | 199 | <item row="1" column="0">
|
272 | 200 | <widget class="QLabel" name="mDatabaseLabel">
|
273 | 201 | <property name="enabled">
|
|
278 | 206 | </property>
|
279 | 207 | </widget>
|
280 | 208 | </item>
|
281 |
| - <item row="3" column="0"> |
| 209 | + <item row="2" column="0"> |
282 | 210 | <widget class="QLabel" name="mTableNameLabel">
|
283 | 211 | <property name="text">
|
284 | 212 | <string>Table name</string>
|
|
288 | 216 | </property>
|
289 | 217 | </widget>
|
290 | 218 | </item>
|
291 |
| - <item row="4" column="0"> |
292 |
| - <widget class="QLabel" name="mLayerIdentifierLabel"> |
293 |
| - <property name="text"> |
294 |
| - <string>Layer identifier</string> |
295 |
| - </property> |
296 |
| - <property name="buddy"> |
297 |
| - <cstring>mLayerIdentifierEdit</cstring> |
298 |
| - </property> |
299 |
| - </widget> |
300 |
| - </item> |
301 |
| - <item row="7" column="2"> |
| 219 | + <item row="3" column="2"> |
302 | 220 | <widget class="QComboBox" name="mGeometryTypeBox">
|
303 | 221 | <property name="enabled">
|
304 | 222 | <bool>true</bool>
|
|
314 | 232 | </property>
|
315 | 233 | </widget>
|
316 | 234 | </item>
|
317 |
| - <item row="6" column="0"> |
318 |
| - <widget class="QLabel" name="mFeatureIdLabel"> |
319 |
| - <property name="text"> |
320 |
| - <string>Feature id column</string> |
321 |
| - </property> |
322 |
| - <property name="buddy"> |
323 |
| - <cstring>mGeometryColumnEdit</cstring> |
324 |
| - </property> |
325 |
| - </widget> |
326 |
| - </item> |
327 |
| - <item row="6" column="2"> |
328 |
| - <widget class="QLineEdit" name="mFeatureIdColumnEdit"> |
329 |
| - <property name="sizePolicy"> |
330 |
| - <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
331 |
| - <horstretch>0</horstretch> |
332 |
| - <verstretch>0</verstretch> |
333 |
| - </sizepolicy> |
334 |
| - </property> |
335 |
| - <property name="toolTip"> |
336 |
| - <string><html><head/><body><p>Name of the feature id column</p></body></html></string> |
337 |
| - </property> |
338 |
| - <property name="text"> |
339 |
| - <string>fid</string> |
340 |
| - </property> |
341 |
| - </widget> |
| 235 | + <item row="4" column="2"> |
| 236 | + <layout class="QHBoxLayout" name="horizontalZMLayout"> |
| 237 | + <item> |
| 238 | + <widget class="QCheckBox" name="mGeometryWithZCheckBox"> |
| 239 | + <property name="text"> |
| 240 | + <string>Include Z dimension</string> |
| 241 | + </property> |
| 242 | + </widget> |
| 243 | + </item> |
| 244 | + <item> |
| 245 | + <widget class="QCheckBox" name="mGeometryWithMCheckBox"> |
| 246 | + <property name="text"> |
| 247 | + <string>Include M values</string> |
| 248 | + </property> |
| 249 | + </widget> |
| 250 | + </item> |
| 251 | + </layout> |
342 | 252 | </item>
|
343 | 253 | </layout>
|
344 | 254 | </item>
|
345 |
| - <item row="10" column="0"> |
| 255 | + <item row="4" column="0"> |
346 | 256 | <widget class="QGroupBox" name="groupBox_2">
|
347 | 257 | <property name="title">
|
348 | 258 | <string>Fields list</string>
|
|
421 | 331 | </layout>
|
422 | 332 | </widget>
|
423 | 333 | </item>
|
424 |
| - <item row="6" column="0"> |
| 334 | + <item row="2" column="0"> |
425 | 335 | <widget class="QgsProjectionSelectionWidget" name="mCrsSelector">
|
426 | 336 | <property name="focusPolicy">
|
427 | 337 | <enum>Qt::StrongFocus</enum>
|
428 | 338 | </property>
|
429 | 339 | </widget>
|
430 | 340 | </item>
|
431 |
| - <item row="3" column="0"> |
432 |
| - <layout class="QHBoxLayout" name="horizontalZMLayout"> |
433 |
| - <item> |
434 |
| - <widget class="QCheckBox" name="mGeometryWithZCheckBox"> |
435 |
| - <property name="text"> |
436 |
| - <string>Geometries with Z coordinate</string> |
437 |
| - </property> |
438 |
| - </widget> |
439 |
| - </item> |
440 |
| - <item> |
441 |
| - <widget class="QCheckBox" name="mGeometryWithMCheckBox"> |
442 |
| - <property name="text"> |
443 |
| - <string>Geometries with M coordinate</string> |
444 |
| - </property> |
445 |
| - </widget> |
446 |
| - </item> |
447 |
| - </layout> |
| 341 | + <item row="5" column="0"> |
| 342 | + <widget class="QgsCollapsibleGroupBox" name="groupBox"> |
| 343 | + <property name="title"> |
| 344 | + <string>Advanced options</string> |
| 345 | + </property> |
| 346 | + <property name="collapsed" stdset="0"> |
| 347 | + <bool>true</bool> |
| 348 | + </property> |
| 349 | + <layout class="QGridLayout" name="gridLayout_5"> |
| 350 | + <item row="1" column="0"> |
| 351 | + <widget class="QLabel" name="mLayerIdentifierLabel"> |
| 352 | + <property name="text"> |
| 353 | + <string>Layer identifier</string> |
| 354 | + </property> |
| 355 | + <property name="buddy"> |
| 356 | + <cstring>mLayerIdentifierEdit</cstring> |
| 357 | + </property> |
| 358 | + </widget> |
| 359 | + </item> |
| 360 | + <item row="1" column="2"> |
| 361 | + <widget class="QLineEdit" name="mLayerIdentifierEdit"> |
| 362 | + <property name="sizePolicy"> |
| 363 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 364 | + <horstretch>0</horstretch> |
| 365 | + <verstretch>0</verstretch> |
| 366 | + </sizepolicy> |
| 367 | + </property> |
| 368 | + <property name="toolTip"> |
| 369 | + <string><html><head/><body><p>Human-readable identifier (e.g. short name) for the layer content</p></body></html></string> |
| 370 | + </property> |
| 371 | + </widget> |
| 372 | + </item> |
| 373 | + <item row="2" column="0"> |
| 374 | + <widget class="QLabel" name="mLayerDescriptionLabel"> |
| 375 | + <property name="text"> |
| 376 | + <string>Layer description</string> |
| 377 | + </property> |
| 378 | + <property name="buddy"> |
| 379 | + <cstring>mLayerIdentifierEdit</cstring> |
| 380 | + </property> |
| 381 | + </widget> |
| 382 | + </item> |
| 383 | + <item row="2" column="2"> |
| 384 | + <widget class="QLineEdit" name="mLayerDescriptionEdit"> |
| 385 | + <property name="sizePolicy"> |
| 386 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 387 | + <horstretch>0</horstretch> |
| 388 | + <verstretch>0</verstretch> |
| 389 | + </sizepolicy> |
| 390 | + </property> |
| 391 | + <property name="toolTip"> |
| 392 | + <string><html><head/><body><p>Human-readable description for the layer content</p></body></html></string> |
| 393 | + </property> |
| 394 | + </widget> |
| 395 | + </item> |
| 396 | + <item row="3" column="0"> |
| 397 | + <widget class="QLabel" name="mFeatureIdLabel"> |
| 398 | + <property name="text"> |
| 399 | + <string>Feature id column</string> |
| 400 | + </property> |
| 401 | + <property name="buddy"> |
| 402 | + <cstring>mGeometryColumnEdit</cstring> |
| 403 | + </property> |
| 404 | + </widget> |
| 405 | + </item> |
| 406 | + <item row="3" column="2"> |
| 407 | + <widget class="QLineEdit" name="mFeatureIdColumnEdit"> |
| 408 | + <property name="sizePolicy"> |
| 409 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 410 | + <horstretch>0</horstretch> |
| 411 | + <verstretch>0</verstretch> |
| 412 | + </sizepolicy> |
| 413 | + </property> |
| 414 | + <property name="toolTip"> |
| 415 | + <string><html><head/><body><p>Name of the feature id column</p></body></html></string> |
| 416 | + </property> |
| 417 | + <property name="text"> |
| 418 | + <string>fid</string> |
| 419 | + </property> |
| 420 | + </widget> |
| 421 | + </item> |
| 422 | + <item row="4" column="0"> |
| 423 | + <widget class="QLabel" name="mGeometryColumnLabel"> |
| 424 | + <property name="text"> |
| 425 | + <string>Geometry column</string> |
| 426 | + </property> |
| 427 | + <property name="buddy"> |
| 428 | + <cstring>mGeometryColumnEdit</cstring> |
| 429 | + </property> |
| 430 | + </widget> |
| 431 | + </item> |
| 432 | + <item row="4" column="2"> |
| 433 | + <widget class="QLineEdit" name="mGeometryColumnEdit"> |
| 434 | + <property name="sizePolicy"> |
| 435 | + <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 436 | + <horstretch>0</horstretch> |
| 437 | + <verstretch>0</verstretch> |
| 438 | + </sizepolicy> |
| 439 | + </property> |
| 440 | + <property name="toolTip"> |
| 441 | + <string><html><head/><body><p>Name of the geometry column</p></body></html></string> |
| 442 | + </property> |
| 443 | + <property name="text"> |
| 444 | + <string>geometry</string> |
| 445 | + </property> |
| 446 | + </widget> |
| 447 | + </item> |
| 448 | + <item row="5" column="2"> |
| 449 | + <widget class="QCheckBox" name="mCheckBoxCreateSpatialIndex"> |
| 450 | + <property name="toolTip"> |
| 451 | + <string>Add an integer id field as the primary key for the new layer</string> |
| 452 | + </property> |
| 453 | + <property name="text"> |
| 454 | + <string>Create a spatial index</string> |
| 455 | + </property> |
| 456 | + </widget> |
| 457 | + </item> |
| 458 | + </layout> |
| 459 | + </widget> |
448 | 460 | </item>
|
449 | 461 | </layout>
|
450 | 462 | </widget>
|
|
0 commit comments