|
6 | 6 | <rect>
|
7 | 7 | <x>0</x>
|
8 | 8 | <y>0</y>
|
9 |
| - <width>326</width> |
10 |
| - <height>535</height> |
| 9 | + <width>411</width> |
| 10 | + <height>570</height> |
11 | 11 | </rect>
|
12 | 12 | </property>
|
13 | 13 | <property name="windowTitle">
|
|
34 | 34 | <string>Font</string>
|
35 | 35 | </property>
|
36 | 36 | <layout class="QGridLayout" name="gridLayout">
|
| 37 | + <item row="0" column="1"> |
| 38 | + <widget class="QgsColorButton" name="mFontColorButton"> |
| 39 | + <property name="sizePolicy"> |
| 40 | + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
| 41 | + <horstretch>0</horstretch> |
| 42 | + <verstretch>0</verstretch> |
| 43 | + </sizepolicy> |
| 44 | + </property> |
| 45 | + <property name="text"> |
| 46 | + <string/> |
| 47 | + </property> |
| 48 | + </widget> |
| 49 | + </item> |
| 50 | + <item row="0" column="2"> |
| 51 | + <widget class="QPushButton" name="mFontPushButton"> |
| 52 | + <property name="text"> |
| 53 | + <string>Font</string> |
| 54 | + </property> |
| 55 | + </widget> |
| 56 | + </item> |
37 | 57 | <item row="0" column="0">
|
38 | 58 | <layout class="QHBoxLayout" name="horizontalLayout">
|
39 | 59 | <item>
|
40 | 60 | <widget class="QLabel" name="mFontSizeLabel">
|
| 61 | + <property name="sizePolicy"> |
| 62 | + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> |
| 63 | + <horstretch>0</horstretch> |
| 64 | + <verstretch>0</verstretch> |
| 65 | + </sizepolicy> |
| 66 | + </property> |
41 | 67 | <property name="text">
|
42 | 68 | <string>Size</string>
|
43 | 69 | </property>
|
|
52 | 78 | </item>
|
53 | 79 | </layout>
|
54 | 80 | </item>
|
55 |
| - <item row="0" column="2"> |
56 |
| - <widget class="QPushButton" name="mFontPushButton"> |
| 81 | + </layout> |
| 82 | + </widget> |
| 83 | + </item> |
| 84 | + <item row="1" column="0"> |
| 85 | + <widget class="QGroupBox" name="groupBox"> |
| 86 | + <property name="title"> |
| 87 | + <string>Display</string> |
| 88 | + </property> |
| 89 | + <layout class="QGridLayout" name="gridLayout_5"> |
| 90 | + <item row="0" column="0" colspan="3"> |
| 91 | + <widget class="QCheckBox" name="mShowLabelChkbx"> |
57 | 92 | <property name="text">
|
58 |
| - <string>Font</string> |
| 93 | + <string>Show label</string> |
59 | 94 | </property>
|
60 | 95 | </widget>
|
61 | 96 | </item>
|
62 |
| - <item row="0" column="1"> |
63 |
| - <widget class="QgsColorButton" name="mFontColorButton"> |
| 97 | + <item row="1" column="2"> |
| 98 | + <widget class="QSpinBox" name="mMaxScaleSpinBox"> |
| 99 | + <property name="prefix"> |
| 100 | + <string>Max </string> |
| 101 | + </property> |
| 102 | + <property name="minimum"> |
| 103 | + <number>1</number> |
| 104 | + </property> |
| 105 | + <property name="maximum"> |
| 106 | + <number>999999999</number> |
| 107 | + </property> |
| 108 | + <property name="value"> |
| 109 | + <number>10000000</number> |
| 110 | + </property> |
| 111 | + </widget> |
| 112 | + </item> |
| 113 | + <item row="1" column="1"> |
| 114 | + <widget class="QSpinBox" name="mMinScaleSpinBox"> |
| 115 | + <property name="prefix"> |
| 116 | + <string>Min </string> |
| 117 | + </property> |
| 118 | + <property name="minimum"> |
| 119 | + <number>1</number> |
| 120 | + </property> |
| 121 | + <property name="maximum"> |
| 122 | + <number>999999999</number> |
| 123 | + </property> |
| 124 | + </widget> |
| 125 | + </item> |
| 126 | + <item row="1" column="0"> |
| 127 | + <widget class="QLabel" name="label"> |
64 | 128 | <property name="sizePolicy">
|
65 |
| - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
| 129 | + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> |
66 | 130 | <horstretch>0</horstretch>
|
67 | 131 | <verstretch>0</verstretch>
|
68 | 132 | </sizepolicy>
|
69 | 133 | </property>
|
70 | 134 | <property name="text">
|
71 |
| - <string/> |
| 135 | + <string>Scale-based</string> |
72 | 136 | </property>
|
73 | 137 | </widget>
|
74 | 138 | </item>
|
|
85 | 149 | <layout class="QHBoxLayout" name="horizontalLayout_2">
|
86 | 150 | <item>
|
87 | 151 | <widget class="QLabel" name="mBufferSizeLabel">
|
| 152 | + <property name="sizePolicy"> |
| 153 | + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> |
| 154 | + <horstretch>0</horstretch> |
| 155 | + <verstretch>0</verstretch> |
| 156 | + </sizepolicy> |
| 157 | + </property> |
88 | 158 | <property name="text">
|
89 | 159 | <string>Size</string>
|
90 | 160 | </property>
|
|
123 | 193 | <layout class="QGridLayout" name="gridLayout_3">
|
124 | 194 | <item row="0" column="0">
|
125 | 195 | <widget class="QLabel" name="mLabelDistanceLabel">
|
| 196 | + <property name="sizePolicy"> |
| 197 | + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> |
| 198 | + <horstretch>0</horstretch> |
| 199 | + <verstretch>0</verstretch> |
| 200 | + </sizepolicy> |
| 201 | + </property> |
126 | 202 | <property name="text">
|
127 | 203 | <string>Label distance</string>
|
128 | 204 | </property>
|
129 | 205 | </widget>
|
130 | 206 | </item>
|
131 | 207 | <item row="0" column="1">
|
132 |
| - <widget class="QDoubleSpinBox" name="mLabelDistanceSpinBox"/> |
| 208 | + <widget class="QDoubleSpinBox" name="mLabelDistanceSpinBox"> |
| 209 | + <property name="alignment"> |
| 210 | + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 211 | + </property> |
| 212 | + </widget> |
133 | 213 | </item>
|
134 | 214 | <item row="1" column="0">
|
135 | 215 | <widget class="QLabel" name="mXCoordLabel">
|
| 216 | + <property name="sizePolicy"> |
| 217 | + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> |
| 218 | + <horstretch>0</horstretch> |
| 219 | + <verstretch>0</verstretch> |
| 220 | + </sizepolicy> |
| 221 | + </property> |
136 | 222 | <property name="text">
|
137 | 223 | <string>X Coordinate</string>
|
138 | 224 | </property>
|
139 | 225 | </widget>
|
140 | 226 | </item>
|
141 | 227 | <item row="1" column="1">
|
142 | 228 | <widget class="QDoubleSpinBox" name="mXCoordSpinBox">
|
| 229 | + <property name="alignment"> |
| 230 | + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 231 | + </property> |
143 | 232 | <property name="minimum">
|
144 | 233 | <double>-999999999.000000000000000</double>
|
145 | 234 | </property>
|
|
150 | 239 | </item>
|
151 | 240 | <item row="2" column="0">
|
152 | 241 | <widget class="QLabel" name="mYCoordLabel">
|
| 242 | + <property name="sizePolicy"> |
| 243 | + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> |
| 244 | + <horstretch>0</horstretch> |
| 245 | + <verstretch>0</verstretch> |
| 246 | + </sizepolicy> |
| 247 | + </property> |
153 | 248 | <property name="text">
|
154 | 249 | <string>Y Coordinate</string>
|
155 | 250 | </property>
|
156 | 251 | </widget>
|
157 | 252 | </item>
|
158 | 253 | <item row="2" column="1">
|
159 | 254 | <widget class="QDoubleSpinBox" name="mYCoordSpinBox">
|
| 255 | + <property name="alignment"> |
| 256 | + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 257 | + </property> |
160 | 258 | <property name="minimum">
|
161 | 259 | <double>-999999999.000000000000000</double>
|
162 | 260 | </property>
|
|
167 | 265 | </item>
|
168 | 266 | <item row="3" column="0">
|
169 | 267 | <widget class="QLabel" name="mHaliLabel">
|
| 268 | + <property name="sizePolicy"> |
| 269 | + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> |
| 270 | + <horstretch>0</horstretch> |
| 271 | + <verstretch>0</verstretch> |
| 272 | + </sizepolicy> |
| 273 | + </property> |
170 | 274 | <property name="text">
|
171 | 275 | <string>Horizontal alignment</string>
|
172 | 276 | </property>
|
173 | 277 | </widget>
|
174 | 278 | </item>
|
175 | 279 | <item row="3" column="1">
|
176 |
| - <widget class="QComboBox" name="mHaliComboBox"/> |
| 280 | + <widget class="QComboBox" name="mHaliComboBox"> |
| 281 | + <property name="layoutDirection"> |
| 282 | + <enum>Qt::RightToLeft</enum> |
| 283 | + </property> |
| 284 | + </widget> |
177 | 285 | </item>
|
178 | 286 | <item row="4" column="0">
|
179 | 287 | <widget class="QLabel" name="mValiLabel">
|
| 288 | + <property name="sizePolicy"> |
| 289 | + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> |
| 290 | + <horstretch>0</horstretch> |
| 291 | + <verstretch>0</verstretch> |
| 292 | + </sizepolicy> |
| 293 | + </property> |
180 | 294 | <property name="text">
|
181 | 295 | <string>Vertical alignment</string>
|
182 | 296 | </property>
|
183 | 297 | </widget>
|
184 | 298 | </item>
|
185 | 299 | <item row="4" column="1">
|
186 |
| - <widget class="QComboBox" name="mValiComboBox"/> |
| 300 | + <widget class="QComboBox" name="mValiComboBox"> |
| 301 | + <property name="layoutDirection"> |
| 302 | + <enum>Qt::RightToLeft</enum> |
| 303 | + </property> |
| 304 | + </widget> |
187 | 305 | </item>
|
188 | 306 | <item row="5" column="0">
|
189 | 307 | <widget class="QLabel" name="mRotationLabel">
|
| 308 | + <property name="sizePolicy"> |
| 309 | + <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> |
| 310 | + <horstretch>0</horstretch> |
| 311 | + <verstretch>0</verstretch> |
| 312 | + </sizepolicy> |
| 313 | + </property> |
190 | 314 | <property name="text">
|
191 | 315 | <string>Rotation</string>
|
192 | 316 | </property>
|
193 | 317 | </widget>
|
194 | 318 | </item>
|
195 | 319 | <item row="5" column="1">
|
196 | 320 | <widget class="QDoubleSpinBox" name="mRotationSpinBox">
|
| 321 | + <property name="alignment"> |
| 322 | + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
| 323 | + </property> |
197 | 324 | <property name="maximum">
|
198 | 325 | <double>360.000000000000000</double>
|
199 | 326 | </property>
|
|
212 | 339 | </property>
|
213 | 340 | </widget>
|
214 | 341 | </item>
|
215 |
| - <item row="1" column="0"> |
216 |
| - <widget class="QGroupBox" name="groupBox"> |
217 |
| - <property name="title"> |
218 |
| - <string>Display</string> |
219 |
| - </property> |
220 |
| - <layout class="QGridLayout" name="gridLayout_5"> |
221 |
| - <item row="0" column="0"> |
222 |
| - <widget class="QCheckBox" name="mShowLabelChkbx"> |
223 |
| - <property name="text"> |
224 |
| - <string>Show label</string> |
225 |
| - </property> |
226 |
| - </widget> |
227 |
| - </item> |
228 |
| - </layout> |
229 |
| - </widget> |
230 |
| - </item> |
231 | 342 | </layout>
|
232 | 343 | </widget>
|
233 | 344 | <customwidgets>
|
|
246 | 357 | <slot>accept()</slot>
|
247 | 358 | <hints>
|
248 | 359 | <hint type="sourcelabel">
|
249 |
| - <x>248</x> |
250 |
| - <y>254</y> |
| 360 | + <x>254</x> |
| 361 | + <y>604</y> |
251 | 362 | </hint>
|
252 | 363 | <hint type="destinationlabel">
|
253 | 364 | <x>157</x>
|
|
262 | 373 | <slot>reject()</slot>
|
263 | 374 | <hints>
|
264 | 375 | <hint type="sourcelabel">
|
265 |
| - <x>316</x> |
266 |
| - <y>260</y> |
| 376 | + <x>322</x> |
| 377 | + <y>604</y> |
267 | 378 | </hint>
|
268 | 379 | <hint type="destinationlabel">
|
269 | 380 | <x>286</x>
|
|
0 commit comments