|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>PrinterPage</class> |
|
4 <widget class="QWidget" name="PrinterPage"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>448</width> |
|
10 <height>468</height> |
|
11 </rect> |
|
12 </property> |
|
13 <layout class="QVBoxLayout" name="verticalLayout"> |
|
14 <item> |
|
15 <widget class="QLabel" name="headerLabel"> |
|
16 <property name="text"> |
|
17 <string><b>Configure printer settings</b></string> |
|
18 </property> |
|
19 </widget> |
|
20 </item> |
|
21 <item> |
|
22 <widget class="Line" name="line7"> |
|
23 <property name="frameShape"> |
|
24 <enum>QFrame::HLine</enum> |
|
25 </property> |
|
26 <property name="frameShadow"> |
|
27 <enum>QFrame::Sunken</enum> |
|
28 </property> |
|
29 <property name="orientation"> |
|
30 <enum>Qt::Horizontal</enum> |
|
31 </property> |
|
32 </widget> |
|
33 </item> |
|
34 <item> |
|
35 <layout class="QGridLayout" name="gridLayout"> |
|
36 <item row="0" column="0"> |
|
37 <widget class="QLabel" name="TextLabel1"> |
|
38 <property name="text"> |
|
39 <string>Printername:</string> |
|
40 </property> |
|
41 </widget> |
|
42 </item> |
|
43 <item row="0" column="1" colspan="3"> |
|
44 <widget class="QLineEdit" name="printerNameEdit"/> |
|
45 </item> |
|
46 <item row="1" column="0"> |
|
47 <widget class="QLabel" name="TextLabel2"> |
|
48 <property name="text"> |
|
49 <string>Color Mode:</string> |
|
50 </property> |
|
51 <property name="alignment"> |
|
52 <set>Qt::AlignTop</set> |
|
53 </property> |
|
54 </widget> |
|
55 </item> |
|
56 <item row="1" column="1" colspan="3"> |
|
57 <widget class="QFrame" name="frame_2"> |
|
58 <property name="frameShape"> |
|
59 <enum>QFrame::NoFrame</enum> |
|
60 </property> |
|
61 <layout class="QVBoxLayout"> |
|
62 <property name="leftMargin"> |
|
63 <number>0</number> |
|
64 </property> |
|
65 <property name="topMargin"> |
|
66 <number>0</number> |
|
67 </property> |
|
68 <property name="rightMargin"> |
|
69 <number>0</number> |
|
70 </property> |
|
71 <property name="bottomMargin"> |
|
72 <number>0</number> |
|
73 </property> |
|
74 <item> |
|
75 <widget class="QRadioButton" name="printerColorButton"> |
|
76 <property name="text"> |
|
77 <string>Color</string> |
|
78 </property> |
|
79 </widget> |
|
80 </item> |
|
81 <item> |
|
82 <widget class="QRadioButton" name="printerGrayscaleButton"> |
|
83 <property name="text"> |
|
84 <string>Gray Scale</string> |
|
85 </property> |
|
86 </widget> |
|
87 </item> |
|
88 </layout> |
|
89 </widget> |
|
90 </item> |
|
91 <item row="2" column="0"> |
|
92 <widget class="QLabel" name="TextLabel4"> |
|
93 <property name="text"> |
|
94 <string>Page Order:</string> |
|
95 </property> |
|
96 <property name="alignment"> |
|
97 <set>Qt::AlignTop</set> |
|
98 </property> |
|
99 </widget> |
|
100 </item> |
|
101 <item row="2" column="1" colspan="3"> |
|
102 <widget class="QFrame" name="frame"> |
|
103 <property name="frameShape"> |
|
104 <enum>QFrame::NoFrame</enum> |
|
105 </property> |
|
106 <layout class="QVBoxLayout"> |
|
107 <property name="spacing"> |
|
108 <number>6</number> |
|
109 </property> |
|
110 <property name="leftMargin"> |
|
111 <number>0</number> |
|
112 </property> |
|
113 <property name="topMargin"> |
|
114 <number>0</number> |
|
115 </property> |
|
116 <property name="rightMargin"> |
|
117 <number>0</number> |
|
118 </property> |
|
119 <property name="bottomMargin"> |
|
120 <number>0</number> |
|
121 </property> |
|
122 <item> |
|
123 <widget class="QRadioButton" name="printFirstPageFirstButton"> |
|
124 <property name="text"> |
|
125 <string>First Page First</string> |
|
126 </property> |
|
127 </widget> |
|
128 </item> |
|
129 <item> |
|
130 <widget class="QRadioButton" name="printFirstPageLastButton"> |
|
131 <property name="text"> |
|
132 <string>Last Page First</string> |
|
133 </property> |
|
134 </widget> |
|
135 </item> |
|
136 </layout> |
|
137 </widget> |
|
138 </item> |
|
139 <item row="3" column="0"> |
|
140 <widget class="QLabel" name="TextLabel3"> |
|
141 <property name="text"> |
|
142 <string>Magnification:</string> |
|
143 </property> |
|
144 </widget> |
|
145 </item> |
|
146 <item row="3" column="1"> |
|
147 <widget class="QSpinBox" name="printMagnificationSpinBox"> |
|
148 <property name="minimum"> |
|
149 <number>-10</number> |
|
150 </property> |
|
151 <property name="maximum"> |
|
152 <number>10</number> |
|
153 </property> |
|
154 <property name="value"> |
|
155 <number>-3</number> |
|
156 </property> |
|
157 </widget> |
|
158 </item> |
|
159 <item row="3" column="2" colspan="2"> |
|
160 <spacer> |
|
161 <property name="orientation"> |
|
162 <enum>Qt::Horizontal</enum> |
|
163 </property> |
|
164 <property name="sizeHint" stdset="0"> |
|
165 <size> |
|
166 <width>251</width> |
|
167 <height>20</height> |
|
168 </size> |
|
169 </property> |
|
170 </spacer> |
|
171 </item> |
|
172 <item row="4" column="0"> |
|
173 <widget class="QLabel" name="label"> |
|
174 <property name="text"> |
|
175 <string>Resolution:</string> |
|
176 </property> |
|
177 </widget> |
|
178 </item> |
|
179 <item row="4" column="1" colspan="2"> |
|
180 <widget class="QSpinBox" name="resolutionSpinBox"> |
|
181 <property name="toolTip"> |
|
182 <string>Select the printer resolution </string> |
|
183 </property> |
|
184 <property name="alignment"> |
|
185 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> |
|
186 </property> |
|
187 <property name="suffix"> |
|
188 <string> DPI</string> |
|
189 </property> |
|
190 <property name="maximum"> |
|
191 <number>6000</number> |
|
192 </property> |
|
193 <property name="singleStep"> |
|
194 <number>50</number> |
|
195 </property> |
|
196 </widget> |
|
197 </item> |
|
198 <item row="4" column="3"> |
|
199 <spacer name="horizontalSpacer"> |
|
200 <property name="orientation"> |
|
201 <enum>Qt::Horizontal</enum> |
|
202 </property> |
|
203 <property name="sizeHint" stdset="0"> |
|
204 <size> |
|
205 <width>208</width> |
|
206 <height>20</height> |
|
207 </size> |
|
208 </property> |
|
209 </spacer> |
|
210 </item> |
|
211 <item row="5" column="0"> |
|
212 <widget class="QPushButton" name="printheaderFontButton"> |
|
213 <property name="toolTip"> |
|
214 <string>Press to select the font for the page headers</string> |
|
215 </property> |
|
216 <property name="text"> |
|
217 <string>Header Font</string> |
|
218 </property> |
|
219 </widget> |
|
220 </item> |
|
221 <item row="5" column="1" colspan="3"> |
|
222 <widget class="QLineEdit" name="printheaderFontSample"> |
|
223 <property name="focusPolicy"> |
|
224 <enum>Qt::NoFocus</enum> |
|
225 </property> |
|
226 <property name="text"> |
|
227 <string>Header Font</string> |
|
228 </property> |
|
229 <property name="alignment"> |
|
230 <set>Qt::AlignHCenter</set> |
|
231 </property> |
|
232 <property name="readOnly"> |
|
233 <bool>true</bool> |
|
234 </property> |
|
235 </widget> |
|
236 </item> |
|
237 </layout> |
|
238 </item> |
|
239 <item> |
|
240 <layout class="QHBoxLayout"> |
|
241 <item> |
|
242 <widget class="QGroupBox" name="groupBox"> |
|
243 <property name="title"> |
|
244 <string>Margins</string> |
|
245 </property> |
|
246 <layout class="QGridLayout"> |
|
247 <item row="0" column="1"> |
|
248 <widget class="QDoubleSpinBox" name="topMarginSpinBox"> |
|
249 <property name="toolTip"> |
|
250 <string>Enter the top margin in cm.</string> |
|
251 </property> |
|
252 <property name="suffix"> |
|
253 <string> cm</string> |
|
254 </property> |
|
255 <property name="decimals"> |
|
256 <number>1</number> |
|
257 </property> |
|
258 <property name="maximum"> |
|
259 <double>9.900000000000000</double> |
|
260 </property> |
|
261 <property name="singleStep"> |
|
262 <double>0.500000000000000</double> |
|
263 </property> |
|
264 </widget> |
|
265 </item> |
|
266 <item row="1" column="0"> |
|
267 <widget class="QDoubleSpinBox" name="leftMarginSpinBox"> |
|
268 <property name="toolTip"> |
|
269 <string>Enter the left margin in cm.</string> |
|
270 </property> |
|
271 <property name="suffix"> |
|
272 <string> cm</string> |
|
273 </property> |
|
274 <property name="decimals"> |
|
275 <number>1</number> |
|
276 </property> |
|
277 <property name="maximum"> |
|
278 <double>9.900000000000000</double> |
|
279 </property> |
|
280 <property name="singleStep"> |
|
281 <double>0.500000000000000</double> |
|
282 </property> |
|
283 </widget> |
|
284 </item> |
|
285 <item row="1" column="2"> |
|
286 <widget class="QDoubleSpinBox" name="rightMarginSpinBox"> |
|
287 <property name="toolTip"> |
|
288 <string>Enter the right margin in cm.</string> |
|
289 </property> |
|
290 <property name="suffix"> |
|
291 <string> cm</string> |
|
292 </property> |
|
293 <property name="decimals"> |
|
294 <number>1</number> |
|
295 </property> |
|
296 <property name="maximum"> |
|
297 <double>9.900000000000000</double> |
|
298 </property> |
|
299 <property name="singleStep"> |
|
300 <double>0.500000000000000</double> |
|
301 </property> |
|
302 </widget> |
|
303 </item> |
|
304 <item row="2" column="1"> |
|
305 <widget class="QDoubleSpinBox" name="bottomMarginSpinBox"> |
|
306 <property name="toolTip"> |
|
307 <string>Enter the bottom margin in cm.</string> |
|
308 </property> |
|
309 <property name="suffix"> |
|
310 <string> cm</string> |
|
311 </property> |
|
312 <property name="decimals"> |
|
313 <number>1</number> |
|
314 </property> |
|
315 <property name="maximum"> |
|
316 <double>9.900000000000000</double> |
|
317 </property> |
|
318 <property name="singleStep"> |
|
319 <double>0.500000000000000</double> |
|
320 </property> |
|
321 </widget> |
|
322 </item> |
|
323 </layout> |
|
324 </widget> |
|
325 </item> |
|
326 <item> |
|
327 <spacer> |
|
328 <property name="orientation"> |
|
329 <enum>Qt::Horizontal</enum> |
|
330 </property> |
|
331 <property name="sizeHint" stdset="0"> |
|
332 <size> |
|
333 <width>40</width> |
|
334 <height>20</height> |
|
335 </size> |
|
336 </property> |
|
337 </spacer> |
|
338 </item> |
|
339 </layout> |
|
340 </item> |
|
341 <item> |
|
342 <spacer> |
|
343 <property name="orientation"> |
|
344 <enum>Qt::Vertical</enum> |
|
345 </property> |
|
346 <property name="sizeHint" stdset="0"> |
|
347 <size> |
|
348 <width>428</width> |
|
349 <height>61</height> |
|
350 </size> |
|
351 </property> |
|
352 </spacer> |
|
353 </item> |
|
354 </layout> |
|
355 </widget> |
|
356 <tabstops> |
|
357 <tabstop>printerNameEdit</tabstop> |
|
358 <tabstop>printerColorButton</tabstop> |
|
359 <tabstop>printerGrayscaleButton</tabstop> |
|
360 <tabstop>printFirstPageFirstButton</tabstop> |
|
361 <tabstop>printFirstPageLastButton</tabstop> |
|
362 <tabstop>printMagnificationSpinBox</tabstop> |
|
363 <tabstop>resolutionSpinBox</tabstop> |
|
364 <tabstop>printheaderFontButton</tabstop> |
|
365 <tabstop>topMarginSpinBox</tabstop> |
|
366 <tabstop>leftMarginSpinBox</tabstop> |
|
367 <tabstop>rightMarginSpinBox</tabstop> |
|
368 <tabstop>bottomMarginSpinBox</tabstop> |
|
369 </tabstops> |
|
370 <resources/> |
|
371 <connections/> |
|
372 </ui> |