14
14
<string >SQL Window</string >
15
15
</property >
16
16
<layout class =" QGridLayout" name =" gridLayout_2" >
17
+ <item row =" 1" column =" 3" >
18
+ <widget class =" QPushButton" name =" getColumnsBtn" >
19
+ <property name =" text" >
20
+ <string >Retrieve
21
+ columns</string >
22
+ </property >
23
+ </widget >
24
+ </item >
25
+ <item row =" 3" column =" 3" >
26
+ <widget class =" QPushButton" name =" updateLayerBtn" >
27
+ <property name =" text" >
28
+ <string >Update</string >
29
+ </property >
30
+ </widget >
31
+ </item >
32
+ <item row =" 2" column =" 3" >
33
+ <widget class =" QPushButton" name =" btnSetFilter" >
34
+ <property name =" text" >
35
+ <string >Set filter</string >
36
+ </property >
37
+ <property name =" autoDefault" >
38
+ <bool >false</bool >
39
+ </property >
40
+ </widget >
41
+ </item >
42
+ <item row =" 3" column =" 2" >
43
+ <spacer name =" horizontalSpacer_2" >
44
+ <property name =" orientation" >
45
+ <enum >Qt::Horizontal</enum >
46
+ </property >
47
+ <property name =" sizeHint" stdset =" 0" >
48
+ <size >
49
+ <width >40</width >
50
+ <height >20</height >
51
+ </size >
52
+ </property >
53
+ </spacer >
54
+ </item >
17
55
<item row =" 3" column =" 0" >
18
- <layout class =" QHBoxLayout" name =" horizontalLayout_2" >
19
- <item >
20
- <widget class =" QCheckBox" name =" avoidSelectById" >
21
- <property name =" toolTip" >
22
- <string >< html>< head/>< body>< p> Avoid selecting feature by id. Sometimes - especially when running expensive queries/views - fetching the data sequentially instead of fetching features by id can be much quicker.< /p>< /body>< /html> </string >
23
- </property >
24
- <property name =" text" >
25
- <string >Avoid selecting by feature id</string >
26
- </property >
27
- </widget >
28
- </item >
29
- <item >
30
- <spacer name =" horizontalSpacer_2" >
31
- <property name =" orientation" >
32
- <enum >Qt::Horizontal</enum >
33
- </property >
34
- <property name =" sizeHint" stdset =" 0" >
35
- <size >
36
- <width >40</width >
37
- <height >20</height >
38
- </size >
39
- </property >
40
- </spacer >
41
- </item >
42
- <item >
43
- <widget class =" QPushButton" name =" updateLayerBtn" >
44
- <property name =" text" >
45
- <string >Update</string >
46
- </property >
47
- </widget >
48
- </item >
49
- </layout >
56
+ <widget class =" QCheckBox" name =" avoidSelectById" >
57
+ <property name =" toolTip" >
58
+ <string >< html>< head/>< body>< p> Avoid selecting feature by id. Sometimes - especially when running expensive queries/views - fetching the data sequentially instead of fetching features by id can be much quicker.< /p>< /body>< /html> </string >
59
+ </property >
60
+ <property name =" text" >
61
+ <string >Avoid selecting by feature id</string >
62
+ </property >
63
+ </widget >
50
64
</item >
51
- <item row =" 0" column =" 0" >
65
+ <item row =" 0" column =" 0" colspan = " 4 " >
52
66
<widget class =" QSplitter" name =" splitter" >
53
67
<property name =" orientation" >
54
68
<enum >Qt::Vertical</enum >
198
212
</widget >
199
213
</widget >
200
214
</item >
201
- <item row =" 1" column =" 0" >
202
- <layout class =" QHBoxLayout" name =" horizontalLayout_6" >
203
- <item >
204
- <widget class =" QCheckBox" name =" uniqueColumnCheck" >
205
- <property name =" text" >
206
- <string >Column(s) with
207
- unique values</string >
208
- </property >
209
- </widget >
210
- </item >
211
- <item >
212
- <widget class =" QComboBox" name =" uniqueCombo" >
213
- <property name =" enabled" >
214
- <bool >false</bool >
215
- </property >
216
- <property name =" sizePolicy" >
217
- <sizepolicy hsizetype =" Expanding" vsizetype =" Fixed" >
218
- <horstretch >0</horstretch >
219
- <verstretch >0</verstretch >
220
- </sizepolicy >
221
- </property >
222
- <property name =" editable" >
223
- <bool >true</bool >
224
- </property >
225
- <property name =" insertPolicy" >
226
- <enum >QComboBox::NoInsert</enum >
227
- </property >
228
- </widget >
229
- </item >
230
- <item >
231
- <widget class =" QCheckBox" name =" hasGeometryCol" >
232
- <property name =" text" >
233
- <string >Geometry column</string >
234
- </property >
235
- <property name =" checked" >
236
- <bool >true</bool >
237
- </property >
238
- <property name =" tristate" >
239
- <bool >false</bool >
240
- </property >
241
- </widget >
242
- </item >
243
- <item >
244
- <widget class =" QComboBox" name =" geomCombo" >
245
- <property name =" sizePolicy" >
246
- <sizepolicy hsizetype =" Expanding" vsizetype =" Fixed" >
247
- <horstretch >0</horstretch >
248
- <verstretch >0</verstretch >
249
- </sizepolicy >
250
- </property >
251
- <property name =" editable" >
252
- <bool >true</bool >
253
- </property >
254
- <property name =" insertPolicy" >
255
- <enum >QComboBox::NoInsert</enum >
256
- </property >
257
- </widget >
258
- </item >
259
- <item >
260
- <spacer name =" horizontalSpacer_5" >
261
- <property name =" orientation" >
262
- <enum >Qt::Horizontal</enum >
263
- </property >
264
- <property name =" sizeType" >
265
- <enum >QSizePolicy::Fixed</enum >
266
- </property >
267
- <property name =" sizeHint" stdset =" 0" >
268
- <size >
269
- <width >40</width >
270
- <height >20</height >
271
- </size >
272
- </property >
273
- </spacer >
274
- </item >
275
- <item >
276
- <widget class =" QPushButton" name =" getColumnsBtn" >
277
- <property name =" text" >
278
- <string >Retrieve
279
- columns</string >
280
- </property >
281
- </widget >
282
- </item >
283
- </layout >
284
- </item >
285
- <item row =" 2" column =" 0" >
215
+ <item row =" 2" column =" 0" colspan =" 3" >
286
216
<layout class =" QHBoxLayout" name =" horizontalLayout_7" >
287
217
<item >
288
218
<widget class =" QLabel" name =" label_5" >
@@ -307,7 +237,16 @@ columns</string>
307
237
<item >
308
238
<widget class =" QWidget" name =" layerTypeWidget" native =" true" >
309
239
<layout class =" QHBoxLayout" name =" horizontalLayout_3" >
310
- <property name =" margin" >
240
+ <property name =" leftMargin" >
241
+ <number >0</number >
242
+ </property >
243
+ <property name =" topMargin" >
244
+ <number >0</number >
245
+ </property >
246
+ <property name =" rightMargin" >
247
+ <number >0</number >
248
+ </property >
249
+ <property name =" bottomMargin" >
311
250
<number >0</number >
312
251
</property >
313
252
<item >
@@ -337,33 +276,67 @@ columns</string>
337
276
</property >
338
277
</widget >
339
278
</item >
340
- <item >
341
- <spacer name =" horizontalSpacer_6" >
342
- <property name =" orientation" >
343
- <enum >Qt::Horizontal</enum >
344
- </property >
345
- <property name =" sizeType" >
346
- <enum >QSizePolicy::Fixed</enum >
347
- </property >
348
- <property name =" sizeHint" stdset =" 0" >
349
- <size >
350
- <width >40</width >
351
- <height >20</height >
352
- </size >
353
- </property >
354
- </spacer >
355
- </item >
356
279
</layout >
357
280
</widget >
358
281
</item >
282
+ </layout >
283
+ </item >
284
+ <item row =" 1" column =" 0" colspan =" 3" >
285
+ <layout class =" QHBoxLayout" name =" horizontalLayout_6" >
359
286
<item >
360
- <widget class =" QPushButton " name =" btnSetFilter " >
287
+ <widget class =" QCheckBox " name =" uniqueColumnCheck " >
361
288
<property name =" text" >
362
- <string >Set filter</string >
289
+ <string >Column(s) with
290
+ unique values</string >
363
291
</property >
364
- <property name =" autoDefault" >
292
+ </widget >
293
+ </item >
294
+ <item >
295
+ <widget class =" QComboBox" name =" uniqueCombo" >
296
+ <property name =" enabled" >
365
297
<bool >false</bool >
366
298
</property >
299
+ <property name =" sizePolicy" >
300
+ <sizepolicy hsizetype =" Expanding" vsizetype =" Fixed" >
301
+ <horstretch >0</horstretch >
302
+ <verstretch >0</verstretch >
303
+ </sizepolicy >
304
+ </property >
305
+ <property name =" editable" >
306
+ <bool >true</bool >
307
+ </property >
308
+ <property name =" insertPolicy" >
309
+ <enum >QComboBox::NoInsert</enum >
310
+ </property >
311
+ </widget >
312
+ </item >
313
+ <item >
314
+ <widget class =" QCheckBox" name =" hasGeometryCol" >
315
+ <property name =" text" >
316
+ <string >Geometry column</string >
317
+ </property >
318
+ <property name =" checked" >
319
+ <bool >true</bool >
320
+ </property >
321
+ <property name =" tristate" >
322
+ <bool >false</bool >
323
+ </property >
324
+ </widget >
325
+ </item >
326
+ <item >
327
+ <widget class =" QComboBox" name =" geomCombo" >
328
+ <property name =" sizePolicy" >
329
+ <sizepolicy hsizetype =" Expanding" vsizetype =" Fixed" >
330
+ <horstretch >0</horstretch >
331
+ <verstretch >0</verstretch >
332
+ </sizepolicy >
333
+ </property >
334
+ <property name =" editable" >
335
+ <bool >true</bool >
336
+ </property >
337
+ <property name =" insertPolicy" >
338
+ <enum >QComboBox::NoInsert</enum >
339
+ </property >
367
340
</widget >
368
341
</item >
369
342
</layout >
0 commit comments