| 1 | <ui version="4.0" >
|
|---|
| 2 | <class>QPageSetupWidget</class>
|
|---|
| 3 | <widget class="QWidget" name="QPageSetupWidget" >
|
|---|
| 4 | <property name="geometry" >
|
|---|
| 5 | <rect>
|
|---|
| 6 | <x>0</x>
|
|---|
| 7 | <y>0</y>
|
|---|
| 8 | <width>416</width>
|
|---|
| 9 | <height>488</height>
|
|---|
| 10 | </rect>
|
|---|
| 11 | </property>
|
|---|
| 12 | <property name="windowTitle" >
|
|---|
| 13 | <string>Form</string>
|
|---|
| 14 | </property>
|
|---|
| 15 | <layout class="QGridLayout" name="gridLayout_3" >
|
|---|
| 16 | <property name="margin" >
|
|---|
| 17 | <number>0</number>
|
|---|
| 18 | </property>
|
|---|
| 19 | <item row="0" column="0" colspan="2" >
|
|---|
| 20 | <layout class="QHBoxLayout" name="horizontalLayout_4" >
|
|---|
| 21 | <item>
|
|---|
| 22 | <widget class="QComboBox" name="unit" />
|
|---|
| 23 | </item>
|
|---|
| 24 | <item>
|
|---|
| 25 | <spacer name="horizontalSpacer_3" >
|
|---|
| 26 | <property name="orientation" >
|
|---|
| 27 | <enum>Qt::Horizontal</enum>
|
|---|
| 28 | </property>
|
|---|
| 29 | <property name="sizeHint" stdset="0" >
|
|---|
| 30 | <size>
|
|---|
| 31 | <width>40</width>
|
|---|
| 32 | <height>20</height>
|
|---|
| 33 | </size>
|
|---|
| 34 | </property>
|
|---|
| 35 | </spacer>
|
|---|
| 36 | </item>
|
|---|
| 37 | </layout>
|
|---|
| 38 | </item>
|
|---|
| 39 | <item row="1" column="0" colspan="2" >
|
|---|
| 40 | <widget class="QGroupBox" name="groupBox_2" >
|
|---|
| 41 | <property name="title" >
|
|---|
| 42 | <string>Paper</string>
|
|---|
| 43 | </property>
|
|---|
| 44 | <layout class="QGridLayout" name="gridLayout_2" >
|
|---|
| 45 | <item row="0" column="0" >
|
|---|
| 46 | <widget class="QLabel" name="pageSizeLabel" >
|
|---|
| 47 | <property name="text" >
|
|---|
| 48 | <string>Page size:</string>
|
|---|
| 49 | </property>
|
|---|
| 50 | <property name="buddy" >
|
|---|
| 51 | <cstring>paperSize</cstring>
|
|---|
| 52 | </property>
|
|---|
| 53 | </widget>
|
|---|
| 54 | </item>
|
|---|
| 55 | <item row="0" column="1" >
|
|---|
| 56 | <widget class="QComboBox" name="paperSize" />
|
|---|
| 57 | </item>
|
|---|
| 58 | <item row="1" column="0" >
|
|---|
| 59 | <widget class="QLabel" name="widthLabel" >
|
|---|
| 60 | <property name="text" >
|
|---|
| 61 | <string>Width:</string>
|
|---|
| 62 | </property>
|
|---|
| 63 | <property name="buddy" >
|
|---|
| 64 | <cstring>paperWidth</cstring>
|
|---|
| 65 | </property>
|
|---|
| 66 | </widget>
|
|---|
| 67 | </item>
|
|---|
| 68 | <item row="1" column="1" >
|
|---|
| 69 | <layout class="QHBoxLayout" name="horizontalLayout_3" >
|
|---|
| 70 | <item>
|
|---|
| 71 | <widget class="QDoubleSpinBox" name="paperWidth" >
|
|---|
| 72 | <property name="maximum" >
|
|---|
| 73 | <double>9999.989999999999782</double>
|
|---|
| 74 | </property>
|
|---|
| 75 | </widget>
|
|---|
| 76 | </item>
|
|---|
| 77 | <item>
|
|---|
| 78 | <widget class="QLabel" name="heightLabel" >
|
|---|
| 79 | <property name="text" >
|
|---|
| 80 | <string>Height:</string>
|
|---|
| 81 | </property>
|
|---|
| 82 | <property name="buddy" >
|
|---|
| 83 | <cstring>paperHeight</cstring>
|
|---|
| 84 | </property>
|
|---|
| 85 | </widget>
|
|---|
| 86 | </item>
|
|---|
| 87 | <item>
|
|---|
| 88 | <widget class="QDoubleSpinBox" name="paperHeight" >
|
|---|
| 89 | <property name="maximum" >
|
|---|
| 90 | <double>9999.989999999999782</double>
|
|---|
| 91 | </property>
|
|---|
| 92 | </widget>
|
|---|
| 93 | </item>
|
|---|
| 94 | </layout>
|
|---|
| 95 | </item>
|
|---|
| 96 | <item row="2" column="0" >
|
|---|
| 97 | <widget class="QLabel" name="paperSourceLabel" >
|
|---|
| 98 | <property name="text" >
|
|---|
| 99 | <string>Paper source:</string>
|
|---|
| 100 | </property>
|
|---|
| 101 | <property name="buddy" >
|
|---|
| 102 | <cstring>paperSource</cstring>
|
|---|
| 103 | </property>
|
|---|
| 104 | </widget>
|
|---|
| 105 | </item>
|
|---|
| 106 | <item row="2" column="1" >
|
|---|
| 107 | <widget class="QComboBox" name="paperSource" />
|
|---|
| 108 | </item>
|
|---|
| 109 | <item row="1" column="2" >
|
|---|
| 110 | <spacer name="horizontalSpacer_4" >
|
|---|
| 111 | <property name="orientation" >
|
|---|
| 112 | <enum>Qt::Horizontal</enum>
|
|---|
| 113 | </property>
|
|---|
| 114 | <property name="sizeHint" stdset="0" >
|
|---|
| 115 | <size>
|
|---|
| 116 | <width>40</width>
|
|---|
| 117 | <height>20</height>
|
|---|
| 118 | </size>
|
|---|
| 119 | </property>
|
|---|
| 120 | </spacer>
|
|---|
| 121 | </item>
|
|---|
| 122 | </layout>
|
|---|
| 123 | </widget>
|
|---|
| 124 | </item>
|
|---|
| 125 | <item row="2" column="0" >
|
|---|
| 126 | <widget class="QGroupBox" name="groupBox_3" >
|
|---|
| 127 | <property name="title" >
|
|---|
| 128 | <string>Orientation</string>
|
|---|
| 129 | </property>
|
|---|
| 130 | <layout class="QVBoxLayout" name="verticalLayout" >
|
|---|
| 131 | <item>
|
|---|
| 132 | <widget class="QRadioButton" name="portrait" >
|
|---|
| 133 | <property name="text" >
|
|---|
| 134 | <string>Portrait</string>
|
|---|
| 135 | </property>
|
|---|
| 136 | <property name="checked" >
|
|---|
| 137 | <bool>true</bool>
|
|---|
| 138 | </property>
|
|---|
| 139 | </widget>
|
|---|
| 140 | </item>
|
|---|
| 141 | <item>
|
|---|
| 142 | <widget class="QRadioButton" name="landscape" >
|
|---|
| 143 | <property name="text" >
|
|---|
| 144 | <string>Landscape</string>
|
|---|
| 145 | </property>
|
|---|
| 146 | </widget>
|
|---|
| 147 | </item>
|
|---|
| 148 | <item>
|
|---|
| 149 | <widget class="QRadioButton" name="reverseLandscape" >
|
|---|
| 150 | <property name="text" >
|
|---|
| 151 | <string>Reverse landscape</string>
|
|---|
| 152 | </property>
|
|---|
| 153 | </widget>
|
|---|
| 154 | </item>
|
|---|
| 155 | <item>
|
|---|
| 156 | <widget class="QRadioButton" name="reversePortrait" >
|
|---|
| 157 | <property name="text" >
|
|---|
| 158 | <string>Reverse portrait</string>
|
|---|
| 159 | </property>
|
|---|
| 160 | </widget>
|
|---|
| 161 | </item>
|
|---|
| 162 | <item>
|
|---|
| 163 | <spacer name="verticalSpacer_5" >
|
|---|
| 164 | <property name="orientation" >
|
|---|
| 165 | <enum>Qt::Vertical</enum>
|
|---|
| 166 | </property>
|
|---|
| 167 | <property name="sizeHint" stdset="0" >
|
|---|
| 168 | <size>
|
|---|
| 169 | <width>0</width>
|
|---|
| 170 | <height>0</height>
|
|---|
| 171 | </size>
|
|---|
| 172 | </property>
|
|---|
| 173 | </spacer>
|
|---|
| 174 | </item>
|
|---|
| 175 | </layout>
|
|---|
| 176 | </widget>
|
|---|
| 177 | </item>
|
|---|
| 178 | <item rowspan="2" row="2" column="1" >
|
|---|
| 179 | <widget class="QWidget" native="1" name="preview" />
|
|---|
| 180 | </item>
|
|---|
| 181 | <item row="3" column="0" >
|
|---|
| 182 | <widget class="QGroupBox" name="groupBox" >
|
|---|
| 183 | <property name="title" >
|
|---|
| 184 | <string>Margins</string>
|
|---|
| 185 | </property>
|
|---|
| 186 | <layout class="QHBoxLayout" name="horizontalLayout_2" >
|
|---|
| 187 | <item>
|
|---|
| 188 | <layout class="QGridLayout" name="gridLayout" >
|
|---|
| 189 | <item row="0" column="1" >
|
|---|
| 190 | <widget class="QDoubleSpinBox" name="topMargin" >
|
|---|
| 191 | <property name="toolTip" >
|
|---|
| 192 | <string>top margin</string>
|
|---|
| 193 | </property>
|
|---|
| 194 | <property name="accessibleName" >
|
|---|
| 195 | <string>top margin</string>
|
|---|
| 196 | </property>
|
|---|
| 197 | <property name="alignment" >
|
|---|
| 198 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|---|
| 199 | </property>
|
|---|
| 200 | <property name="maximum" >
|
|---|
| 201 | <double>999.990000000000009</double>
|
|---|
| 202 | </property>
|
|---|
| 203 | </widget>
|
|---|
| 204 | </item>
|
|---|
| 205 | <item row="1" column="0" colspan="3" >
|
|---|
| 206 | <layout class="QHBoxLayout" name="horizontalLayout" >
|
|---|
| 207 | <item>
|
|---|
| 208 | <spacer name="horizontalSpacer_7" >
|
|---|
| 209 | <property name="orientation" >
|
|---|
| 210 | <enum>Qt::Horizontal</enum>
|
|---|
| 211 | </property>
|
|---|
| 212 | <property name="sizeHint" stdset="0" >
|
|---|
| 213 | <size>
|
|---|
| 214 | <width>0</width>
|
|---|
| 215 | <height>20</height>
|
|---|
| 216 | </size>
|
|---|
| 217 | </property>
|
|---|
| 218 | </spacer>
|
|---|
| 219 | </item>
|
|---|
| 220 | <item>
|
|---|
| 221 | <widget class="QDoubleSpinBox" name="leftMargin" >
|
|---|
| 222 | <property name="toolTip" >
|
|---|
| 223 | <string>left margin</string>
|
|---|
| 224 | </property>
|
|---|
| 225 | <property name="accessibleName" >
|
|---|
| 226 | <string>left margin</string>
|
|---|
| 227 | </property>
|
|---|
| 228 | <property name="alignment" >
|
|---|
| 229 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|---|
| 230 | </property>
|
|---|
| 231 | <property name="maximum" >
|
|---|
| 232 | <double>999.990000000000009</double>
|
|---|
| 233 | </property>
|
|---|
| 234 | </widget>
|
|---|
| 235 | </item>
|
|---|
| 236 | <item>
|
|---|
| 237 | <spacer name="horizontalSpacer" >
|
|---|
| 238 | <property name="orientation" >
|
|---|
| 239 | <enum>Qt::Horizontal</enum>
|
|---|
| 240 | </property>
|
|---|
| 241 | <property name="sizeType" >
|
|---|
| 242 | <enum>QSizePolicy::MinimumExpanding</enum>
|
|---|
| 243 | </property>
|
|---|
| 244 | <property name="sizeHint" stdset="0" >
|
|---|
| 245 | <size>
|
|---|
| 246 | <width>0</width>
|
|---|
| 247 | <height>0</height>
|
|---|
| 248 | </size>
|
|---|
| 249 | </property>
|
|---|
| 250 | </spacer>
|
|---|
| 251 | </item>
|
|---|
| 252 | <item>
|
|---|
| 253 | <widget class="QDoubleSpinBox" name="rightMargin" >
|
|---|
| 254 | <property name="toolTip" >
|
|---|
| 255 | <string>right margin</string>
|
|---|
| 256 | </property>
|
|---|
| 257 | <property name="accessibleName" >
|
|---|
| 258 | <string>right margin</string>
|
|---|
| 259 | </property>
|
|---|
| 260 | <property name="alignment" >
|
|---|
| 261 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|---|
| 262 | </property>
|
|---|
| 263 | <property name="maximum" >
|
|---|
| 264 | <double>999.990000000000009</double>
|
|---|
| 265 | </property>
|
|---|
| 266 | </widget>
|
|---|
| 267 | </item>
|
|---|
| 268 | <item>
|
|---|
| 269 | <spacer name="horizontalSpacer_8" >
|
|---|
| 270 | <property name="orientation" >
|
|---|
| 271 | <enum>Qt::Horizontal</enum>
|
|---|
| 272 | </property>
|
|---|
| 273 | <property name="sizeHint" stdset="0" >
|
|---|
| 274 | <size>
|
|---|
| 275 | <width>0</width>
|
|---|
| 276 | <height>20</height>
|
|---|
| 277 | </size>
|
|---|
| 278 | </property>
|
|---|
| 279 | </spacer>
|
|---|
| 280 | </item>
|
|---|
| 281 | </layout>
|
|---|
| 282 | </item>
|
|---|
| 283 | <item row="2" column="1" >
|
|---|
| 284 | <widget class="QDoubleSpinBox" name="bottomMargin" >
|
|---|
| 285 | <property name="toolTip" >
|
|---|
| 286 | <string>bottom margin</string>
|
|---|
| 287 | </property>
|
|---|
| 288 | <property name="accessibleName" >
|
|---|
| 289 | <string>bottom margin</string>
|
|---|
| 290 | </property>
|
|---|
| 291 | <property name="alignment" >
|
|---|
| 292 | <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|---|
| 293 | </property>
|
|---|
| 294 | <property name="maximum" >
|
|---|
| 295 | <double>999.990000000000009</double>
|
|---|
| 296 | </property>
|
|---|
| 297 | </widget>
|
|---|
| 298 | </item>
|
|---|
| 299 | <item row="0" column="2" >
|
|---|
| 300 | <spacer name="horizontalSpacer_2" >
|
|---|
| 301 | <property name="orientation" >
|
|---|
| 302 | <enum>Qt::Horizontal</enum>
|
|---|
| 303 | </property>
|
|---|
| 304 | <property name="sizeType" >
|
|---|
| 305 | <enum>QSizePolicy::MinimumExpanding</enum>
|
|---|
| 306 | </property>
|
|---|
| 307 | <property name="sizeHint" stdset="0" >
|
|---|
| 308 | <size>
|
|---|
| 309 | <width>0</width>
|
|---|
| 310 | <height>20</height>
|
|---|
| 311 | </size>
|
|---|
| 312 | </property>
|
|---|
| 313 | </spacer>
|
|---|
| 314 | </item>
|
|---|
| 315 | <item row="0" column="0" >
|
|---|
| 316 | <spacer name="horizontalSpacer_5" >
|
|---|
| 317 | <property name="orientation" >
|
|---|
| 318 | <enum>Qt::Horizontal</enum>
|
|---|
| 319 | </property>
|
|---|
| 320 | <property name="sizeType" >
|
|---|
| 321 | <enum>QSizePolicy::MinimumExpanding</enum>
|
|---|
| 322 | </property>
|
|---|
| 323 | <property name="sizeHint" stdset="0" >
|
|---|
| 324 | <size>
|
|---|
| 325 | <width>0</width>
|
|---|
| 326 | <height>20</height>
|
|---|
| 327 | </size>
|
|---|
| 328 | </property>
|
|---|
| 329 | </spacer>
|
|---|
| 330 | </item>
|
|---|
| 331 | </layout>
|
|---|
| 332 | </item>
|
|---|
| 333 | </layout>
|
|---|
| 334 | </widget>
|
|---|
| 335 | </item>
|
|---|
| 336 | <item row="4" column="0" >
|
|---|
| 337 | <spacer name="verticalSpacer" >
|
|---|
| 338 | <property name="orientation" >
|
|---|
| 339 | <enum>Qt::Vertical</enum>
|
|---|
| 340 | </property>
|
|---|
| 341 | <property name="sizeHint" stdset="0" >
|
|---|
| 342 | <size>
|
|---|
| 343 | <width>20</width>
|
|---|
| 344 | <height>0</height>
|
|---|
| 345 | </size>
|
|---|
| 346 | </property>
|
|---|
| 347 | </spacer>
|
|---|
| 348 | </item>
|
|---|
| 349 | </layout>
|
|---|
| 350 | </widget>
|
|---|
| 351 | <resources/>
|
|---|
| 352 | <connections/>
|
|---|
| 353 | </ui>
|
|---|