@@ -20,6 +20,9 @@ QMenu::item:selected { background-color: gray; } */
20
20
</string >
21
21
</property >
22
22
<layout class =" QGridLayout" name =" gridLayout" >
23
+ <property name =" margin" >
24
+ <number >6</number >
25
+ </property >
23
26
<item row =" 3" column =" 0" >
24
27
<widget class =" QSplitter" name =" mSplitter" >
25
28
<property name =" orientation" >
@@ -122,39 +125,10 @@ QMenu::item:selected { background-color: gray; } */
122
125
</sizepolicy >
123
126
</property >
124
127
<layout class =" QGridLayout" name =" gridLayout_3" >
125
- <property name =" leftMargin" >
126
- <number >4</number >
127
- </property >
128
- <property name =" topMargin" >
129
- <number >0</number >
130
- </property >
131
- <property name =" rightMargin" >
128
+ <property name =" margin" >
132
129
<number >0</number >
133
130
</property >
134
- <property name =" bottomMargin" >
135
- <number >0</number >
136
- </property >
137
- <item row =" 0" column =" 0" >
138
- <spacer name =" horizontalSpacer" >
139
- <property name =" orientation" >
140
- <enum >Qt::Horizontal</enum >
141
- </property >
142
- <property name =" sizeHint" stdset =" 0" >
143
- <size >
144
- <width >350</width >
145
- <height >20</height >
146
- </size >
147
- </property >
148
- </spacer >
149
- </item >
150
- <item row =" 0" column =" 1" >
151
- <widget class =" QgsFilterLineEdit" name =" searchBox" >
152
- <property name =" text" >
153
- <string />
154
- </property >
155
- </widget >
156
- </item >
157
- <item row =" 1" column =" 0" colspan =" 2" >
131
+ <item row =" 1" column =" 0" >
158
132
<widget class =" QTabWidget" name =" tabItemType" >
159
133
<property name =" sizePolicy" >
160
134
<sizepolicy hsizetype =" Expanding" vsizetype =" Expanding" >
@@ -233,7 +207,7 @@ QMenu::item:selected { background-color: gray; } */
233
207
</widget >
234
208
</widget >
235
209
</item >
236
- <item row =" 2" column =" 0" colspan = " 2 " >
210
+ <item row =" 2" column =" 0" >
237
211
<widget class =" QListView" name =" listItems" >
238
212
<property name =" sizePolicy" >
239
213
<sizepolicy hsizetype =" Expanding" vsizetype =" Expanding" >
@@ -273,144 +247,160 @@ QMenu::item:selected { background-color: gray; } */
273
247
</property >
274
248
</widget >
275
249
</item >
276
- <item row =" 3 " column =" 0 " colspan = " 2 " >
277
- <layout class =" QHBoxLayout " name =" horizontalLayout_2 " >
250
+ <item row =" 2 " column =" 1 " >
251
+ <layout class =" QVBoxLayout " name =" symbolBtnsLayout " >
278
252
<item >
279
- <widget class =" QLabel" name =" label" >
280
- <property name =" font" >
281
- <font >
282
- <weight >75</weight >
283
- <bold >true</bold >
284
- </font >
253
+ <widget class =" QToolButton" name =" btnAddItem" >
254
+ <property name =" minimumSize" >
255
+ <size >
256
+ <width >0</width >
257
+ <height >0</height >
258
+ </size >
259
+ </property >
260
+ <property name =" toolTip" >
261
+ <string >Add item</string >
285
262
</property >
286
263
<property name =" text" >
287
- <string >Tags</string >
264
+ <string />
265
+ </property >
266
+ <property name =" icon" >
267
+ <iconset resource =" ../../images/images.qrc" >
268
+ <normaloff >:/images/themes/default/symbologyAdd.png</normaloff >:/images/themes/default/symbologyAdd.png</iconset >
269
+ </property >
270
+ <property name =" popupMode" >
271
+ <enum >QToolButton::InstantPopup</enum >
272
+ </property >
273
+ <property name =" autoRaise" >
274
+ <bool >true</bool >
288
275
</property >
289
276
</widget >
290
277
</item >
291
278
<item >
292
- <widget class =" QLineEdit" name =" tagsLineEdit" />
279
+ <widget class =" QToolButton" name =" btnRemoveItem" >
280
+ <property name =" toolTip" >
281
+ <string >Remove item</string >
282
+ </property >
283
+ <property name =" text" >
284
+ <string />
285
+ </property >
286
+ <property name =" icon" >
287
+ <iconset resource =" ../../images/images.qrc" >
288
+ <normaloff >:/images/themes/default/symbologyRemove.png</normaloff >:/images/themes/default/symbologyRemove.png</iconset >
289
+ </property >
290
+ <property name =" autoRaise" >
291
+ <bool >true</bool >
292
+ </property >
293
+ </widget >
293
294
</item >
294
- </layout >
295
- </item >
296
- <item row =" 4" column =" 0" colspan =" 2" >
297
- <layout class =" QHBoxLayout" name =" horizontalLayout" >
298
295
<item >
299
- <spacer name =" horizontalSpacer_2 " >
296
+ <spacer name =" verticalSpacer " >
300
297
<property name =" orientation" >
301
- <enum >Qt::Horizontal </enum >
298
+ <enum >Qt::Vertical </enum >
302
299
</property >
303
300
<property name =" sizeHint" stdset =" 0" >
304
301
<size >
305
- <width >40 </width >
306
- <height >20 </height >
302
+ <width >20 </width >
303
+ <height >40 </height >
307
304
</size >
308
305
</property >
309
306
</spacer >
310
307
</item >
311
308
<item >
312
- <layout class =" QHBoxLayout " name =" symbolBtnsLayout " >
313
- <property name =" spacing " >
314
- <number >6</ number >
309
+ <widget class =" QToolButton " name =" btnEditItem " >
310
+ <property name =" toolTip " >
311
+ <string >Edit item</ string >
315
312
</property >
316
- <property name =" leftMargin " >
317
- <number >0</ number >
313
+ <property name =" text " >
314
+ <string / >
318
315
</property >
319
- <item >
320
- <widget class =" QToolButton" name =" btnAddItem" >
321
- <property name =" minimumSize" >
322
- <size >
323
- <width >0</width >
324
- <height >0</height >
325
- </size >
326
- </property >
327
- <property name =" toolTip" >
328
- <string >Add item</string >
329
- </property >
330
- <property name =" text" >
331
- <string />
332
- </property >
333
- <property name =" popupMode" >
334
- <enum >QToolButton::InstantPopup</enum >
335
- </property >
336
- </widget >
337
- </item >
338
- <item >
339
- <widget class =" QToolButton" name =" btnEditItem" >
340
- <property name =" toolTip" >
341
- <string >Edit item</string >
342
- </property >
343
- <property name =" text" >
344
- <string >Edit</string >
345
- </property >
346
- <property name =" toolButtonStyle" >
347
- <enum >Qt::ToolButtonTextBesideIcon</enum >
348
- </property >
349
- </widget >
350
- </item >
351
- <item >
352
- <widget class =" QToolButton" name =" btnRemoveItem" >
353
- <property name =" toolTip" >
354
- <string >Remove item</string >
355
- </property >
356
- <property name =" text" >
357
- <string />
358
- </property >
359
- </widget >
360
- </item >
361
- <item >
362
- <widget class =" QToolButton" name =" btnShare" >
363
- <property name =" minimumSize" >
364
- <size >
365
- <width >0</width >
366
- <height >16</height >
367
- </size >
368
- </property >
369
- <property name =" text" >
370
- <string >Share</string >
371
- </property >
372
- <property name =" popupMode" >
373
- <enum >QToolButton::InstantPopup</enum >
374
- </property >
375
- <property name =" toolButtonStyle" >
376
- <enum >Qt::ToolButtonTextBesideIcon</enum >
377
- </property >
378
- </widget >
379
- </item >
380
- </layout >
316
+ <property name =" icon" >
317
+ <iconset resource =" ../../images/images.qrc" >
318
+ <normaloff >:/images/themes/default/mActionProjectProperties.png</normaloff >:/images/themes/default/mActionProjectProperties.png</iconset >
319
+ </property >
320
+ <property name =" toolButtonStyle" >
321
+ <enum >Qt::ToolButtonIconOnly</enum >
322
+ </property >
323
+ <property name =" autoRaise" >
324
+ <bool >true</bool >
325
+ </property >
326
+ </widget >
381
327
</item >
382
328
<item >
383
- <spacer name =" horizontalSpacer_3" >
384
- <property name =" orientation" >
385
- <enum >Qt::Horizontal</enum >
386
- </property >
387
- <property name =" sizeHint" stdset =" 0" >
329
+ <widget class =" QToolButton" name =" btnShare" >
330
+ <property name =" minimumSize" >
388
331
<size >
389
- <width >40 </width >
390
- <height >20 </height >
332
+ <width >0 </width >
333
+ <height >16 </height >
391
334
</size >
392
335
</property >
393
- </spacer >
394
- </item >
395
- <item >
396
- <widget class =" QDialogButtonBox" name =" buttonBox" >
397
- <property name =" orientation" >
398
- <enum >Qt::Horizontal</enum >
336
+ <property name =" text" >
337
+ <string />
338
+ </property >
339
+ <property name =" icon" >
340
+ <iconset resource =" ../../images/images.qrc" >
341
+ <normaloff >:/images/themes/default/mActionSharing.svg</normaloff >:/images/themes/default/mActionSharing.svg</iconset >
342
+ </property >
343
+ <property name =" popupMode" >
344
+ <enum >QToolButton::InstantPopup</enum >
399
345
</property >
400
- <property name =" standardButtons " >
401
- <set >QDialogButtonBox::Close|QDialogButtonBox::Help</ set >
346
+ <property name =" toolButtonStyle " >
347
+ <enum >Qt::ToolButtonIconOnly</ enum >
402
348
</property >
403
- <property name =" centerButtons " >
404
- <bool >false </bool >
349
+ <property name =" autoRaise " >
350
+ <bool >true </bool >
405
351
</property >
406
352
</widget >
407
353
</item >
408
354
</layout >
409
355
</item >
356
+ <item row =" 0" column =" 0" colspan =" 2" >
357
+ <layout class =" QHBoxLayout" name =" horizontalLayout_3" >
358
+ <item >
359
+ <widget class =" QgsFilterLineEdit" name =" searchBox" >
360
+ <property name =" text" >
361
+ <string />
362
+ </property >
363
+ </widget >
364
+ </item >
365
+ <item >
366
+ <layout class =" QHBoxLayout" name =" horizontalLayout_2" >
367
+ <item >
368
+ <widget class =" QLabel" name =" label" >
369
+ <property name =" font" >
370
+ <font >
371
+ <weight >75</weight >
372
+ <bold >true</bold >
373
+ </font >
374
+ </property >
375
+ <property name =" text" >
376
+ <string >Tags</string >
377
+ </property >
378
+ </widget >
379
+ </item >
380
+ <item >
381
+ <widget class =" QLineEdit" name =" tagsLineEdit" />
382
+ </item >
383
+ </layout >
384
+ </item >
385
+ </layout >
386
+ </item >
410
387
</layout >
411
388
</widget >
412
389
</widget >
413
390
</item >
391
+ <item row =" 4" column =" 0" >
392
+ <widget class =" QDialogButtonBox" name =" buttonBox" >
393
+ <property name =" orientation" >
394
+ <enum >Qt::Horizontal</enum >
395
+ </property >
396
+ <property name =" standardButtons" >
397
+ <set >QDialogButtonBox::Close|QDialogButtonBox::Help</set >
398
+ </property >
399
+ <property name =" centerButtons" >
400
+ <bool >false</bool >
401
+ </property >
402
+ </widget >
403
+ </item >
414
404
</layout >
415
405
</widget >
416
406
<customwidgets >
0 commit comments