| 1 | <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
|---|
| 2 | <class>PrintPreview</class>
|
|---|
| 3 | <widget class="QDialog">
|
|---|
| 4 | <property name="name">
|
|---|
| 5 | <cstring>PrintPreview</cstring>
|
|---|
| 6 | </property>
|
|---|
| 7 | <property name="geometry">
|
|---|
| 8 | <rect>
|
|---|
| 9 | <x>0</x>
|
|---|
| 10 | <y>0</y>
|
|---|
| 11 | <width>634</width>
|
|---|
| 12 | <height>195</height>
|
|---|
| 13 | </rect>
|
|---|
| 14 | </property>
|
|---|
| 15 | <property name="caption">
|
|---|
| 16 | <string>Print Preview</string>
|
|---|
| 17 | </property>
|
|---|
| 18 | <property name="sizeGripEnabled">
|
|---|
| 19 | <bool>true</bool>
|
|---|
| 20 | </property>
|
|---|
| 21 | <grid>
|
|---|
| 22 | <property name="name">
|
|---|
| 23 | <cstring>unnamed</cstring>
|
|---|
| 24 | </property>
|
|---|
| 25 | <property name="margin">
|
|---|
| 26 | <number>11</number>
|
|---|
| 27 | </property>
|
|---|
| 28 | <property name="spacing">
|
|---|
| 29 | <number>6</number>
|
|---|
| 30 | </property>
|
|---|
| 31 | <widget class="QGroupBox" row="0" column="0">
|
|---|
| 32 | <property name="name">
|
|---|
| 33 | <cstring>GroupBox1</cstring>
|
|---|
| 34 | </property>
|
|---|
| 35 | <property name="sizePolicy">
|
|---|
| 36 | <sizepolicy>
|
|---|
| 37 | <hsizetype>7</hsizetype>
|
|---|
| 38 | <vsizetype>7</vsizetype>
|
|---|
| 39 | <horstretch>0</horstretch>
|
|---|
| 40 | <verstretch>0</verstretch>
|
|---|
| 41 | </sizepolicy>
|
|---|
| 42 | </property>
|
|---|
| 43 | <property name="title">
|
|---|
| 44 | <string>Preview</string>
|
|---|
| 45 | </property>
|
|---|
| 46 | <hbox>
|
|---|
| 47 | <property name="name">
|
|---|
| 48 | <cstring>unnamed</cstring>
|
|---|
| 49 | </property>
|
|---|
| 50 | <property name="margin">
|
|---|
| 51 | <number>11</number>
|
|---|
| 52 | </property>
|
|---|
| 53 | <property name="spacing">
|
|---|
| 54 | <number>6</number>
|
|---|
| 55 | </property>
|
|---|
| 56 | <widget class="QLabel">
|
|---|
| 57 | <property name="name">
|
|---|
| 58 | <cstring>pixmapLabel</cstring>
|
|---|
| 59 | </property>
|
|---|
| 60 | <property name="text">
|
|---|
| 61 | <string>TextLabel1</string>
|
|---|
| 62 | </property>
|
|---|
| 63 | </widget>
|
|---|
| 64 | </hbox>
|
|---|
| 65 | </widget>
|
|---|
| 66 | <widget class="QGroupBox" row="0" column="1">
|
|---|
| 67 | <property name="name">
|
|---|
| 68 | <cstring>GroupBox2</cstring>
|
|---|
| 69 | </property>
|
|---|
| 70 | <property name="sizePolicy">
|
|---|
| 71 | <sizepolicy>
|
|---|
| 72 | <hsizetype>4</hsizetype>
|
|---|
| 73 | <vsizetype>7</vsizetype>
|
|---|
| 74 | <horstretch>0</horstretch>
|
|---|
| 75 | <verstretch>0</verstretch>
|
|---|
| 76 | </sizepolicy>
|
|---|
| 77 | </property>
|
|---|
| 78 | <property name="title">
|
|---|
| 79 | <string>Modify</string>
|
|---|
| 80 | </property>
|
|---|
| 81 | <vbox>
|
|---|
| 82 | <property name="name">
|
|---|
| 83 | <cstring>unnamed</cstring>
|
|---|
| 84 | </property>
|
|---|
| 85 | <property name="margin">
|
|---|
| 86 | <number>11</number>
|
|---|
| 87 | </property>
|
|---|
| 88 | <property name="spacing">
|
|---|
| 89 | <number>6</number>
|
|---|
| 90 | </property>
|
|---|
| 91 | <widget class="QCheckBox">
|
|---|
| 92 | <property name="name">
|
|---|
| 93 | <cstring>checkInvert</cstring>
|
|---|
| 94 | </property>
|
|---|
| 95 | <property name="text">
|
|---|
| 96 | <string>&Invert Colors</string>
|
|---|
| 97 | </property>
|
|---|
| 98 | </widget>
|
|---|
| 99 | <widget class="QCheckBox">
|
|---|
| 100 | <property name="name">
|
|---|
| 101 | <cstring>checkMirror</cstring>
|
|---|
| 102 | </property>
|
|---|
| 103 | <property name="text">
|
|---|
| 104 | <string>&Mirror</string>
|
|---|
| 105 | </property>
|
|---|
| 106 | </widget>
|
|---|
| 107 | <widget class="QCheckBox">
|
|---|
| 108 | <property name="name">
|
|---|
| 109 | <cstring>checkFlip</cstring>
|
|---|
| 110 | </property>
|
|---|
| 111 | <property name="text">
|
|---|
| 112 | <string>&Flip</string>
|
|---|
| 113 | </property>
|
|---|
| 114 | </widget>
|
|---|
| 115 | <widget class="QCheckBox">
|
|---|
| 116 | <property name="name">
|
|---|
| 117 | <cstring>checkLeft</cstring>
|
|---|
| 118 | </property>
|
|---|
| 119 | <property name="text">
|
|---|
| 120 | <string>Rotate 90° &left</string>
|
|---|
| 121 | </property>
|
|---|
| 122 | </widget>
|
|---|
| 123 | <widget class="QCheckBox">
|
|---|
| 124 | <property name="name">
|
|---|
| 125 | <cstring>checkRight</cstring>
|
|---|
| 126 | </property>
|
|---|
| 127 | <property name="text">
|
|---|
| 128 | <string>Rotate 90° &right</string>
|
|---|
| 129 | </property>
|
|---|
| 130 | </widget>
|
|---|
| 131 | </vbox>
|
|---|
| 132 | </widget>
|
|---|
| 133 | <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
|
|---|
| 134 | <property name="name">
|
|---|
| 135 | <cstring>Layout1</cstring>
|
|---|
| 136 | </property>
|
|---|
| 137 | <hbox>
|
|---|
| 138 | <property name="name">
|
|---|
| 139 | <cstring>unnamed</cstring>
|
|---|
| 140 | </property>
|
|---|
| 141 | <property name="margin">
|
|---|
| 142 | <number>0</number>
|
|---|
| 143 | </property>
|
|---|
| 144 | <property name="spacing">
|
|---|
| 145 | <number>6</number>
|
|---|
| 146 | </property>
|
|---|
| 147 | <widget class="QPushButton">
|
|---|
| 148 | <property name="name">
|
|---|
| 149 | <cstring>buttonHelp</cstring>
|
|---|
| 150 | </property>
|
|---|
| 151 | <property name="text">
|
|---|
| 152 | <string>&Help</string>
|
|---|
| 153 | </property>
|
|---|
| 154 | <property name="autoDefault">
|
|---|
| 155 | <bool>true</bool>
|
|---|
| 156 | </property>
|
|---|
| 157 | </widget>
|
|---|
| 158 | <spacer>
|
|---|
| 159 | <property name="name">
|
|---|
| 160 | <cstring>Horizontal Spacing2</cstring>
|
|---|
| 161 | </property>
|
|---|
| 162 | <property name="orientation">
|
|---|
| 163 | <enum>Horizontal</enum>
|
|---|
| 164 | </property>
|
|---|
| 165 | <property name="sizeType">
|
|---|
| 166 | <enum>Expanding</enum>
|
|---|
| 167 | </property>
|
|---|
| 168 | </spacer>
|
|---|
| 169 | <widget class="QPushButton">
|
|---|
| 170 | <property name="name">
|
|---|
| 171 | <cstring>buttonOk</cstring>
|
|---|
| 172 | </property>
|
|---|
| 173 | <property name="caption">
|
|---|
| 174 | <string></string>
|
|---|
| 175 | </property>
|
|---|
| 176 | <property name="text">
|
|---|
| 177 | <string>&Print</string>
|
|---|
| 178 | </property>
|
|---|
| 179 | <property name="autoDefault">
|
|---|
| 180 | <bool>true</bool>
|
|---|
| 181 | </property>
|
|---|
| 182 | <property name="default">
|
|---|
| 183 | <bool>true</bool>
|
|---|
| 184 | </property>
|
|---|
| 185 | </widget>
|
|---|
| 186 | <widget class="QPushButton">
|
|---|
| 187 | <property name="name">
|
|---|
| 188 | <cstring>buttonCancel</cstring>
|
|---|
| 189 | </property>
|
|---|
| 190 | <property name="text">
|
|---|
| 191 | <string>&Discard</string>
|
|---|
| 192 | </property>
|
|---|
| 193 | <property name="autoDefault">
|
|---|
| 194 | <bool>true</bool>
|
|---|
| 195 | </property>
|
|---|
| 196 | </widget>
|
|---|
| 197 | </hbox>
|
|---|
| 198 | </widget>
|
|---|
| 199 | </grid>
|
|---|
| 200 | </widget>
|
|---|
| 201 | <connections>
|
|---|
| 202 | <connection>
|
|---|
| 203 | <sender>buttonOk</sender>
|
|---|
| 204 | <signal>clicked()</signal>
|
|---|
| 205 | <receiver>PrintPreview</receiver>
|
|---|
| 206 | <slot>accept()</slot>
|
|---|
| 207 | </connection>
|
|---|
| 208 | <connection>
|
|---|
| 209 | <sender>buttonCancel</sender>
|
|---|
| 210 | <signal>clicked()</signal>
|
|---|
| 211 | <receiver>PrintPreview</receiver>
|
|---|
| 212 | <slot>reject()</slot>
|
|---|
| 213 | </connection>
|
|---|
| 214 | <connection>
|
|---|
| 215 | <sender>checkLeft</sender>
|
|---|
| 216 | <signal>toggled(bool)</signal>
|
|---|
| 217 | <receiver>checkRight</receiver>
|
|---|
| 218 | <slot>setDisabled(bool)</slot>
|
|---|
| 219 | </connection>
|
|---|
| 220 | <connection>
|
|---|
| 221 | <sender>checkRight</sender>
|
|---|
| 222 | <signal>toggled(bool)</signal>
|
|---|
| 223 | <receiver>checkLeft</receiver>
|
|---|
| 224 | <slot>setDisabled(bool)</slot>
|
|---|
| 225 | </connection>
|
|---|
| 226 | <connection>
|
|---|
| 227 | <sender>checkInvert</sender>
|
|---|
| 228 | <signal>toggled(bool)</signal>
|
|---|
| 229 | <receiver>PrintPreview</receiver>
|
|---|
| 230 | <slot>invertColors(bool)</slot>
|
|---|
| 231 | </connection>
|
|---|
| 232 | <connection>
|
|---|
| 233 | <sender>checkMirror</sender>
|
|---|
| 234 | <signal>toggled(bool)</signal>
|
|---|
| 235 | <receiver>PrintPreview</receiver>
|
|---|
| 236 | <slot>mirror(bool)</slot>
|
|---|
| 237 | </connection>
|
|---|
| 238 | <connection>
|
|---|
| 239 | <sender>checkFlip</sender>
|
|---|
| 240 | <signal>toggled(bool)</signal>
|
|---|
| 241 | <receiver>PrintPreview</receiver>
|
|---|
| 242 | <slot>flip(bool)</slot>
|
|---|
| 243 | </connection>
|
|---|
| 244 | <connection>
|
|---|
| 245 | <sender>checkLeft</sender>
|
|---|
| 246 | <signal>toggled(bool)</signal>
|
|---|
| 247 | <receiver>PrintPreview</receiver>
|
|---|
| 248 | <slot>rotateLeft(bool)</slot>
|
|---|
| 249 | </connection>
|
|---|
| 250 | <connection>
|
|---|
| 251 | <sender>checkRight</sender>
|
|---|
| 252 | <signal>toggled(bool)</signal>
|
|---|
| 253 | <receiver>PrintPreview</receiver>
|
|---|
| 254 | <slot>rotateRight(bool)</slot>
|
|---|
| 255 | </connection>
|
|---|
| 256 | </connections>
|
|---|
| 257 | <includes>
|
|---|
| 258 | <include location="global" impldecl="in declaration">qimage.h</include>
|
|---|
| 259 | <include location="global" impldecl="in declaration">qpixmap.h</include>
|
|---|
| 260 | <include location="local" impldecl="in implementation">printpreview.ui.h</include>
|
|---|
| 261 | </includes>
|
|---|
| 262 | <variables>
|
|---|
| 263 | <variable>QPixmap pix</variable>
|
|---|
| 264 | </variables>
|
|---|
| 265 | <slots>
|
|---|
| 266 | <slot access="protected">init()</slot>
|
|---|
| 267 | <slot access="protected">destroy()</slot>
|
|---|
| 268 | <slot>updatePreview()</slot>
|
|---|
| 269 | <slot>flip( bool )</slot>
|
|---|
| 270 | <slot>invertColors( bool )</slot>
|
|---|
| 271 | <slot>mirror( bool )</slot>
|
|---|
| 272 | <slot>rotateLeft( bool )</slot>
|
|---|
| 273 | <slot>rotateRight( bool )</slot>
|
|---|
| 274 | <slot>setPixmap( const QPixmap & pm )</slot>
|
|---|
| 275 | </slots>
|
|---|
| 276 | <layoutdefaults spacing="6" margin="11"/>
|
|---|
| 277 | </UI>
|
|---|