Skip to content

Commit d83d196

Browse files
author
timlinux
committedNov 14, 2010
Cleanups for label dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@14653 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+835
-830
lines changed

1 file changed

+835
-830
lines changed
 

‎src/ui/qgslabelingguibase.ui

Lines changed: 835 additions & 830 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>515</width>
10-
<height>692</height>
9+
<width>703</width>
10+
<height>446</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
@@ -17,8 +17,87 @@
1717
<iconset>
1818
<normaloff>../../../../.designer/backup</normaloff>../../../../.designer/backup</iconset>
1919
</property>
20-
<layout class="QGridLayout" name="gridLayout_13">
20+
<layout class="QGridLayout" name="gridLayout_8">
2121
<item row="0" column="0">
22+
<layout class="QHBoxLayout" name="horizontalLayout_3">
23+
<item>
24+
<widget class="QCheckBox" name="chkEnableLabeling">
25+
<property name="text">
26+
<string>Label this layer</string>
27+
</property>
28+
</widget>
29+
</item>
30+
<item>
31+
<spacer name="horizontalSpacer_5">
32+
<property name="orientation">
33+
<enum>Qt::Horizontal</enum>
34+
</property>
35+
<property name="sizeHint" stdset="0">
36+
<size>
37+
<width>40</width>
38+
<height>20</height>
39+
</size>
40+
</property>
41+
</spacer>
42+
</item>
43+
<item>
44+
<widget class="QLabel" name="label_20">
45+
<property name="text">
46+
<string>Field with labels</string>
47+
</property>
48+
<property name="alignment">
49+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
50+
</property>
51+
</widget>
52+
</item>
53+
<item>
54+
<widget class="QComboBox" name="cboFieldName"/>
55+
</item>
56+
</layout>
57+
</item>
58+
<item row="1" column="0">
59+
<layout class="QHBoxLayout" name="horizontalLayout_4">
60+
<item>
61+
<widget class="QLabel" name="label_33">
62+
<property name="sizePolicy">
63+
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
64+
<horstretch>0</horstretch>
65+
<verstretch>0</verstretch>
66+
</sizepolicy>
67+
</property>
68+
<property name="text">
69+
<string>Sample</string>
70+
</property>
71+
<property name="alignment">
72+
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
73+
</property>
74+
</widget>
75+
</item>
76+
<item>
77+
<widget class="QgsLabelPreview" name="lblFontPreview">
78+
<property name="sizePolicy">
79+
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
80+
<horstretch>0</horstretch>
81+
<verstretch>0</verstretch>
82+
</sizepolicy>
83+
</property>
84+
<property name="minimumSize">
85+
<size>
86+
<width>30</width>
87+
<height>30</height>
88+
</size>
89+
</property>
90+
<property name="text">
91+
<string>Lorem Ipsum</string>
92+
</property>
93+
<property name="alignment">
94+
<set>Qt::AlignCenter</set>
95+
</property>
96+
</widget>
97+
</item>
98+
</layout>
99+
</item>
100+
<item row="2" column="0">
22101
<widget class="QTabWidget" name="mTabWidget">
23102
<property name="currentIndex">
24103
<number>0</number>
@@ -27,968 +106,894 @@
27106
<attribute name="title">
28107
<string>Label settings</string>
29108
</attribute>
30-
<layout class="QGridLayout" name="gridLayout_6">
109+
<layout class="QGridLayout" name="gridLayout_14">
31110
<item row="0" column="0">
32-
<widget class="QCheckBox" name="chkEnableLabeling">
33-
<property name="text">
34-
<string>Label this layer</string>
111+
<widget class="QGroupBox" name="groupBox_6">
112+
<property name="title">
113+
<string>Text style</string>
35114
</property>
115+
<layout class="QGridLayout" name="gridLayout_9">
116+
<item row="0" column="0">
117+
<widget class="QLabel" name="label_28">
118+
<property name="sizePolicy">
119+
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
120+
<horstretch>0</horstretch>
121+
<verstretch>0</verstretch>
122+
</sizepolicy>
123+
</property>
124+
<property name="text">
125+
<string>Font</string>
126+
</property>
127+
<property name="alignment">
128+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
129+
</property>
130+
</widget>
131+
</item>
132+
<item row="0" column="1">
133+
<layout class="QHBoxLayout" name="horizontalLayout_15">
134+
<item>
135+
<widget class="QLabel" name="lblFontName">
136+
<property name="sizePolicy">
137+
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
138+
<horstretch>1</horstretch>
139+
<verstretch>0</verstretch>
140+
</sizepolicy>
141+
</property>
142+
<property name="text">
143+
<string>TextLabel</string>
144+
</property>
145+
</widget>
146+
</item>
147+
<item>
148+
<widget class="QToolButton" name="btnChangeFont">
149+
<property name="text">
150+
<string>...</string>
151+
</property>
152+
</widget>
153+
</item>
154+
<item>
155+
<spacer name="horizontalSpacer_6">
156+
<property name="orientation">
157+
<enum>Qt::Horizontal</enum>
158+
</property>
159+
<property name="sizeHint" stdset="0">
160+
<size>
161+
<width>999</width>
162+
<height>20</height>
163+
</size>
164+
</property>
165+
</spacer>
166+
</item>
167+
</layout>
168+
</item>
169+
<item row="1" column="0">
170+
<widget class="QLabel" name="mFontSizeLabel">
171+
<property name="text">
172+
<string>Font size</string>
173+
</property>
174+
</widget>
175+
</item>
176+
<item row="1" column="1">
177+
<layout class="QHBoxLayout" name="horizontalLayout">
178+
<item>
179+
<widget class="QDoubleSpinBox" name="mFontSizeSpinBox">
180+
<property name="decimals">
181+
<number>4</number>
182+
</property>
183+
<property name="maximum">
184+
<double>999999999.000000000000000</double>
185+
</property>
186+
</widget>
187+
</item>
188+
<item>
189+
<widget class="QComboBox" name="mFontSizeUnitComboBox">
190+
<item>
191+
<property name="text">
192+
<string>In points</string>
193+
</property>
194+
</item>
195+
<item>
196+
<property name="text">
197+
<string>In map units</string>
198+
</property>
199+
</item>
200+
</widget>
201+
</item>
202+
</layout>
203+
</item>
204+
<item row="2" column="0">
205+
<widget class="QLabel" name="label_29">
206+
<property name="sizePolicy">
207+
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
208+
<horstretch>0</horstretch>
209+
<verstretch>0</verstretch>
210+
</sizepolicy>
211+
</property>
212+
<property name="text">
213+
<string>Color</string>
214+
</property>
215+
<property name="alignment">
216+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
217+
</property>
218+
</widget>
219+
</item>
220+
<item row="2" column="1">
221+
<layout class="QHBoxLayout" name="horizontalLayout_16">
222+
<item>
223+
<widget class="QgsColorButton" name="btnTextColor">
224+
<property name="sizePolicy">
225+
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
226+
<horstretch>0</horstretch>
227+
<verstretch>0</verstretch>
228+
</sizepolicy>
229+
</property>
230+
<property name="text">
231+
<string/>
232+
</property>
233+
</widget>
234+
</item>
235+
<item>
236+
<spacer name="horizontalSpacer_7">
237+
<property name="orientation">
238+
<enum>Qt::Horizontal</enum>
239+
</property>
240+
<property name="sizeType">
241+
<enum>QSizePolicy::Preferred</enum>
242+
</property>
243+
<property name="sizeHint" stdset="0">
244+
<size>
245+
<width>142</width>
246+
<height>20</height>
247+
</size>
248+
</property>
249+
</spacer>
250+
</item>
251+
</layout>
252+
</item>
253+
</layout>
36254
</widget>
37255
</item>
38256
<item row="1" column="0">
39-
<layout class="QHBoxLayout" name="horizontalLayout_11">
40-
<item>
41-
<widget class="QLabel" name="label_20">
42-
<property name="text">
43-
<string>Field with labels</string>
44-
</property>
45-
<property name="alignment">
46-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
47-
</property>
48-
</widget>
49-
</item>
50-
<item>
51-
<widget class="QComboBox" name="cboFieldName"/>
52-
</item>
53-
<item>
54-
<spacer name="horizontalSpacer_5">
55-
<property name="orientation">
56-
<enum>Qt::Horizontal</enum>
57-
</property>
58-
<property name="sizeHint" stdset="0">
59-
<size>
60-
<width>40</width>
61-
<height>20</height>
62-
</size>
63-
</property>
64-
</spacer>
65-
</item>
66-
</layout>
257+
<widget class="QGroupBox" name="chkBuffer">
258+
<property name="title">
259+
<string>Buffer</string>
260+
</property>
261+
<property name="checkable">
262+
<bool>true</bool>
263+
</property>
264+
<layout class="QGridLayout" name="gridLayout_5">
265+
<item row="0" column="0">
266+
<layout class="QHBoxLayout" name="horizontalLayout_17">
267+
<item>
268+
<widget class="QLabel" name="label_31">
269+
<property name="text">
270+
<string>Size</string>
271+
</property>
272+
<property name="alignment">
273+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
274+
</property>
275+
</widget>
276+
</item>
277+
<item>
278+
<widget class="QDoubleSpinBox" name="spinBufferSize">
279+
<property name="suffix">
280+
<string> mm</string>
281+
</property>
282+
</widget>
283+
</item>
284+
<item>
285+
<widget class="QLabel" name="label_32">
286+
<property name="text">
287+
<string>Color</string>
288+
</property>
289+
<property name="alignment">
290+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
291+
</property>
292+
</widget>
293+
</item>
294+
<item>
295+
<widget class="QgsColorButton" name="btnBufferColor">
296+
<property name="sizePolicy">
297+
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
298+
<horstretch>0</horstretch>
299+
<verstretch>0</verstretch>
300+
</sizepolicy>
301+
</property>
302+
<property name="text">
303+
<string>...</string>
304+
</property>
305+
</widget>
306+
</item>
307+
</layout>
308+
</item>
309+
</layout>
310+
</widget>
67311
</item>
68312
<item row="2" column="0">
69-
<widget class="QGroupBox" name="groupBox_5">
313+
<widget class="QGroupBox" name="chkScaleBasedVisibility">
70314
<property name="title">
71-
<string>Placement</string>
315+
<string>Scale-based visibility</string>
72316
</property>
73-
<layout class="QHBoxLayout" name="horizontalLayout_12">
74-
<property name="leftMargin">
75-
<number>0</number>
76-
</property>
77-
<property name="topMargin">
78-
<number>0</number>
79-
</property>
80-
<property name="rightMargin">
81-
<number>0</number>
82-
</property>
83-
<property name="bottomMargin">
84-
<number>4</number>
85-
</property>
86-
<item>
87-
<widget class="QStackedWidget" name="stackedPlacement">
88-
<property name="currentIndex">
89-
<number>2</number>
317+
<property name="checkable">
318+
<bool>true</bool>
319+
</property>
320+
<layout class="QGridLayout" name="gridLayout_10">
321+
<item row="1" column="1">
322+
<widget class="QSpinBox" name="spinScaleMax">
323+
<property name="prefix">
324+
<string>Maximum </string>
90325
</property>
91-
<widget class="QWidget" name="pagePoint">
92-
<layout class="QVBoxLayout" name="verticalLayout_6">
93-
<item>
94-
<widget class="QRadioButton" name="radAroundPoint">
95-
<property name="text">
96-
<string>around point</string>
97-
</property>
98-
<property name="checked">
99-
<bool>true</bool>
100-
</property>
101-
</widget>
102-
</item>
103-
<item>
104-
<widget class="QRadioButton" name="radOverPoint">
105-
<property name="text">
106-
<string>over point</string>
107-
</property>
108-
</widget>
109-
</item>
110-
</layout>
111-
</widget>
112-
<widget class="QWidget" name="pageLine">
113-
<layout class="QVBoxLayout" name="verticalLayout_7">
114-
<item>
115-
<widget class="QRadioButton" name="radLineParallel">
116-
<property name="text">
117-
<string>parallel</string>
118-
</property>
119-
<property name="checked">
120-
<bool>true</bool>
121-
</property>
122-
</widget>
123-
</item>
124-
<item>
125-
<widget class="QRadioButton" name="radLineCurved">
126-
<property name="text">
127-
<string>curved</string>
128-
</property>
129-
</widget>
130-
</item>
326+
<property name="minimum">
327+
<number>1</number>
328+
</property>
329+
<property name="maximum">
330+
<number>10000000</number>
331+
</property>
332+
<property name="value">
333+
<number>10000000</number>
334+
</property>
335+
</widget>
336+
</item>
337+
<item row="1" column="0">
338+
<widget class="QSpinBox" name="spinScaleMin">
339+
<property name="prefix">
340+
<string>Minimum </string>
341+
</property>
342+
<property name="minimum">
343+
<number>1</number>
344+
</property>
345+
<property name="maximum">
346+
<number>10000000</number>
347+
</property>
348+
</widget>
349+
</item>
350+
</layout>
351+
</widget>
352+
</item>
353+
</layout>
354+
</widget>
355+
<widget class="QWidget" name="tab">
356+
<attribute name="title">
357+
<string>Advanced</string>
358+
</attribute>
359+
<layout class="QGridLayout" name="gridLayout_6">
360+
<item row="0" column="0">
361+
<widget class="QScrollArea" name="scrollArea_2">
362+
<property name="widgetResizable">
363+
<bool>true</bool>
364+
</property>
365+
<widget class="QWidget" name="scrollAreaWidgetContents_2">
366+
<property name="geometry">
367+
<rect>
368+
<x>0</x>
369+
<y>0</y>
370+
<width>645</width>
371+
<height>495</height>
372+
</rect>
373+
</property>
374+
<layout class="QGridLayout" name="gridLayout_13">
375+
<item row="1" column="0">
376+
<widget class="QGroupBox" name="groupBox_7">
377+
<property name="title">
378+
<string>Priority</string>
379+
</property>
380+
<layout class="QHBoxLayout" name="horizontalLayout_18">
131381
<item>
132-
<widget class="QRadioButton" name="radLineHorizontal">
382+
<widget class="QLabel" name="label_34">
133383
<property name="text">
134-
<string>horizontal</string>
384+
<string>Low</string>
135385
</property>
136386
</widget>
137387
</item>
138-
</layout>
139-
</widget>
140-
<widget class="QWidget" name="pagePolygon">
141-
<layout class="QVBoxLayout" name="verticalLayout_8">
142388
<item>
143-
<widget class="QRadioButton" name="radOverCentroid">
144-
<property name="text">
145-
<string>over centroid</string>
389+
<widget class="QSlider" name="sliderPriority">
390+
<property name="maximum">
391+
<number>10</number>
146392
</property>
147-
<property name="checked">
148-
<bool>true</bool>
393+
<property name="value">
394+
<number>5</number>
149395
</property>
150-
</widget>
151-
</item>
152-
<item>
153-
<widget class="QRadioButton" name="radAroundCentroid">
154-
<property name="text">
155-
<string>around centroid</string>
396+
<property name="orientation">
397+
<enum>Qt::Horizontal</enum>
156398
</property>
157-
</widget>
158-
</item>
159-
<item>
160-
<widget class="QRadioButton" name="radPolygonHorizontal">
161-
<property name="text">
162-
<string>horizontal (slow)</string>
399+
<property name="tickPosition">
400+
<enum>QSlider::TicksBelow</enum>
163401
</property>
164-
</widget>
165-
</item>
166-
<item>
167-
<widget class="QRadioButton" name="radPolygonFree">
168-
<property name="text">
169-
<string>free (slow)</string>
402+
<property name="tickInterval">
403+
<number>1</number>
170404
</property>
171405
</widget>
172406
</item>
173407
<item>
174-
<widget class="QRadioButton" name="radPolygonPerimeter">
408+
<widget class="QLabel" name="label_35">
175409
<property name="text">
176-
<string>using perimeter</string>
410+
<string>High</string>
177411
</property>
178412
</widget>
179413
</item>
180414
</layout>
181415
</widget>
182-
</widget>
183-
</item>
184-
<item>
185-
<widget class="Line" name="line_3">
186-
<property name="orientation">
187-
<enum>Qt::Vertical</enum>
188-
</property>
189-
</widget>
190-
</item>
191-
<item>
192-
<widget class="QStackedWidget" name="stackedOptions">
193-
<property name="currentIndex">
194-
<number>1</number>
195-
</property>
196-
<widget class="QWidget" name="pageOptionsPoint">
197-
<layout class="QGridLayout" name="gridLayout_7">
416+
</item>
417+
<item row="2" column="0">
418+
<widget class="QGroupBox" name="groupBox">
419+
<property name="title">
420+
<string>Options</string>
421+
</property>
422+
<layout class="QGridLayout" name="gridLayout_12">
198423
<item row="0" column="0">
199-
<widget class="QLabel" name="label_21">
200-
<property name="text">
201-
<string>Label distance</string>
202-
</property>
203-
<property name="alignment">
204-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
205-
</property>
206-
</widget>
207-
</item>
208-
<item row="0" column="1">
209-
<widget class="QDoubleSpinBox" name="spinDistPoint">
210-
<property name="decimals">
211-
<number>2</number>
212-
</property>
213-
</widget>
214-
</item>
215-
<item row="0" column="2">
216-
<widget class="QLabel" name="label_22">
424+
<widget class="QCheckBox" name="chkLabelPerFeaturePart">
217425
<property name="text">
218-
<string>mm</string>
426+
<string>Label every part of multi-part features</string>
219427
</property>
220428
</widget>
221429
</item>
222430
<item row="1" column="0">
223-
<widget class="QLabel" name="label_23">
224-
<property name="text">
225-
<string>Rotation</string>
226-
</property>
227-
<property name="alignment">
228-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
229-
</property>
230-
</widget>
231-
</item>
232-
<item row="1" column="1">
233-
<widget class="QSpinBox" name="spinAngle">
234-
<property name="enabled">
235-
<bool>false</bool>
236-
</property>
237-
</widget>
238-
</item>
239-
<item row="1" column="2">
240-
<widget class="QLabel" name="label_24">
241-
<property name="text">
242-
<string>degrees</string>
243-
</property>
244-
</widget>
245-
</item>
246-
</layout>
247-
</widget>
248-
<widget class="QWidget" name="pageOptionsLine">
249-
<layout class="QVBoxLayout" name="verticalLayout_9">
250-
<item>
251-
<widget class="QCheckBox" name="chkLineAbove">
431+
<widget class="QCheckBox" name="chkMergeLines">
252432
<property name="text">
253-
<string>above line</string>
254-
</property>
255-
<property name="checked">
256-
<bool>true</bool>
433+
<string>Merge connected lines to avoid duplicate labels</string>
257434
</property>
258435
</widget>
259436
</item>
260-
<item>
261-
<widget class="QCheckBox" name="chkLineOn">
437+
<item row="2" column="0">
438+
<widget class="QCheckBox" name="chkMultiLine">
262439
<property name="text">
263-
<string>on line</string>
440+
<string>Multiline labels</string>
264441
</property>
265442
</widget>
266443
</item>
267-
<item>
268-
<widget class="QCheckBox" name="chkLineBelow">
444+
<item row="3" column="0">
445+
<widget class="QCheckBox" name="chkAddDirectionSymbol">
269446
<property name="text">
270-
<string>below line</string>
447+
<string>Add direction symbol</string>
271448
</property>
272449
</widget>
273450
</item>
274-
<item>
275-
<layout class="QHBoxLayout" name="horizontalLayout_13">
276-
<item>
277-
<widget class="QLabel" name="label_25">
278-
<property name="text">
279-
<string>Orientation</string>
280-
</property>
281-
</widget>
282-
</item>
451+
<item row="4" column="0">
452+
<layout class="QHBoxLayout" name="horizontalLayout_2">
283453
<item>
284-
<widget class="QRadioButton" name="radOrientationMap">
454+
<widget class="QLabel" name="label_19">
285455
<property name="text">
286-
<string>map</string>
287-
</property>
288-
<property name="checked">
289-
<bool>true</bool>
456+
<string>Suppress labeling of features smaller than</string>
290457
</property>
291458
</widget>
292459
</item>
293460
<item>
294-
<widget class="QRadioButton" name="radOrientationLine">
295-
<property name="text">
296-
<string>line</string>
461+
<widget class="QDoubleSpinBox" name="mMinSizeSpinBox">
462+
<property name="suffix">
463+
<string> mm</string>
297464
</property>
298465
</widget>
299466
</item>
300467
</layout>
301468
</item>
302-
<item>
303-
<layout class="QHBoxLayout" name="horizontalLayout_14">
469+
<item row="5" column="0">
470+
<layout class="QHBoxLayout" name="horizontalLayout_20">
304471
<item>
305-
<widget class="QLabel" name="label_26">
306-
<property name="text">
307-
<string>Label distance</string>
472+
<widget class="QCheckBox" name="chkNoObstacle">
473+
<property name="enabled">
474+
<bool>true</bool>
308475
</property>
309-
<property name="alignment">
310-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
476+
<property name="text">
477+
<string>Features don't act as obstacles for labels</string>
311478
</property>
312479
</widget>
313480
</item>
314481
<item>
315-
<widget class="QDoubleSpinBox" name="spinDistLine">
316-
<property name="decimals">
317-
<number>2</number>
482+
<spacer name="horizontalSpacer_8">
483+
<property name="orientation">
484+
<enum>Qt::Horizontal</enum>
318485
</property>
319-
</widget>
486+
<property name="sizeHint" stdset="0">
487+
<size>
488+
<width>40</width>
489+
<height>20</height>
490+
</size>
491+
</property>
492+
</spacer>
320493
</item>
321494
<item>
322-
<widget class="QLabel" name="label_27">
495+
<widget class="QPushButton" name="btnEngineSettings">
496+
<property name="enabled">
497+
<bool>true</bool>
498+
</property>
323499
<property name="text">
324-
<string>mm</string>
500+
<string>Engine settings</string>
325501
</property>
326502
</widget>
327503
</item>
328504
</layout>
329505
</item>
330506
</layout>
331507
</widget>
332-
<widget class="QWidget" name="pageOptionsEmpty"/>
333-
</widget>
334-
</item>
335-
</layout>
336-
</widget>
337-
</item>
338-
<item row="3" column="0">
339-
<layout class="QGridLayout" name="gridLayout_8">
340-
<item row="0" column="0" rowspan="2">
341-
<widget class="QGroupBox" name="groupBox_6">
342-
<property name="title">
343-
<string>Text style</string>
344-
</property>
345-
<layout class="QGridLayout" name="gridLayout_9">
346-
<item row="0" column="0">
347-
<widget class="QLabel" name="label_28">
348-
<property name="sizePolicy">
349-
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
350-
<horstretch>0</horstretch>
351-
<verstretch>0</verstretch>
352-
</sizepolicy>
508+
</item>
509+
<item row="0" column="0">
510+
<widget class="QGroupBox" name="groupBox_5">
511+
<property name="title">
512+
<string>Placement</string>
513+
</property>
514+
<layout class="QHBoxLayout" name="horizontalLayout_12">
515+
<property name="leftMargin">
516+
<number>0</number>
353517
</property>
354-
<property name="text">
355-
<string>Font</string>
518+
<property name="topMargin">
519+
<number>0</number>
356520
</property>
357-
<property name="alignment">
358-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
521+
<property name="rightMargin">
522+
<number>0</number>
523+
</property>
524+
<property name="bottomMargin">
525+
<number>4</number>
359526
</property>
360-
</widget>
361-
</item>
362-
<item row="0" column="1">
363-
<layout class="QHBoxLayout" name="horizontalLayout_15">
364527
<item>
365-
<widget class="QLabel" name="lblFontName">
366-
<property name="sizePolicy">
367-
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
368-
<horstretch>1</horstretch>
369-
<verstretch>0</verstretch>
370-
</sizepolicy>
371-
</property>
372-
<property name="text">
373-
<string>TextLabel</string>
528+
<widget class="QStackedWidget" name="stackedPlacement">
529+
<property name="currentIndex">
530+
<number>2</number>
374531
</property>
532+
<widget class="QWidget" name="pagePoint">
533+
<layout class="QVBoxLayout" name="verticalLayout_6">
534+
<item>
535+
<widget class="QRadioButton" name="radAroundPoint">
536+
<property name="text">
537+
<string>around point</string>
538+
</property>
539+
<property name="checked">
540+
<bool>true</bool>
541+
</property>
542+
</widget>
543+
</item>
544+
<item>
545+
<widget class="QRadioButton" name="radOverPoint">
546+
<property name="text">
547+
<string>over point</string>
548+
</property>
549+
</widget>
550+
</item>
551+
</layout>
552+
</widget>
553+
<widget class="QWidget" name="pageLine">
554+
<layout class="QVBoxLayout" name="verticalLayout_7">
555+
<item>
556+
<widget class="QRadioButton" name="radLineParallel">
557+
<property name="text">
558+
<string>parallel</string>
559+
</property>
560+
<property name="checked">
561+
<bool>true</bool>
562+
</property>
563+
</widget>
564+
</item>
565+
<item>
566+
<widget class="QRadioButton" name="radLineCurved">
567+
<property name="text">
568+
<string>curved</string>
569+
</property>
570+
</widget>
571+
</item>
572+
<item>
573+
<widget class="QRadioButton" name="radLineHorizontal">
574+
<property name="text">
575+
<string>horizontal</string>
576+
</property>
577+
</widget>
578+
</item>
579+
</layout>
580+
</widget>
581+
<widget class="QWidget" name="pagePolygon">
582+
<layout class="QVBoxLayout" name="verticalLayout_8">
583+
<item>
584+
<widget class="QRadioButton" name="radOverCentroid">
585+
<property name="text">
586+
<string>over centroid</string>
587+
</property>
588+
<property name="checked">
589+
<bool>true</bool>
590+
</property>
591+
</widget>
592+
</item>
593+
<item>
594+
<widget class="QRadioButton" name="radAroundCentroid">
595+
<property name="text">
596+
<string>around centroid</string>
597+
</property>
598+
</widget>
599+
</item>
600+
<item>
601+
<widget class="QRadioButton" name="radPolygonHorizontal">
602+
<property name="text">
603+
<string>horizontal (slow)</string>
604+
</property>
605+
</widget>
606+
</item>
607+
<item>
608+
<widget class="QRadioButton" name="radPolygonFree">
609+
<property name="text">
610+
<string>free (slow)</string>
611+
</property>
612+
</widget>
613+
</item>
614+
<item>
615+
<widget class="QRadioButton" name="radPolygonPerimeter">
616+
<property name="text">
617+
<string>using perimeter</string>
618+
</property>
619+
</widget>
620+
</item>
621+
</layout>
622+
</widget>
375623
</widget>
376624
</item>
377625
<item>
378-
<spacer name="horizontalSpacer_6">
626+
<widget class="Line" name="line_3">
379627
<property name="orientation">
380-
<enum>Qt::Horizontal</enum>
628+
<enum>Qt::Vertical</enum>
381629
</property>
382-
<property name="sizeHint" stdset="0">
383-
<size>
384-
<width>40</width>
385-
<height>20</height>
386-
</size>
387-
</property>
388-
</spacer>
630+
</widget>
389631
</item>
390632
<item>
391-
<widget class="QToolButton" name="btnChangeFont">
392-
<property name="text">
393-
<string>...</string>
633+
<widget class="QStackedWidget" name="stackedOptions">
634+
<property name="currentIndex">
635+
<number>1</number>
394636
</property>
637+
<widget class="QWidget" name="pageOptionsPoint">
638+
<layout class="QGridLayout" name="gridLayout_7">
639+
<item row="0" column="0">
640+
<widget class="QLabel" name="label_21">
641+
<property name="text">
642+
<string>Label distance</string>
643+
</property>
644+
<property name="alignment">
645+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
646+
</property>
647+
</widget>
648+
</item>
649+
<item row="0" column="1">
650+
<widget class="QDoubleSpinBox" name="spinDistPoint">
651+
<property name="decimals">
652+
<number>2</number>
653+
</property>
654+
</widget>
655+
</item>
656+
<item row="0" column="2">
657+
<widget class="QLabel" name="label_22">
658+
<property name="text">
659+
<string>mm</string>
660+
</property>
661+
</widget>
662+
</item>
663+
<item row="1" column="0">
664+
<widget class="QLabel" name="label_23">
665+
<property name="text">
666+
<string>Rotation</string>
667+
</property>
668+
<property name="alignment">
669+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
670+
</property>
671+
</widget>
672+
</item>
673+
<item row="1" column="1">
674+
<widget class="QSpinBox" name="spinAngle">
675+
<property name="enabled">
676+
<bool>false</bool>
677+
</property>
678+
</widget>
679+
</item>
680+
<item row="1" column="2">
681+
<widget class="QLabel" name="label_24">
682+
<property name="text">
683+
<string>degrees</string>
684+
</property>
685+
</widget>
686+
</item>
687+
</layout>
688+
</widget>
689+
<widget class="QWidget" name="pageOptionsLine">
690+
<layout class="QVBoxLayout" name="verticalLayout_9">
691+
<item>
692+
<widget class="QCheckBox" name="chkLineAbove">
693+
<property name="text">
694+
<string>above line</string>
695+
</property>
696+
<property name="checked">
697+
<bool>true</bool>
698+
</property>
699+
</widget>
700+
</item>
701+
<item>
702+
<widget class="QCheckBox" name="chkLineOn">
703+
<property name="text">
704+
<string>on line</string>
705+
</property>
706+
</widget>
707+
</item>
708+
<item>
709+
<widget class="QCheckBox" name="chkLineBelow">
710+
<property name="text">
711+
<string>below line</string>
712+
</property>
713+
</widget>
714+
</item>
715+
<item>
716+
<layout class="QHBoxLayout" name="horizontalLayout_13">
717+
<item>
718+
<widget class="QLabel" name="label_25">
719+
<property name="text">
720+
<string>Orientation</string>
721+
</property>
722+
</widget>
723+
</item>
724+
<item>
725+
<widget class="QRadioButton" name="radOrientationMap">
726+
<property name="text">
727+
<string>map</string>
728+
</property>
729+
<property name="checked">
730+
<bool>true</bool>
731+
</property>
732+
</widget>
733+
</item>
734+
<item>
735+
<widget class="QRadioButton" name="radOrientationLine">
736+
<property name="text">
737+
<string>line</string>
738+
</property>
739+
</widget>
740+
</item>
741+
</layout>
742+
</item>
743+
<item>
744+
<layout class="QHBoxLayout" name="horizontalLayout_14">
745+
<item>
746+
<widget class="QLabel" name="label_26">
747+
<property name="text">
748+
<string>Label distance</string>
749+
</property>
750+
<property name="alignment">
751+
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
752+
</property>
753+
</widget>
754+
</item>
755+
<item>
756+
<widget class="QDoubleSpinBox" name="spinDistLine">
757+
<property name="decimals">
758+
<number>2</number>
759+
</property>
760+
</widget>
761+
</item>
762+
<item>
763+
<widget class="QLabel" name="label_27">
764+
<property name="text">
765+
<string>mm</string>
766+
</property>
767+
</widget>
768+
</item>
769+
</layout>
770+
</item>
771+
</layout>
772+
</widget>
773+
<widget class="QWidget" name="pageOptionsEmpty"/>
395774
</widget>
396775
</item>
397776
</layout>
398-
</item>
399-
<item row="2" column="0">
400-
<widget class="QLabel" name="label_29">
401-
<property name="sizePolicy">
402-
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
403-
<horstretch>0</horstretch>
404-
<verstretch>0</verstretch>
405-
</sizepolicy>
406-
</property>
407-
<property name="text">
408-
<string>Color</string>
409-
</property>
410-
<property name="alignment">
411-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
412-
</property>
413-
</widget>
414-
</item>
415-
<item row="2" column="1">
416-
<layout class="QHBoxLayout" name="horizontalLayout_16">
417-
<item>
418-
<widget class="QgsColorButton" name="btnTextColor">
419-
<property name="sizePolicy">
420-
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
421-
<horstretch>0</horstretch>
422-
<verstretch>0</verstretch>
423-
</sizepolicy>
424-
</property>
777+
</widget>
778+
</item>
779+
</layout>
780+
</widget>
781+
</widget>
782+
</item>
783+
</layout>
784+
</widget>
785+
<widget class="QWidget" name="tab_4">
786+
<attribute name="title">
787+
<string>Data defined settings</string>
788+
</attribute>
789+
<layout class="QGridLayout" name="gridLayout_3">
790+
<item row="3" column="1">
791+
<widget class="QScrollArea" name="scrollArea">
792+
<property name="widgetResizable">
793+
<bool>true</bool>
794+
</property>
795+
<widget class="QWidget" name="scrollAreaWidgetContents">
796+
<property name="geometry">
797+
<rect>
798+
<x>0</x>
799+
<y>0</y>
800+
<width>645</width>
801+
<height>615</height>
802+
</rect>
803+
</property>
804+
<layout class="QGridLayout" name="gridLayout_11">
805+
<item row="0" column="0">
806+
<widget class="QGroupBox" name="mFontAttributePropertiesGroupBox">
807+
<property name="sizePolicy">
808+
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
809+
<horstretch>0</horstretch>
810+
<verstretch>0</verstretch>
811+
</sizepolicy>
812+
</property>
813+
<property name="title">
814+
<string>Font properties</string>
815+
</property>
816+
<layout class="QGridLayout" name="gridLayout">
817+
<item row="0" column="0">
818+
<widget class="QLabel" name="mSizeLabel">
425819
<property name="text">
426-
<string/>
820+
<string>Size</string>
427821
</property>
428822
</widget>
429823
</item>
430-
<item>
431-
<spacer name="horizontalSpacer_7">
432-
<property name="orientation">
433-
<enum>Qt::Horizontal</enum>
434-
</property>
435-
<property name="sizeType">
436-
<enum>QSizePolicy::Preferred</enum>
824+
<item row="0" column="1">
825+
<widget class="QComboBox" name="mSizeAttributeComboBox"/>
826+
</item>
827+
<item row="1" column="0">
828+
<widget class="QLabel" name="mColorLabel">
829+
<property name="text">
830+
<string>Color</string>
437831
</property>
438-
<property name="sizeHint" stdset="0">
439-
<size>
440-
<width>142</width>
441-
<height>20</height>
442-
</size>
832+
</widget>
833+
</item>
834+
<item row="1" column="1">
835+
<widget class="QComboBox" name="mColorAttributeComboBox"/>
836+
</item>
837+
<item row="2" column="0">
838+
<widget class="QLabel" name="mBoldLabel">
839+
<property name="text">
840+
<string>Bold</string>
443841
</property>
444-
</spacer>
842+
</widget>
445843
</item>
446-
</layout>
447-
</item>
448-
<item row="3" column="0">
449-
<widget class="QLabel" name="label_30">
450-
<property name="text">
451-
<string>Buffer</string>
452-
</property>
453-
<property name="alignment">
454-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
455-
</property>
456-
</widget>
457-
</item>
458-
<item row="3" column="1">
459-
<layout class="QHBoxLayout" name="horizontalLayout_17">
460-
<item>
461-
<widget class="QCheckBox" name="chkBuffer">
462-
<property name="sizePolicy">
463-
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
464-
<horstretch>0</horstretch>
465-
<verstretch>0</verstretch>
466-
</sizepolicy>
844+
<item row="2" column="1">
845+
<widget class="QComboBox" name="mBoldAttributeComboBox"/>
846+
</item>
847+
<item row="3" column="0">
848+
<widget class="QLabel" name="mItalicLabel">
849+
<property name="text">
850+
<string>Italic</string>
467851
</property>
852+
</widget>
853+
</item>
854+
<item row="3" column="1">
855+
<widget class="QComboBox" name="mItalicAttributeComboBox"/>
856+
</item>
857+
<item row="4" column="0">
858+
<widget class="QLabel" name="mUnderlineLabel">
468859
<property name="text">
469-
<string/>
860+
<string>Underline</string>
470861
</property>
471862
</widget>
472863
</item>
473-
<item>
474-
<widget class="QLabel" name="label_31">
864+
<item row="4" column="1">
865+
<widget class="QComboBox" name="mUnderlineAttributeComboBox"/>
866+
</item>
867+
<item row="5" column="0">
868+
<widget class="QLabel" name="mStrikeoutLabel">
475869
<property name="text">
476-
<string>Size</string>
870+
<string>Strikeout</string>
477871
</property>
478-
<property name="alignment">
479-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
872+
</widget>
873+
</item>
874+
<item row="5" column="1">
875+
<widget class="QComboBox" name="mStrikeoutAttributeComboBox"/>
876+
</item>
877+
<item row="6" column="0">
878+
<widget class="QLabel" name="mFontFamilyLabel">
879+
<property name="text">
880+
<string>Font family</string>
480881
</property>
481882
</widget>
482883
</item>
483-
<item>
484-
<widget class="QDoubleSpinBox" name="spinBufferSize">
485-
<property name="suffix">
486-
<string> mm</string>
884+
<item row="6" column="1">
885+
<widget class="QComboBox" name="mFontFamilyAttributeComboBox"/>
886+
</item>
887+
</layout>
888+
</widget>
889+
</item>
890+
<item row="1" column="0">
891+
<widget class="QGroupBox" name="mBufferAttributesPropertiesGroupBox">
892+
<property name="title">
893+
<string>Buffer properties</string>
894+
</property>
895+
<layout class="QGridLayout" name="gridLayout_2">
896+
<item row="0" column="0">
897+
<widget class="QLabel" name="mBufferSizeLabel">
898+
<property name="text">
899+
<string>Buffer size</string>
487900
</property>
488901
</widget>
489902
</item>
490-
<item>
491-
<widget class="QLabel" name="label_32">
903+
<item row="0" column="1">
904+
<widget class="QComboBox" name="mBufferSizeAttributeComboBox"/>
905+
</item>
906+
<item row="1" column="0">
907+
<widget class="QLabel" name="mBufferColorLabel">
492908
<property name="text">
493-
<string>Color</string>
909+
<string>Buffer color</string>
494910
</property>
495-
<property name="alignment">
496-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
911+
</widget>
912+
</item>
913+
<item row="1" column="1">
914+
<widget class="QComboBox" name="mBufferColorAttributeComboBox"/>
915+
</item>
916+
</layout>
917+
</widget>
918+
</item>
919+
<item row="2" column="0">
920+
<widget class="QGroupBox" name="mPositionAttributeGroupBox">
921+
<property name="title">
922+
<string>Position</string>
923+
</property>
924+
<layout class="QGridLayout" name="gridLayout_4">
925+
<item row="1" column="0">
926+
<widget class="QLabel" name="mXCoordinateLabel">
927+
<property name="text">
928+
<string>X Coordinate</string>
497929
</property>
498930
</widget>
499931
</item>
500-
<item>
501-
<widget class="QgsColorButton" name="btnBufferColor">
502-
<property name="sizePolicy">
503-
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
504-
<horstretch>0</horstretch>
505-
<verstretch>0</verstretch>
506-
</sizepolicy>
932+
<item row="1" column="1">
933+
<widget class="QComboBox" name="mXCoordinateComboBox"/>
934+
</item>
935+
<item row="2" column="0">
936+
<widget class="QLabel" name="mYCoordinateLabel">
937+
<property name="text">
938+
<string>Y Coordinate</string>
507939
</property>
940+
</widget>
941+
</item>
942+
<item row="2" column="1">
943+
<widget class="QComboBox" name="mYCoordinateComboBox"/>
944+
</item>
945+
<item row="3" column="0">
946+
<widget class="QLabel" name="mHorizontalAlignmentLabel">
508947
<property name="text">
509-
<string>...</string>
948+
<string>Horizontal alignment</string>
510949
</property>
511950
</widget>
512951
</item>
513-
</layout>
514-
</item>
515-
<item row="5" column="0">
516-
<widget class="QLabel" name="label_33">
517-
<property name="sizePolicy">
518-
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
519-
<horstretch>0</horstretch>
520-
<verstretch>0</verstretch>
521-
</sizepolicy>
522-
</property>
523-
<property name="text">
524-
<string>Sample</string>
525-
</property>
526-
<property name="alignment">
527-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
528-
</property>
529-
</widget>
530-
</item>
531-
<item row="5" column="1">
532-
<widget class="QgsLabelPreview" name="lblFontPreview">
533-
<property name="sizePolicy">
534-
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
535-
<horstretch>0</horstretch>
536-
<verstretch>0</verstretch>
537-
</sizepolicy>
538-
</property>
539-
<property name="minimumSize">
540-
<size>
541-
<width>30</width>
542-
<height>30</height>
543-
</size>
544-
</property>
545-
<property name="text">
546-
<string>Lorem Ipsum</string>
547-
</property>
548-
<property name="alignment">
549-
<set>Qt::AlignCenter</set>
550-
</property>
551-
</widget>
552-
</item>
553-
<item row="4" column="0" colspan="2">
554-
<widget class="Line" name="line_4">
555-
<property name="orientation">
556-
<enum>Qt::Horizontal</enum>
557-
</property>
558-
</widget>
559-
</item>
560-
<item row="1" column="0">
561-
<widget class="QLabel" name="mFontSizeLabel">
562-
<property name="text">
563-
<string>Font size</string>
564-
</property>
565-
</widget>
566-
</item>
567-
<item row="1" column="1">
568-
<layout class="QHBoxLayout" name="horizontalLayout">
569-
<item>
570-
<widget class="QDoubleSpinBox" name="mFontSizeSpinBox">
571-
<property name="decimals">
572-
<number>4</number>
952+
<item row="3" column="1">
953+
<widget class="QComboBox" name="mHorizontalAlignmentComboBox"/>
954+
</item>
955+
<item row="4" column="0">
956+
<widget class="QLabel" name="mVerticalAlignmentLabel">
957+
<property name="text">
958+
<string>Vertical alignment</string>
573959
</property>
574-
<property name="maximum">
575-
<double>999999999.000000000000000</double>
960+
</widget>
961+
</item>
962+
<item row="4" column="1">
963+
<widget class="QComboBox" name="mVerticalAlignmentComboBox"/>
964+
</item>
965+
<item row="5" column="1">
966+
<widget class="QComboBox" name="mRotationComboBox"/>
967+
</item>
968+
<item row="5" column="0">
969+
<widget class="QLabel" name="mRotationLabel">
970+
<property name="text">
971+
<string>Rotation</string>
576972
</property>
577973
</widget>
578974
</item>
579-
<item>
580-
<widget class="QComboBox" name="mFontSizeUnitComboBox">
581-
<item>
582-
<property name="text">
583-
<string>In points</string>
584-
</property>
585-
</item>
586-
<item>
587-
<property name="text">
588-
<string>In map units</string>
589-
</property>
590-
</item>
975+
<item row="0" column="1">
976+
<widget class="QComboBox" name="mLabelDistanceComboBox"/>
977+
</item>
978+
<item row="0" column="0">
979+
<widget class="QLabel" name="mLabelDistanceLabel">
980+
<property name="text">
981+
<string>Label distance</string>
982+
</property>
591983
</widget>
592984
</item>
593985
</layout>
594-
</item>
595-
</layout>
596-
</widget>
597-
</item>
598-
<item row="0" column="1">
599-
<widget class="QGroupBox" name="groupBox_7">
600-
<property name="title">
601-
<string>Priority</string>
602-
</property>
603-
<layout class="QHBoxLayout" name="horizontalLayout_18">
604-
<item>
605-
<widget class="QLabel" name="label_34">
606-
<property name="text">
607-
<string>Low</string>
608-
</property>
609-
</widget>
610-
</item>
611-
<item>
612-
<widget class="QSlider" name="sliderPriority">
613-
<property name="maximum">
614-
<number>10</number>
615-
</property>
616-
<property name="value">
617-
<number>5</number>
618-
</property>
619-
<property name="orientation">
620-
<enum>Qt::Horizontal</enum>
621-
</property>
622-
<property name="tickPosition">
623-
<enum>QSlider::TicksBelow</enum>
624-
</property>
625-
<property name="tickInterval">
626-
<number>1</number>
627-
</property>
628-
</widget>
629-
</item>
630-
<item>
631-
<widget class="QLabel" name="label_35">
632-
<property name="text">
633-
<string>High</string>
634-
</property>
635-
</widget>
636-
</item>
637-
</layout>
638-
</widget>
639-
</item>
640-
<item row="1" column="1">
641-
<widget class="QGroupBox" name="groupBox_8">
642-
<property name="title">
643-
<string>Scale-based visibility</string>
644-
</property>
645-
<layout class="QGridLayout" name="gridLayout_10">
646-
<item row="0" column="0" colspan="2">
647-
<widget class="QCheckBox" name="chkScaleBasedVisibility">
648-
<property name="text">
649-
<string>Enabled</string>
650-
</property>
651-
</widget>
652-
</item>
653-
<item row="1" column="0">
654-
<widget class="QLabel" name="label_36">
655-
<property name="text">
656-
<string>Minimum</string>
657-
</property>
658-
<property name="alignment">
659-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
660-
</property>
661-
</widget>
662-
</item>
663-
<item row="1" column="1">
664-
<widget class="QSpinBox" name="spinScaleMin">
665-
<property name="minimum">
666-
<number>1</number>
667-
</property>
668-
<property name="maximum">
669-
<number>10000000</number>
670-
</property>
671-
</widget>
672-
</item>
673-
<item row="2" column="0">
674-
<widget class="QLabel" name="label_37">
675-
<property name="text">
676-
<string>Maximum</string>
677-
</property>
678-
<property name="alignment">
679-
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
680-
</property>
681-
</widget>
682-
</item>
683-
<item row="2" column="1">
684-
<widget class="QSpinBox" name="spinScaleMax">
685-
<property name="minimum">
686-
<number>1</number>
687-
</property>
688-
<property name="maximum">
689-
<number>10000000</number>
690-
</property>
691-
<property name="value">
692-
<number>10000000</number>
693-
</property>
694-
</widget>
695-
</item>
696-
</layout>
697-
</widget>
698-
</item>
699-
</layout>
700-
</item>
701-
<item row="4" column="0">
702-
<widget class="QCheckBox" name="chkLabelPerFeaturePart">
703-
<property name="text">
704-
<string>label every part of multi-part features</string>
705-
</property>
706-
</widget>
707-
</item>
708-
<item row="5" column="0">
709-
<widget class="QCheckBox" name="chkMergeLines">
710-
<property name="text">
711-
<string>merge connected lines to avoid duplicate labels</string>
712-
</property>
713-
</widget>
714-
</item>
715-
<item row="6" column="0">
716-
<widget class="QCheckBox" name="chkMultiLine">
717-
<property name="text">
718-
<string>multiline labels</string>
719-
</property>
720-
</widget>
721-
</item>
722-
<item row="8" column="0">
723-
<layout class="QHBoxLayout" name="horizontalLayout_19">
724-
<item>
725-
<widget class="QLabel" name="label_19">
726-
<property name="text">
727-
<string>Suppress labeling of features smaller than</string>
728-
</property>
729-
</widget>
730-
</item>
731-
<item>
732-
<widget class="QDoubleSpinBox" name="mMinSizeSpinBox">
733-
<property name="suffix">
734-
<string> mm</string>
735-
</property>
736-
</widget>
737-
</item>
738-
</layout>
739-
</item>
740-
<item row="9" column="0">
741-
<layout class="QHBoxLayout" name="horizontalLayout_20">
742-
<item>
743-
<widget class="QCheckBox" name="chkNoObstacle">
744-
<property name="enabled">
745-
<bool>true</bool>
746-
</property>
747-
<property name="text">
748-
<string>features don't act as obstacles for labels</string>
749-
</property>
750-
</widget>
751-
</item>
752-
<item>
753-
<spacer name="horizontalSpacer_8">
754-
<property name="orientation">
755-
<enum>Qt::Horizontal</enum>
756-
</property>
757-
<property name="sizeHint" stdset="0">
758-
<size>
759-
<width>40</width>
760-
<height>20</height>
761-
</size>
762-
</property>
763-
</spacer>
764-
</item>
765-
<item>
766-
<widget class="QPushButton" name="btnEngineSettings">
767-
<property name="enabled">
768-
<bool>true</bool>
769-
</property>
770-
<property name="text">
771-
<string>Engine settings</string>
772-
</property>
773-
</widget>
774-
</item>
775-
</layout>
776-
</item>
777-
<item row="7" column="0">
778-
<widget class="QCheckBox" name="chkAddDirectionSymbol">
779-
<property name="text">
780-
<string>add direction symbol</string>
781-
</property>
782-
</widget>
783-
</item>
784-
</layout>
785-
</widget>
786-
<widget class="QWidget" name="tab_4">
787-
<attribute name="title">
788-
<string>Data defined settings</string>
789-
</attribute>
790-
<layout class="QGridLayout" name="gridLayout_3">
791-
<item row="0" column="0">
792-
<widget class="QGroupBox" name="mFontAttributePropertiesGroupBox">
793-
<property name="sizePolicy">
794-
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
795-
<horstretch>0</horstretch>
796-
<verstretch>0</verstretch>
797-
</sizepolicy>
798-
</property>
799-
<property name="title">
800-
<string>Font properties</string>
801-
</property>
802-
<layout class="QGridLayout" name="gridLayout">
803-
<item row="0" column="0">
804-
<widget class="QLabel" name="mSizeLabel">
805-
<property name="text">
806-
<string>Size</string>
807-
</property>
808-
</widget>
809-
</item>
810-
<item row="0" column="1">
811-
<widget class="QComboBox" name="mSizeAttributeComboBox"/>
812-
</item>
813-
<item row="1" column="0">
814-
<widget class="QLabel" name="mColorLabel">
815-
<property name="text">
816-
<string>Color</string>
817-
</property>
818-
</widget>
819-
</item>
820-
<item row="1" column="1">
821-
<widget class="QComboBox" name="mColorAttributeComboBox"/>
822-
</item>
823-
<item row="2" column="0">
824-
<widget class="QLabel" name="mBoldLabel">
825-
<property name="text">
826-
<string>Bold</string>
827-
</property>
828-
</widget>
829-
</item>
830-
<item row="2" column="1">
831-
<widget class="QComboBox" name="mBoldAttributeComboBox"/>
832-
</item>
833-
<item row="3" column="0">
834-
<widget class="QLabel" name="mItalicLabel">
835-
<property name="text">
836-
<string>Italic</string>
837-
</property>
838-
</widget>
839-
</item>
840-
<item row="3" column="1">
841-
<widget class="QComboBox" name="mItalicAttributeComboBox"/>
842-
</item>
843-
<item row="4" column="0">
844-
<widget class="QLabel" name="mUnderlineLabel">
845-
<property name="text">
846-
<string>Underline</string>
847-
</property>
848-
</widget>
849-
</item>
850-
<item row="4" column="1">
851-
<widget class="QComboBox" name="mUnderlineAttributeComboBox"/>
852-
</item>
853-
<item row="5" column="0">
854-
<widget class="QLabel" name="mStrikeoutLabel">
855-
<property name="text">
856-
<string>Strikeout</string>
857-
</property>
858-
</widget>
859-
</item>
860-
<item row="5" column="1">
861-
<widget class="QComboBox" name="mStrikeoutAttributeComboBox"/>
862-
</item>
863-
<item row="6" column="0">
864-
<widget class="QLabel" name="mFontFamilyLabel">
865-
<property name="text">
866-
<string>Font family</string>
867-
</property>
868-
</widget>
869-
</item>
870-
<item row="6" column="1">
871-
<widget class="QComboBox" name="mFontFamilyAttributeComboBox"/>
872-
</item>
873-
</layout>
874-
</widget>
875-
</item>
876-
<item row="1" column="0">
877-
<widget class="QGroupBox" name="mBufferAttributesPropertiesGroupBox">
878-
<property name="title">
879-
<string>Buffer properties</string>
880-
</property>
881-
<layout class="QGridLayout" name="gridLayout_2">
882-
<item row="0" column="0">
883-
<widget class="QLabel" name="mBufferSizeLabel">
884-
<property name="text">
885-
<string>Buffer size</string>
886-
</property>
887-
</widget>
888-
</item>
889-
<item row="0" column="1">
890-
<widget class="QComboBox" name="mBufferSizeAttributeComboBox"/>
891-
</item>
892-
<item row="1" column="0">
893-
<widget class="QLabel" name="mBufferColorLabel">
894-
<property name="text">
895-
<string>Buffer color</string>
896-
</property>
897-
</widget>
898-
</item>
899-
<item row="1" column="1">
900-
<widget class="QComboBox" name="mBufferColorAttributeComboBox"/>
901-
</item>
902-
</layout>
903-
</widget>
904-
</item>
905-
<item row="2" column="0">
906-
<widget class="QGroupBox" name="mPositionAttributeGroupBox">
907-
<property name="title">
908-
<string>Position</string>
909-
</property>
910-
<layout class="QGridLayout" name="gridLayout_4">
911-
<item row="1" column="0">
912-
<widget class="QLabel" name="mXCoordinateLabel">
913-
<property name="text">
914-
<string>X Coordinate</string>
915-
</property>
916-
</widget>
917-
</item>
918-
<item row="1" column="1">
919-
<widget class="QComboBox" name="mXCoordinateComboBox"/>
920-
</item>
921-
<item row="2" column="0">
922-
<widget class="QLabel" name="mYCoordinateLabel">
923-
<property name="text">
924-
<string>Y Coordinate</string>
925-
</property>
926-
</widget>
927-
</item>
928-
<item row="2" column="1">
929-
<widget class="QComboBox" name="mYCoordinateComboBox"/>
930-
</item>
931-
<item row="3" column="0">
932-
<widget class="QLabel" name="mHorizontalAlignmentLabel">
933-
<property name="text">
934-
<string>Horizontal alignment</string>
935-
</property>
936-
</widget>
937-
</item>
938-
<item row="3" column="1">
939-
<widget class="QComboBox" name="mHorizontalAlignmentComboBox"/>
940-
</item>
941-
<item row="4" column="0">
942-
<widget class="QLabel" name="mVerticalAlignmentLabel">
943-
<property name="text">
944-
<string>Vertical alignment</string>
945-
</property>
946-
</widget>
947-
</item>
948-
<item row="4" column="1">
949-
<widget class="QComboBox" name="mVerticalAlignmentComboBox"/>
950-
</item>
951-
<item row="5" column="1">
952-
<widget class="QComboBox" name="mRotationComboBox"/>
953-
</item>
954-
<item row="5" column="0">
955-
<widget class="QLabel" name="mRotationLabel">
956-
<property name="text">
957-
<string>Rotation</string>
958-
</property>
959-
</widget>
960-
</item>
961-
<item row="0" column="1">
962-
<widget class="QComboBox" name="mLabelDistanceComboBox"/>
963-
</item>
964-
<item row="0" column="0">
965-
<widget class="QLabel" name="mLabelDistanceLabel">
966-
<property name="text">
967-
<string>Label distance</string>
968-
</property>
969-
</widget>
970-
</item>
971-
</layout>
986+
</widget>
987+
</item>
988+
</layout>
989+
</widget>
972990
</widget>
973991
</item>
974-
<item row="3" column="0">
975-
<spacer name="verticalSpacer">
976-
<property name="orientation">
977-
<enum>Qt::Vertical</enum>
978-
</property>
979-
<property name="sizeHint" stdset="0">
980-
<size>
981-
<width>20</width>
982-
<height>521</height>
983-
</size>
984-
</property>
985-
</spacer>
986-
</item>
987992
</layout>
988993
</widget>
989994
</widget>
990995
</item>
991-
<item row="1" column="0">
996+
<item row="3" column="0">
992997
<widget class="QDialogButtonBox" name="buttonBox">
993998
<property name="orientation">
994999
<enum>Qt::Horizontal</enum>

0 commit comments

Comments
 (0)
Please sign in to comment.