1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>Ui_PrintPreviewOptions</class> 4 <widget class="QWidget" name="Ui_PrintPreviewOptions"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>350</width> 10 <height>37</height> 11 </rect> 12 </property> 13 <property name="sizePolicy"> 14 <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> 15 <horstretch>0</horstretch> 16 <verstretch>0</verstretch> 17 </sizepolicy> 18 </property> 19 <property name="windowTitle"> 20 <string>Print Preview Options</string> 21 </property> 22 <property name="toolTip"> 23 <string/> 24 </property> 25 <layout class="QHBoxLayout" name="horizontalLayout"> 26 <property name="spacing"> 27 <number>8</number> 28 </property> 29 <property name="leftMargin"> 30 <number>1</number> 31 </property> 32 <property name="topMargin"> 33 <number>0</number> 34 </property> 35 <property name="rightMargin"> 36 <number>1</number> 37 </property> 38 <property name="bottomMargin"> 39 <number>0</number> 40 </property> 41 <item> 42 <widget class="QComboBox" name="cbScale"> 43 <property name="sizePolicy"> 44 <sizepolicy hsizetype="Maximum" vsizetype="Fixed"> 45 <horstretch>0</horstretch> 46 <verstretch>0</verstretch> 47 </sizepolicy> 48 </property> 49 <property name="minimumSize"> 50 <size> 51 <width>110</width> 52 <height>0</height> 53 </size> 54 </property> 55 <property name="editable"> 56 <bool>true</bool> 57 </property> 58 <property name="insertPolicy"> 59 <enum>QComboBox::InsertAtTop</enum> 60 </property> 61 </widget> 62 </item> 63 <item> 64 <widget class="QCheckBox" name="cFixed"> 65 <property name="sizePolicy"> 66 <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> 67 <horstretch>0</horstretch> 68 <verstretch>0</verstretch> 69 </sizepolicy> 70 </property> 71 <property name="minimumSize"> 72 <size> 73 <width>25</width> 74 <height>16</height> 75 </size> 76 </property> 77 <property name="maximumSize"> 78 <size> 79 <width>54</width> 80 <height>32</height> 81 </size> 82 </property> 83 <property name="toolTip"> 84 <string><html><head/><body><p>Print Scale is locked to the current value</p></body></html></string> 85 </property> 86 <property name="text"> 87 <string>fixed</string> 88 </property> 89 </widget> 90 </item> 91 <item> 92 <spacer name="horizontalSpacer"> 93 <property name="orientation"> 94 <enum>Qt::Horizontal</enum> 95 </property> 96 <property name="sizeHint" stdset="0"> 97 <size> 98 <width>6</width> 99 <height>20</height> 100 </size> 101 </property> 102 </spacer> 103 </item> 104 <item> 105 <widget class="QToolButton" name="bScaleLineWidth"> 106 <property name="sizePolicy"> 107 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 108 <horstretch>0</horstretch> 109 <verstretch>0</verstretch> 110 </sizepolicy> 111 </property> 112 <property name="toolTip"> 113 <string>Apply Print Scale to line width</string> 114 </property> 115 <property name="text"> 116 <string/> 117 </property> 118 <property name="icon"> 119 <iconset resource="../../../res/icons/icons.qrc"> 120 <normaloff>:/icons/scaleLineWidth.svg</normaloff>:/icons/scaleLineWidth.svg</iconset> 121 </property> 122 <property name="iconSize"> 123 <size> 124 <width>20</width> 125 <height>20</height> 126 </size> 127 </property> 128 <property name="checkable"> 129 <bool>true</bool> 130 </property> 131 </widget> 132 </item> 133 <item> 134 <widget class="QToolButton" name="bBlackWhite"> 135 <property name="sizePolicy"> 136 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 137 <horstretch>0</horstretch> 138 <verstretch>0</verstretch> 139 </sizepolicy> 140 </property> 141 <property name="toolTip"> 142 <string>Toggle Black / White mode</string> 143 </property> 144 <property name="text"> 145 <string/> 146 </property> 147 <property name="icon"> 148 <iconset resource="../../../res/icons/icons.qrc"> 149 <normaloff>:/icons/black_n_white_mode.svg</normaloff>:/icons/black_n_white_mode.svg</iconset> 150 </property> 151 <property name="iconSize"> 152 <size> 153 <width>20</width> 154 <height>20</height> 155 </size> 156 </property> 157 <property name="checkable"> 158 <bool>true</bool> 159 </property> 160 </widget> 161 </item> 162 <item> 163 <widget class="QToolButton" name="bCenter"> 164 <property name="sizePolicy"> 165 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 166 <horstretch>0</horstretch> 167 <verstretch>0</verstretch> 168 </sizepolicy> 169 </property> 170 <property name="toolTip"> 171 <string>Center to page</string> 172 </property> 173 <property name="text"> 174 <string/> 175 </property> 176 <property name="icon"> 177 <iconset resource="../../../res/icons/icons.qrc"> 178 <normaloff>:/icons/center_to_page.svg</normaloff>:/icons/center_to_page.svg</iconset> 179 </property> 180 <property name="iconSize"> 181 <size> 182 <width>20</width> 183 <height>20</height> 184 </size> 185 </property> 186 </widget> 187 </item> 188 <item> 189 <widget class="QToolButton" name="bFit"> 190 <property name="sizePolicy"> 191 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 192 <horstretch>0</horstretch> 193 <verstretch>0</verstretch> 194 </sizepolicy> 195 </property> 196 <property name="toolTip"> 197 <string>Fit to page</string> 198 </property> 199 <property name="text"> 200 <string/> 201 </property> 202 <property name="icon"> 203 <iconset resource="../../../res/icons/icons.qrc"> 204 <normaloff>:/icons/fit_to_page.svg</normaloff>:/icons/fit_to_page.svg</iconset> 205 </property> 206 <property name="iconSize"> 207 <size> 208 <width>20</width> 209 <height>20</height> 210 </size> 211 </property> 212 </widget> 213 </item> 214 <item> 215 <widget class="QToolButton" name="bCalcPagesNum"> 216 <property name="sizePolicy"> 217 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 218 <horstretch>0</horstretch> 219 <verstretch>0</verstretch> 220 </sizepolicy> 221 </property> 222 <property name="toolTip"> 223 <string>Calculate number of pages needed to contain the drawing</string> 224 </property> 225 <property name="text"> 226 <string/> 227 </property> 228 <property name="icon"> 229 <iconset resource="../../../res/icons/icons.qrc"> 230 <normaloff>:/icons/multi_pages.svg</normaloff>:/icons/multi_pages.svg</iconset> 231 </property> 232 <property name="iconSize"> 233 <size> 234 <width>20</width> 235 <height>20</height> 236 </size> 237 </property> 238 </widget> 239 </item> 240 <item> 241 <widget class="Line" name="sep1_2"> 242 <property name="sizePolicy"> 243 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 244 <horstretch>0</horstretch> 245 <verstretch>0</verstretch> 246 </sizepolicy> 247 </property> 248 <property name="frameShape"> 249 <enum>QFrame::VLine</enum> 250 </property> 251 <property name="frameShadow"> 252 <enum>QFrame::Sunken</enum> 253 </property> 254 </widget> 255 </item> 256 </layout> 257 </widget> 258 <layoutdefault spacing="6" margin="11"/> 259 <resources> 260 <include location="../../../res/icons/icons.qrc"/> 261 </resources> 262 <connections> 263 <connection> 264 <sender>bCenter</sender> 265 <signal>clicked()</signal> 266 <receiver>Ui_PrintPreviewOptions</receiver> 267 <slot>center()</slot> 268 <hints> 269 <hint type="sourcelabel"> 270 <x>20</x> 271 <y>20</y> 272 </hint> 273 <hint type="destinationlabel"> 274 <x>20</x> 275 <y>20</y> 276 </hint> 277 </hints> 278 </connection> 279 <connection> 280 <sender>bScaleLineWidth</sender> 281 <signal>toggled(bool)</signal> 282 <receiver>Ui_PrintPreviewOptions</receiver> 283 <slot>setLineWidthScaling(bool)</slot> 284 <hints> 285 <hint type="sourcelabel"> 286 <x>20</x> 287 <y>20</y> 288 </hint> 289 <hint type="destinationlabel"> 290 <x>20</x> 291 <y>20</y> 292 </hint> 293 </hints> 294 </connection> 295 <connection> 296 <sender>bBlackWhite</sender> 297 <signal>toggled(bool)</signal> 298 <receiver>Ui_PrintPreviewOptions</receiver> 299 <slot>setBlackWhite(bool)</slot> 300 <hints> 301 <hint type="sourcelabel"> 302 <x>20</x> 303 <y>20</y> 304 </hint> 305 <hint type="destinationlabel"> 306 <x>20</x> 307 <y>20</y> 308 </hint> 309 </hints> 310 </connection> 311 <connection> 312 <sender>cbScale</sender> 313 <signal>currentIndexChanged(QString)</signal> 314 <receiver>Ui_PrintPreviewOptions</receiver> 315 <slot>scale(QString)</slot> 316 <hints> 317 <hint type="sourcelabel"> 318 <x>20</x> 319 <y>20</y> 320 </hint> 321 <hint type="destinationlabel"> 322 <x>20</x> 323 <y>20</y> 324 </hint> 325 </hints> 326 </connection> 327 <connection> 328 <sender>bFit</sender> 329 <signal>clicked()</signal> 330 <receiver>Ui_PrintPreviewOptions</receiver> 331 <slot>fit()</slot> 332 <hints> 333 <hint type="sourcelabel"> 334 <x>20</x> 335 <y>20</y> 336 </hint> 337 <hint type="destinationlabel"> 338 <x>20</x> 339 <y>20</y> 340 </hint> 341 </hints> 342 </connection> 343 <connection> 344 <sender>cFixed</sender> 345 <signal>clicked(bool)</signal> 346 <receiver>Ui_PrintPreviewOptions</receiver> 347 <slot>setScaleFixed(bool)</slot> 348 <hints> 349 <hint type="sourcelabel"> 350 <x>170</x> 351 <y>10</y> 352 </hint> 353 <hint type="destinationlabel"> 354 <x>154</x> 355 <y>10</y> 356 </hint> 357 </hints> 358 </connection> 359 <connection> 360 <sender>bCalcPagesNum</sender> 361 <signal>clicked()</signal> 362 <receiver>Ui_PrintPreviewOptions</receiver> 363 <slot>calcPagesNum()</slot> 364 <hints> 365 <hint type="sourcelabel"> 366 <x>20</x> 367 <y>20</y> 368 </hint> 369 <hint type="destinationlabel"> 370 <x>20</x> 371 <y>20</y> 372 </hint> 373 </hints> 374 </connection> 375 </connections> 376</ui> 377