|
61 | 61 | <rect>
|
62 | 62 | <x>0</x>
|
63 | 63 | <y>0</y>
|
64 |
| - <width>302</width> |
65 |
| - <height>686</height> |
| 64 | + <width>446</width> |
| 65 | + <height>665</height> |
66 | 66 | </rect>
|
67 | 67 | </property>
|
68 | 68 | <layout class="QVBoxLayout" name="mainLayout">
|
|
126 | 126 | <bool>false</bool>
|
127 | 127 | </property>
|
128 | 128 | <layout class="QGridLayout" name="gridLayout">
|
129 |
| - <item row="1" column="0"> |
130 |
| - <widget class="QLabel" name="label_2"> |
| 129 | + <item row="4" column="0" colspan="2"> |
| 130 | + <widget class="QLabel" name="mHorizontalAlignementLabel"> |
131 | 131 | <property name="text">
|
132 |
| - <string>Font color</string> |
| 132 | + <string>Horizontal alignment</string> |
133 | 133 | </property>
|
134 | 134 | </widget>
|
135 | 135 | </item>
|
136 |
| - <item row="7" column="0" colspan="2"> |
| 136 | + <item row="3" column="1"> |
| 137 | + <widget class="QgsDoubleSpinBox" name="mMarginYDoubleSpinBox"> |
| 138 | + <property name="suffix"> |
| 139 | + <string> mm</string> |
| 140 | + </property> |
| 141 | + <property name="minimum"> |
| 142 | + <double>-99.989999999999995</double> |
| 143 | + </property> |
| 144 | + </widget> |
| 145 | + </item> |
| 146 | + <item row="8" column="0" colspan="2"> |
137 | 147 | <layout class="QHBoxLayout" name="horizontalLayout_6">
|
138 | 148 | <item>
|
139 | 149 | <widget class="QRadioButton" name="mTopRadioButton">
|
|
180 | 190 | </item>
|
181 | 191 | </layout>
|
182 | 192 | </item>
|
| 193 | + <item row="3" column="0"> |
| 194 | + <widget class="QLabel" name="mMarginYLabel"> |
| 195 | + <property name="text"> |
| 196 | + <string>Vertical margin</string> |
| 197 | + </property> |
| 198 | + </widget> |
| 199 | + </item> |
| 200 | + <item row="2" column="0"> |
| 201 | + <widget class="QLabel" name="mMarginXLabel"> |
| 202 | + <property name="text"> |
| 203 | + <string>Horizontal margin</string> |
| 204 | + </property> |
| 205 | + </widget> |
| 206 | + </item> |
183 | 207 | <item row="2" column="1">
|
184 | 208 | <widget class="QgsDoubleSpinBox" name="mMarginXDoubleSpinBox">
|
185 | 209 | <property name="prefix">
|
|
193 | 217 | </property>
|
194 | 218 | </widget>
|
195 | 219 | </item>
|
196 |
| - <item row="5" column="0" colspan="2"> |
197 |
| - <layout class="QHBoxLayout" name="horizontalLayout_5"> |
198 |
| - <item> |
| 220 | + <item row="1" column="0"> |
| 221 | + <widget class="QLabel" name="label_2"> |
| 222 | + <property name="text"> |
| 223 | + <string>Font color</string> |
| 224 | + </property> |
| 225 | + </widget> |
| 226 | + </item> |
| 227 | + <item row="5" column="0"> |
| 228 | + <layout class="QGridLayout" name="gridLayout_3"> |
| 229 | + <item row="0" column="0"> |
199 | 230 | <widget class="QRadioButton" name="mLeftRadioButton">
|
200 | 231 | <property name="text">
|
201 | 232 | <string>Left</string>
|
|
205 | 236 | </attribute>
|
206 | 237 | </widget>
|
207 | 238 | </item>
|
208 |
| - <item> |
209 |
| - <widget class="QRadioButton" name="mCenterRadioButton"> |
| 239 | + <item row="0" column="3"> |
| 240 | + <widget class="QRadioButton" name="mJustifyRadioButton"> |
210 | 241 | <property name="text">
|
211 |
| - <string>Center</string> |
| 242 | + <string>Justify</string> |
212 | 243 | </property>
|
213 | 244 | <attribute name="buttonGroup">
|
214 | 245 | <string notr="true">buttonGroup_2</string>
|
215 | 246 | </attribute>
|
216 | 247 | </widget>
|
217 | 248 | </item>
|
218 |
| - <item> |
| 249 | + <item row="0" column="2"> |
219 | 250 | <widget class="QRadioButton" name="mRightRadioButton">
|
220 | 251 | <property name="text">
|
221 | 252 | <string>Right</string>
|
|
225 | 256 | </attribute>
|
226 | 257 | </widget>
|
227 | 258 | </item>
|
228 |
| - <item> |
229 |
| - <spacer name="horizontalSpacer_4"> |
230 |
| - <property name="orientation"> |
231 |
| - <enum>Qt::Horizontal</enum> |
232 |
| - </property> |
233 |
| - <property name="sizeHint" stdset="0"> |
234 |
| - <size> |
235 |
| - <width>0</width> |
236 |
| - <height>20</height> |
237 |
| - </size> |
| 259 | + <item row="0" column="1"> |
| 260 | + <widget class="QRadioButton" name="mCenterRadioButton"> |
| 261 | + <property name="text"> |
| 262 | + <string>Center</string> |
238 | 263 | </property>
|
239 |
| - </spacer> |
| 264 | + <attribute name="buttonGroup"> |
| 265 | + <string notr="true">buttonGroup_2</string> |
| 266 | + </attribute> |
| 267 | + </widget> |
240 | 268 | </item>
|
241 | 269 | </layout>
|
242 | 270 | </item>
|
243 |
| - <item row="4" column="0" colspan="2"> |
244 |
| - <widget class="QLabel" name="mHorizontalAlignementLabel"> |
245 |
| - <property name="text"> |
246 |
| - <string>Horizontal alignment</string> |
247 |
| - </property> |
248 |
| - </widget> |
249 |
| - </item> |
250 |
| - <item row="6" column="0" colspan="2"> |
| 271 | + <item row="7" column="0" colspan="2"> |
251 | 272 | <widget class="QLabel" name="mVerticalAlignementLabel">
|
252 | 273 | <property name="text">
|
253 | 274 | <string>Vertical alignment</string>
|
254 | 275 | </property>
|
255 | 276 | </widget>
|
256 | 277 | </item>
|
257 |
| - <item row="2" column="0"> |
258 |
| - <widget class="QLabel" name="mMarginXLabel"> |
| 278 | + <item row="0" column="0" colspan="2"> |
| 279 | + <widget class="QgsFontButton" name="mFontButton"> |
| 280 | + <property name="sizePolicy"> |
| 281 | + <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
| 282 | + <horstretch>0</horstretch> |
| 283 | + <verstretch>0</verstretch> |
| 284 | + </sizepolicy> |
| 285 | + </property> |
259 | 286 | <property name="text">
|
260 |
| - <string>Horizontal margin</string> |
| 287 | + <string>Font</string> |
261 | 288 | </property>
|
262 | 289 | </widget>
|
263 | 290 | </item>
|
|
297 | 324 | </item>
|
298 | 325 | </layout>
|
299 | 326 | </item>
|
300 |
| - <item row="3" column="1"> |
301 |
| - <widget class="QgsDoubleSpinBox" name="mMarginYDoubleSpinBox"> |
302 |
| - <property name="suffix"> |
303 |
| - <string> mm</string> |
304 |
| - </property> |
305 |
| - <property name="minimum"> |
306 |
| - <double>-99.989999999999995</double> |
307 |
| - </property> |
308 |
| - </widget> |
309 |
| - </item> |
310 |
| - <item row="3" column="0"> |
311 |
| - <widget class="QLabel" name="mMarginYLabel"> |
312 |
| - <property name="text"> |
313 |
| - <string>Vertical margin</string> |
314 |
| - </property> |
315 |
| - </widget> |
316 |
| - </item> |
317 |
| - <item row="0" column="0" colspan="2"> |
318 |
| - <widget class="QgsFontButton" name="mFontButton"> |
319 |
| - <property name="sizePolicy"> |
320 |
| - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> |
321 |
| - <horstretch>0</horstretch> |
322 |
| - <verstretch>0</verstretch> |
323 |
| - </sizepolicy> |
324 |
| - </property> |
325 |
| - <property name="text"> |
326 |
| - <string>Font</string> |
327 |
| - </property> |
328 |
| - </widget> |
329 |
| - </item> |
330 | 327 | </layout>
|
331 | 328 | </widget>
|
332 | 329 | </item>
|
|
388 | 385 | <resources/>
|
389 | 386 | <connections/>
|
390 | 387 | <buttongroups>
|
391 |
| - <buttongroup name="buttonGroup"/> |
392 | 388 | <buttongroup name="buttonGroup_2"/>
|
| 389 | + <buttongroup name="buttonGroup"/> |
393 | 390 | </buttongroups>
|
394 | 391 | </ui>
|
1 commit comments
andreasneumann commentedon Sep 4, 2017
Nice - Thanks!