1 /**********************************************************************
3 --- Qt Architect 1.4-6 generated file ---
6 Last generated: Wed Jan 24 06:43:35 2001
8 DO NOT EDIT!!! This file will be automatically
9 regenerated by qtarch. All changes will be lost.
11 *********************************************************************/
17 #include "printdlgdata.h"
19 #define Inherited QWidget
22 PrintDialogData::PrintDialogData
28 Inherited( parent, name, 0 )
30 pagesGroupBox = new QGroupBox( this, "pagesGroupBox" );
31 pagesGroupBox->setGeometry( 5, 5, 162, 270 );
32 pagesGroupBox->setMinimumSize( 15, 47 );
33 pagesGroupBox->setMaximumSize( 32767, 32767 );
34 pagesGroupBox->setFocusPolicy( QWidget::NoFocus );
35 pagesGroupBox->setBackgroundMode( QWidget::PaletteBackground );
36 pagesGroupBox->setFontPropagation( QWidget::NoChildren );
37 pagesGroupBox->setPalettePropagation( QWidget::NoChildren );
38 pagesGroupBox->setFrameStyle( 49 );
39 pagesGroupBox->setLineWidth( 1 );
40 pagesGroupBox->setMidLineWidth( 0 );
41 pagesGroupBox->QFrame::setMargin( 0 );
42 pagesGroupBox->setTitle( _("Pages") );
43 pagesGroupBox->setAlignment( 1 );
45 pagesRadioGroup = new QButtonGroup( pagesGroupBox, "pagesRadioGroup" );
46 pagesRadioGroup->setGeometry( 5, 17, 152, 142 );
47 pagesRadioGroup->setMinimumSize( 10, 20 );
48 pagesRadioGroup->setMaximumSize( 32767, 32767 );
49 pagesRadioGroup->setFocusPolicy( QWidget::NoFocus );
50 pagesRadioGroup->setBackgroundMode( QWidget::PaletteBackground );
51 pagesRadioGroup->setFontPropagation( QWidget::NoChildren );
52 pagesRadioGroup->setPalettePropagation( QWidget::NoChildren );
53 pagesRadioGroup->setFrameStyle( 0 );
54 pagesRadioGroup->setLineWidth( 1 );
55 pagesRadioGroup->setMidLineWidth( 0 );
56 pagesRadioGroup->QFrame::setMargin( 0 );
57 pagesRadioGroup->setTitle( "" );
58 pagesRadioGroup->setAlignment( 1 );
59 pagesRadioGroup->setExclusive( true );
61 copies = new QGroupBox( this, "copies" );
62 copies->setGeometry( 172, 5, 323, 66 );
63 copies->setMinimumSize( 30, 10 );
64 copies->setMaximumSize( 32767, 32767 );
65 copies->setFocusPolicy( QWidget::NoFocus );
66 copies->setBackgroundMode( QWidget::PaletteBackground );
67 copies->setFontPropagation( QWidget::NoChildren );
68 copies->setPalettePropagation( QWidget::NoChildren );
69 copies->setFrameStyle( 49 );
70 copies->setLineWidth( 1 );
71 copies->setMidLineWidth( 0 );
72 copies->QFrame::setMargin( 0 );
73 copies->setTitle( _("Copies") );
74 copies->setAlignment( 1 );
76 printToGroupBox = new QGroupBox( this, "printToGroupBox" );
77 printToGroupBox->setGeometry( 172, 76, 323, 199 );
78 printToGroupBox->setMinimumSize( 25, 30 );
79 printToGroupBox->setMaximumSize( 32767, 32767 );
80 printToGroupBox->setFocusPolicy( QWidget::NoFocus );
81 printToGroupBox->setBackgroundMode( QWidget::PaletteBackground );
82 printToGroupBox->setFontPropagation( QWidget::NoChildren );
83 printToGroupBox->setPalettePropagation( QWidget::NoChildren );
84 printToGroupBox->setFrameStyle( 49 );
85 printToGroupBox->setLineWidth( 1 );
86 printToGroupBox->setMidLineWidth( 0 );
87 printToGroupBox->QFrame::setMargin( 0 );
88 printToGroupBox->setTitle( _("Print to") );
89 printToGroupBox->setAlignment( 1 );
91 printToRadioGroup = new QButtonGroup( printToGroupBox, "printToRadioGroup" );
92 printToRadioGroup->setGeometry( 12, 39, 152, 83 );
93 printToRadioGroup->setMinimumSize( 10, 15 );
94 printToRadioGroup->setMaximumSize( 32767, 32767 );
95 printToRadioGroup->setFocusPolicy( QWidget::NoFocus );
96 printToRadioGroup->setBackgroundMode( QWidget::PaletteBackground );
97 printToRadioGroup->setFontPropagation( QWidget::NoChildren );
98 printToRadioGroup->setPalettePropagation( QWidget::NoChildren );
99 printToRadioGroup->setFrameStyle( 0 );
100 printToRadioGroup->setLineWidth( 1 );
101 printToRadioGroup->setMidLineWidth( 0 );
102 printToRadioGroup->QFrame::setMargin( 0 );
103 printToRadioGroup->setTitle( "" );
104 printToRadioGroup->setAlignment( 1 );
105 printToRadioGroup->setExclusive( true );
107 print = new QPushButton( this, "print" );
108 print->setGeometry( 86, 280, 81, 45 );
109 print->setMinimumSize( 0, 0 );
110 print->setMaximumSize( 32767, 32767 );
111 connect( print, SIGNAL(clicked()), SLOT(clickedPrint()) );
112 print->setFocusPolicy( QWidget::TabFocus );
113 print->setBackgroundMode( QWidget::PaletteBackground );
114 print->setFontPropagation( QWidget::NoChildren );
115 print->setPalettePropagation( QWidget::NoChildren );
116 print->setText( _("&Print") );
117 print->setAutoRepeat( false );
118 print->setAutoResize( false );
119 print->setToggleButton( false );
120 print->setDefault( false );
121 print->setAutoDefault( false );
122 print->setIsMenuButton( false );
124 cancel = new QPushButton( this, "cancel" );
125 cancel->setGeometry( 333, 280, 81, 45 );
126 cancel->setMinimumSize( 0, 0 );
127 cancel->setMaximumSize( 32767, 32767 );
128 connect( cancel, SIGNAL(clicked()), SLOT(clickedCancel()) );
129 cancel->setFocusPolicy( QWidget::TabFocus );
130 cancel->setBackgroundMode( QWidget::PaletteBackground );
131 cancel->setFontPropagation( QWidget::NoChildren );
132 cancel->setPalettePropagation( QWidget::NoChildren );
133 cancel->setText( _("&Cancel") );
134 cancel->setAutoRepeat( false );
135 cancel->setAutoResize( false );
136 cancel->setToggleButton( false );
137 cancel->setDefault( false );
138 cancel->setAutoDefault( false );
139 cancel->setIsMenuButton( false );
141 allpages = new QRadioButton( pagesRadioGroup, "allpages" );
142 allpages->setGeometry( 5, 20, 142, 34 );
143 allpages->setMinimumSize( 80, 20 );
144 allpages->setMaximumSize( 32767, 32767 );
145 allpages->setFocusPolicy( QWidget::TabFocus );
146 allpages->setBackgroundMode( QWidget::PaletteBackground );
147 allpages->setFontPropagation( QWidget::NoChildren );
148 allpages->setPalettePropagation( QWidget::NoChildren );
149 allpages->setText( _("&All pages") );
150 allpages->setAutoRepeat( false );
151 allpages->setAutoResize( false );
152 allpages->setChecked( false );
154 evenpages = new QRadioButton( pagesRadioGroup, "evenpages" );
155 evenpages->setGeometry( 5, 108, 142, 14 );
156 evenpages->setMinimumSize( 0, 0 );
157 evenpages->setMaximumSize( 32767, 32767 );
158 evenpages->setFocusPolicy( QWidget::TabFocus );
159 evenpages->setBackgroundMode( QWidget::PaletteBackground );
160 evenpages->setFontPropagation( QWidget::NoChildren );
161 evenpages->setPalettePropagation( QWidget::NoChildren );
162 evenpages->setText( _("&Even pages") );
163 evenpages->setAutoRepeat( false );
164 evenpages->setAutoResize( false );
165 evenpages->setChecked( false );
167 from = new KIntLineEdit( pagesGroupBox, "from" );
168 from->setGeometry( 108, 164, 49, 30 );
169 from->setMinimumSize( 0, 0 );
170 from->setMaximumSize( 32767, 32767 );
171 from->setFocusPolicy( QWidget::StrongFocus );
172 from->setBackgroundMode( QWidget::PaletteBase );
173 from->setFontPropagation( QWidget::NoChildren );
174 from->setPalettePropagation( QWidget::NoChildren );
176 from->setMaxLength( 32767 );
177 from->setFrame( QLineEdit::Normal );
178 from->setFrame( true );
180 fromLabel = new QLabel( pagesGroupBox, "fromLabel" );
181 fromLabel->setGeometry( 5, 164, 98, 30 );
182 fromLabel->setMinimumSize( 0, 0 );
183 fromLabel->setMaximumSize( 32767, 32767 );
184 fromLabel->setFocusPolicy( QWidget::NoFocus );
185 fromLabel->setBackgroundMode( QWidget::PaletteBackground );
186 fromLabel->setFontPropagation( QWidget::NoChildren );
187 fromLabel->setPalettePropagation( QWidget::NoChildren );
188 fromLabel->setFrameStyle( 0 );
189 fromLabel->setLineWidth( 1 );
190 fromLabel->setMidLineWidth( 0 );
191 fromLabel->QFrame::setMargin( 0 );
192 fromLabel->setText( _("From") );
193 fromLabel->setAlignment( 289 );
194 fromLabel->setMargin( -1 );
196 toLabel = new QLabel( pagesGroupBox, "toLabel" );
197 toLabel->setGeometry( 5, 199, 98, 31 );
198 toLabel->setMinimumSize( 0, 0 );
199 toLabel->setMaximumSize( 32767, 32767 );
200 toLabel->setFocusPolicy( QWidget::NoFocus );
201 toLabel->setBackgroundMode( QWidget::PaletteBackground );
202 toLabel->setFontPropagation( QWidget::NoChildren );
203 toLabel->setPalettePropagation( QWidget::NoChildren );
204 toLabel->setFrameStyle( 0 );
205 toLabel->setLineWidth( 1 );
206 toLabel->setMidLineWidth( 0 );
207 toLabel->QFrame::setMargin( 0 );
208 toLabel->setText( _("To") );
209 toLabel->setAlignment( 289 );
210 toLabel->setMargin( -1 );
212 oddpages = new QRadioButton( pagesRadioGroup, "oddpages" );
213 oddpages->setGeometry( 5, 74, 142, 14 );
214 oddpages->setMinimumSize( 0, 0 );
215 oddpages->setMaximumSize( 32767, 32767 );
216 oddpages->setFocusPolicy( QWidget::TabFocus );
217 oddpages->setBackgroundMode( QWidget::PaletteBackground );
218 oddpages->setFontPropagation( QWidget::NoChildren );
219 oddpages->setPalettePropagation( QWidget::NoChildren );
220 oddpages->setText( _("&Odd pages") );
221 oddpages->setAutoRepeat( false );
222 oddpages->setAutoResize( false );
223 oddpages->setChecked( false );
225 toprinter = new QRadioButton( printToRadioGroup, "toprinter" );
226 toprinter->setGeometry( 5, 5, 142, 23 );
227 toprinter->setMinimumSize( 0, 0 );
228 toprinter->setMaximumSize( 32767, 32767 );
229 toprinter->setFocusPolicy( QWidget::TabFocus );
230 toprinter->setBackgroundMode( QWidget::PaletteBackground );
231 toprinter->setFontPropagation( QWidget::NoChildren );
232 toprinter->setPalettePropagation( QWidget::NoChildren );
233 toprinter->setText( _("&Printer") );
234 toprinter->setAutoRepeat( false );
235 toprinter->setAutoResize( false );
236 toprinter->setChecked( false );
238 tofile = new QRadioButton( printToRadioGroup, "tofile" );
239 tofile->setGeometry( 5, 55, 142, 23 );
240 tofile->setMinimumSize( 0, 0 );
241 tofile->setMaximumSize( 32767, 32767 );
242 tofile->setFocusPolicy( QWidget::TabFocus );
243 tofile->setBackgroundMode( QWidget::PaletteBackground );
244 tofile->setFontPropagation( QWidget::NoChildren );
245 tofile->setPalettePropagation( QWidget::NoChildren );
246 tofile->setText( _("&File") );
247 tofile->setAutoRepeat( false );
248 tofile->setAutoResize( false );
249 tofile->setChecked( false );
251 printername = new QLineEdit( printToGroupBox, "printername" );
252 printername->setGeometry( 169, 39, 142, 26 );
253 printername->setMinimumSize( 0, 0 );
254 printername->setMaximumSize( 32767, 32767 );
255 printername->setFocusPolicy( QWidget::StrongFocus );
256 printername->setBackgroundMode( QWidget::PaletteBase );
257 printername->setFontPropagation( QWidget::NoChildren );
258 printername->setPalettePropagation( QWidget::NoChildren );
259 printername->setText( "" );
260 printername->setMaxLength( 32767 );
261 printername->setFrame( QLineEdit::Normal );
262 printername->setFrame( true );
264 reverse = new QCheckBox( pagesGroupBox, "reverse" );
265 reverse->setGeometry( 5, 235, 152, 30 );
266 reverse->setMinimumSize( 0, 0 );
267 reverse->setMaximumSize( 32767, 32767 );
268 reverse->setFocusPolicy( QWidget::TabFocus );
269 reverse->setBackgroundMode( QWidget::PaletteBackground );
270 reverse->setFontPropagation( QWidget::NoChildren );
271 reverse->setPalettePropagation( QWidget::NoChildren );
272 reverse->setText( _("&Reverse order") );
273 reverse->setAutoRepeat( false );
274 reverse->setAutoResize( true );
275 reverse->setChecked( false );
277 filename = new QLineEdit( printToGroupBox, "filename" );
278 filename->setGeometry( 169, 96, 142, 26 );
279 filename->setMinimumSize( 0, 0 );
280 filename->setMaximumSize( 32767, 32767 );
281 filename->setFocusPolicy( QWidget::StrongFocus );
282 filename->setBackgroundMode( QWidget::PaletteBase );
283 filename->setFontPropagation( QWidget::NoChildren );
284 filename->setPalettePropagation( QWidget::NoChildren );
285 filename->setText( "" );
286 filename->setMaxLength( 32767 );
287 filename->setFrame( QLineEdit::Normal );
288 filename->setFrame( true );
290 sort = new QCheckBox( copies, "sort" );
291 sort->setGeometry( 268, 12, 50, 46 );
292 sort->setMinimumSize( 0, 0 );
293 sort->setMaximumSize( 32767, 32767 );
294 sort->setFocusPolicy( QWidget::TabFocus );
295 sort->setBackgroundMode( QWidget::PaletteBackground );
296 sort->setFontPropagation( QWidget::NoChildren );
297 sort->setPalettePropagation( QWidget::NoChildren );
298 sort->setText( _("Co&llate") );
299 sort->setAutoRepeat( false );
300 sort->setAutoResize( true );
301 sort->setChecked( false );
303 browse = new QPushButton( printToGroupBox, "browse" );
304 browse->setGeometry( 158, 149, 153, 23 );
305 browse->setMinimumSize( 0, 0 );
306 browse->setMaximumSize( 32767, 32767 );
307 connect( browse, SIGNAL(clicked()), SLOT(clickedBrowse()) );
308 browse->setFocusPolicy( QWidget::TabFocus );
309 browse->setBackgroundMode( QWidget::PaletteBackground );
310 browse->setFontPropagation( QWidget::NoChildren );
311 browse->setPalettePropagation( QWidget::NoChildren );
312 browse->setText( _("&Browse") );
313 browse->setAutoRepeat( false );
314 browse->setAutoResize( false );
315 browse->setToggleButton( false );
316 browse->setDefault( false );
317 browse->setAutoDefault( false );
318 browse->setIsMenuButton( false );
320 count = new KIntLineEdit( copies, "count" );
321 count->setGeometry( 162, 12, 50, 46 );
322 count->setMinimumSize( 0, 0 );
323 count->setMaximumSize( 32767, 32767 );
324 connect( count, SIGNAL(textChanged(const char*)), SLOT(changedCount(const char*)) );
325 count->setFocusPolicy( QWidget::StrongFocus );
326 count->setBackgroundMode( QWidget::PaletteBase );
327 count->setFontPropagation( QWidget::NoChildren );
328 count->setPalettePropagation( QWidget::NoChildren );
329 count->setText( "" );
330 count->setMaxLength( 32767 );
331 count->setFrame( QLineEdit::Normal );
332 count->setFrame( true );
334 countLabel = new QLabel( copies, "countLabel" );
335 countLabel->setGeometry( 56, 12, 50, 46 );
336 countLabel->setMinimumSize( 0, 0 );
337 countLabel->setMaximumSize( 32767, 32767 );
338 countLabel->setFocusPolicy( QWidget::NoFocus );
339 countLabel->setBackgroundMode( QWidget::PaletteBackground );
340 countLabel->setFontPropagation( QWidget::NoChildren );
341 countLabel->setPalettePropagation( QWidget::NoChildren );
342 countLabel->setFrameStyle( 0 );
343 countLabel->setLineWidth( 1 );
344 countLabel->setMidLineWidth( 0 );
345 countLabel->QFrame::setMargin( 0 );
346 countLabel->setText( _("Count") );
347 countLabel->setAlignment( 289 );
348 countLabel->setMargin( -1 );
350 to = new KIntLineEdit( pagesGroupBox, "to" );
351 to->setGeometry( 108, 199, 49, 31 );
352 to->setMinimumSize( 0, 0 );
353 to->setMaximumSize( 32767, 32767 );
354 to->setFocusPolicy( QWidget::StrongFocus );
355 to->setBackgroundMode( QWidget::PaletteBase );
356 to->setFontPropagation( QWidget::NoChildren );
357 to->setPalettePropagation( QWidget::NoChildren );
359 to->setMaxLength( 32767 );
360 to->setFrame( QLineEdit::Normal );
361 to->setFrame( true );
363 pagesRadioGroup->insert( allpages );
364 pagesRadioGroup->insert( evenpages );
365 pagesRadioGroup->insert( oddpages );
367 printToRadioGroup->insert( toprinter );
368 printToRadioGroup->insert( tofile );
370 if (print->sizeHint().width()!=-1)
371 print->setMinimumWidth(print->sizeHint().width());
372 if (print->sizeHint().height()!=-1)
373 print->setMinimumHeight(print->sizeHint().height());
374 if (print->sizeHint().width()!=-1)
375 print->setMaximumWidth(print->sizeHint().width());
376 if (print->sizeHint().height()!=-1)
377 print->setMaximumHeight(print->sizeHint().height());
378 if (cancel->sizeHint().width()!=-1)
379 cancel->setMinimumWidth(cancel->sizeHint().width());
380 if (cancel->sizeHint().height()!=-1)
381 cancel->setMinimumHeight(cancel->sizeHint().height());
382 if (cancel->sizeHint().width()!=-1)
383 cancel->setMaximumWidth(cancel->sizeHint().width());
384 if (cancel->sizeHint().height()!=-1)
385 cancel->setMaximumHeight(cancel->sizeHint().height());
386 if (allpages->sizeHint().width()!=-1)
387 allpages->setMinimumWidth(allpages->sizeHint().width());
388 if (allpages->sizeHint().height()!=-1)
389 allpages->setMinimumHeight(allpages->sizeHint().height());
390 if (allpages->sizeHint().width()!=-1)
391 allpages->setMaximumWidth(allpages->sizeHint().width());
392 if (allpages->sizeHint().height()!=-1)
393 allpages->setMaximumHeight(allpages->sizeHint().height());
394 if (evenpages->sizeHint().width()!=-1)
395 evenpages->setMinimumWidth(evenpages->sizeHint().width());
396 if (evenpages->sizeHint().height()!=-1)
397 evenpages->setMinimumHeight(evenpages->sizeHint().height());
398 if (evenpages->sizeHint().width()!=-1)
399 evenpages->setMaximumWidth(evenpages->sizeHint().width());
400 if (evenpages->sizeHint().height()!=-1)
401 evenpages->setMaximumHeight(evenpages->sizeHint().height());
402 if (from->sizeHint().width()!=-1)
403 from->setMinimumWidth(from->sizeHint().width());
404 if (from->sizeHint().height()!=-1)
405 from->setMinimumHeight(from->sizeHint().height());
406 if (from->sizeHint().height()!=-1)
407 from->setMaximumHeight(from->sizeHint().height());
408 if (fromLabel->sizeHint().width()!=-1)
409 fromLabel->setMinimumWidth(fromLabel->sizeHint().width());
410 if (fromLabel->sizeHint().height()!=-1)
411 fromLabel->setMinimumHeight(fromLabel->sizeHint().height());
412 if (fromLabel->sizeHint().width()!=-1)
413 fromLabel->setMaximumWidth(fromLabel->sizeHint().width());
414 if (fromLabel->sizeHint().height()!=-1)
415 fromLabel->setMaximumHeight(fromLabel->sizeHint().height());
416 if (toLabel->sizeHint().width()!=-1)
417 toLabel->setMinimumWidth(toLabel->sizeHint().width());
418 if (toLabel->sizeHint().height()!=-1)
419 toLabel->setMinimumHeight(toLabel->sizeHint().height());
420 if (toLabel->sizeHint().width()!=-1)
421 toLabel->setMaximumWidth(toLabel->sizeHint().width());
422 if (toLabel->sizeHint().height()!=-1)
423 toLabel->setMaximumHeight(toLabel->sizeHint().height());
424 if (oddpages->sizeHint().width()!=-1)
425 oddpages->setMinimumWidth(oddpages->sizeHint().width());
426 if (oddpages->sizeHint().height()!=-1)
427 oddpages->setMinimumHeight(oddpages->sizeHint().height());
428 if (oddpages->sizeHint().width()!=-1)
429 oddpages->setMaximumWidth(oddpages->sizeHint().width());
430 if (oddpages->sizeHint().height()!=-1)
431 oddpages->setMaximumHeight(oddpages->sizeHint().height());
432 if (toprinter->sizeHint().width()!=-1)
433 toprinter->setMinimumWidth(toprinter->sizeHint().width());
434 if (toprinter->sizeHint().height()!=-1)
435 toprinter->setMinimumHeight(toprinter->sizeHint().height());
436 if (toprinter->sizeHint().width()!=-1)
437 toprinter->setMaximumWidth(toprinter->sizeHint().width());
438 if (toprinter->sizeHint().height()!=-1)
439 toprinter->setMaximumHeight(toprinter->sizeHint().height());
440 if (tofile->sizeHint().width()!=-1)
441 tofile->setMinimumWidth(tofile->sizeHint().width());
442 if (tofile->sizeHint().height()!=-1)
443 tofile->setMinimumHeight(tofile->sizeHint().height());
444 if (tofile->sizeHint().width()!=-1)
445 tofile->setMaximumWidth(tofile->sizeHint().width());
446 if (tofile->sizeHint().height()!=-1)
447 tofile->setMaximumHeight(tofile->sizeHint().height());
448 if (printername->sizeHint().width()!=-1)
449 printername->setMinimumWidth(printername->sizeHint().width());
450 if (printername->sizeHint().height()!=-1)
451 printername->setMinimumHeight(printername->sizeHint().height());
452 if (printername->sizeHint().height()!=-1)
453 printername->setMaximumHeight(printername->sizeHint().height());
454 if (reverse->sizeHint().width()!=-1)
455 reverse->setMinimumWidth(reverse->sizeHint().width());
456 if (reverse->sizeHint().height()!=-1)
457 reverse->setMinimumHeight(reverse->sizeHint().height());
458 if (reverse->sizeHint().width()!=-1)
459 reverse->setMaximumWidth(reverse->sizeHint().width());
460 if (reverse->sizeHint().height()!=-1)
461 reverse->setMaximumHeight(reverse->sizeHint().height());
462 if (filename->sizeHint().width()!=-1)
463 filename->setMinimumWidth(filename->sizeHint().width());
464 if (filename->sizeHint().height()!=-1)
465 filename->setMinimumHeight(filename->sizeHint().height());
466 if (filename->sizeHint().height()!=-1)
467 filename->setMaximumHeight(filename->sizeHint().height());
468 if (sort->sizeHint().width()!=-1)
469 sort->setMinimumWidth(sort->sizeHint().width());
470 if (sort->sizeHint().height()!=-1)
471 sort->setMinimumHeight(sort->sizeHint().height());
472 if (sort->sizeHint().width()!=-1)
473 sort->setMaximumWidth(sort->sizeHint().width());
474 if (sort->sizeHint().height()!=-1)
475 sort->setMaximumHeight(sort->sizeHint().height());
476 if (browse->sizeHint().width()!=-1)
477 browse->setMinimumWidth(browse->sizeHint().width());
478 if (browse->sizeHint().height()!=-1)
479 browse->setMinimumHeight(browse->sizeHint().height());
480 if (browse->sizeHint().width()!=-1)
481 browse->setMaximumWidth(browse->sizeHint().width());
482 if (browse->sizeHint().height()!=-1)
483 browse->setMaximumHeight(browse->sizeHint().height());
484 if (count->sizeHint().width()!=-1)
485 count->setMinimumWidth(count->sizeHint().width());
486 if (count->sizeHint().height()!=-1)
487 count->setMinimumHeight(count->sizeHint().height());
488 if (count->sizeHint().height()!=-1)
489 count->setMaximumHeight(count->sizeHint().height());
490 if (countLabel->sizeHint().width()!=-1)
491 countLabel->setMinimumWidth(countLabel->sizeHint().width());
492 if (countLabel->sizeHint().height()!=-1)
493 countLabel->setMinimumHeight(countLabel->sizeHint().height());
494 if (countLabel->sizeHint().width()!=-1)
495 countLabel->setMaximumWidth(countLabel->sizeHint().width());
496 if (countLabel->sizeHint().height()!=-1)
497 countLabel->setMaximumHeight(countLabel->sizeHint().height());
498 if (to->sizeHint().width()!=-1)
499 to->setMinimumWidth(to->sizeHint().width());
500 if (to->sizeHint().height()!=-1)
501 to->setMinimumHeight(to->sizeHint().height());
502 if (to->sizeHint().height()!=-1)
503 to->setMaximumHeight(to->sizeHint().height());
504 QGridLayout* qtarch_layout_1 = new QGridLayout( this, 2, 1, 5, 5, NULL );
505 qtarch_layout_1->addColSpacing( 0, 5 );
506 qtarch_layout_1->setColStretch( 0, 1 );
507 qtarch_layout_1->addRowSpacing( 0, 0 );
508 qtarch_layout_1->setRowStretch( 0, 5 );
509 QBoxLayout* qtarch_layout_1_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
510 qtarch_layout_1->addLayout( qtarch_layout_1_1_1, 0, 0 );
511 qtarch_layout_1_1_1->addStrut( 0 );
512 qtarch_layout_1_1_1->addWidget( pagesGroupBox, 1, 36 );
513 QBoxLayout* qtarch_layout_1_1_1_1 = new QBoxLayout( pagesGroupBox, QBoxLayout::TopToBottom, 5, 5, NULL );
514 qtarch_layout_1_1_1_1->addStrut( 0 );
515 qtarch_layout_1_1_1_1->addSpacing( 12 );
516 qtarch_layout_1_1_1_1->addWidget( pagesRadioGroup, 4, 33 );
517 QBoxLayout* qtarch_layout_1_1_1_1_2 = new QBoxLayout( pagesRadioGroup, QBoxLayout::TopToBottom, 5, 5, NULL );
518 qtarch_layout_1_1_1_1_2->addStrut( 0 );
519 qtarch_layout_1_1_1_1_2->addStretch( 1 );
520 qtarch_layout_1_1_1_1_2->addWidget( allpages, 1, 1 );
521 qtarch_layout_1_1_1_1_2->addStretch( 1 );
522 qtarch_layout_1_1_1_1_2->addWidget( oddpages, 1, 1 );
523 qtarch_layout_1_1_1_1_2->addStretch( 1 );
524 qtarch_layout_1_1_1_1_2->addWidget( evenpages, 1, 1 );
525 qtarch_layout_1_1_1_1_2->addStretch( 1 );
526 QBoxLayout* qtarch_layout_1_1_1_1_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
527 qtarch_layout_1_1_1_1->addLayout( qtarch_layout_1_1_1_1_3, 1 );
528 qtarch_layout_1_1_1_1_3->addStrut( 0 );
529 qtarch_layout_1_1_1_1_3->addWidget( fromLabel, 2, 36 );
530 qtarch_layout_1_1_1_1_3->addWidget( from, 1, 36 );
531 QBoxLayout* qtarch_layout_1_1_1_1_4 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
532 qtarch_layout_1_1_1_1->addLayout( qtarch_layout_1_1_1_1_4, 1 );
533 qtarch_layout_1_1_1_1_4->addStrut( 0 );
534 qtarch_layout_1_1_1_1_4->addWidget( toLabel, 2, 36 );
535 qtarch_layout_1_1_1_1_4->addWidget( to, 1, 36 );
536 qtarch_layout_1_1_1_1->addWidget( reverse, 1, 36 );
537 QBoxLayout* qtarch_layout_1_1_1_2 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
538 qtarch_layout_1_1_1->addLayout( qtarch_layout_1_1_1_2, 2 );
539 qtarch_layout_1_1_1_2->addStrut( 0 );
540 qtarch_layout_1_1_1_2->addWidget( copies, 1, 36 );
541 QBoxLayout* qtarch_layout_1_1_1_2_1 = new QBoxLayout( copies, QBoxLayout::TopToBottom, 5, 5, NULL );
542 qtarch_layout_1_1_1_2_1->addStrut( 0 );
543 qtarch_layout_1_1_1_2_1->addSpacing( 7 );
544 QBoxLayout* qtarch_layout_1_1_1_2_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
545 qtarch_layout_1_1_1_2_1->addLayout( qtarch_layout_1_1_1_2_1_2, 1 );
546 qtarch_layout_1_1_1_2_1_2->addStrut( 0 );
547 qtarch_layout_1_1_1_2_1_2->addStretch( 1 );
548 qtarch_layout_1_1_1_2_1_2->addWidget( countLabel, 1, 36 );
549 qtarch_layout_1_1_1_2_1_2->addStretch( 1 );
550 qtarch_layout_1_1_1_2_1_2->addWidget( count, 1, 36 );
551 qtarch_layout_1_1_1_2_1_2->addStretch( 1 );
552 qtarch_layout_1_1_1_2_1_2->addWidget( sort, 1, 36 );
553 qtarch_layout_1_1_1_2_1->addSpacing( 3 );
554 qtarch_layout_1_1_1_2->addWidget( printToGroupBox, 3, 36 );
555 QBoxLayout* qtarch_layout_1_1_1_2_2 = new QBoxLayout( printToGroupBox, QBoxLayout::TopToBottom, 5, 5, NULL );
556 qtarch_layout_1_1_1_2_2->addStrut( 0 );
557 qtarch_layout_1_1_1_2_2->addSpacing( 12 );
558 qtarch_layout_1_1_1_2_2->addStretch( 1 );
559 QBoxLayout* qtarch_layout_1_1_1_2_2_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
560 qtarch_layout_1_1_1_2_2->addLayout( qtarch_layout_1_1_1_2_2_3, 3 );
561 qtarch_layout_1_1_1_2_2_3->addStrut( 0 );
562 qtarch_layout_1_1_1_2_2_3->addSpacing( 7 );
563 qtarch_layout_1_1_1_2_2_3->addWidget( printToRadioGroup, 1, 33 );
564 QBoxLayout* qtarch_layout_1_1_1_2_2_3_2 = new QBoxLayout( printToRadioGroup, QBoxLayout::TopToBottom, 5, 5, NULL );
565 qtarch_layout_1_1_1_2_2_3_2->addStrut( 0 );
566 qtarch_layout_1_1_1_2_2_3_2->addWidget( toprinter, 1, 1 );
567 qtarch_layout_1_1_1_2_2_3_2->addStretch( 1 );
568 qtarch_layout_1_1_1_2_2_3_2->addWidget( tofile, 1, 1 );
569 QBoxLayout* qtarch_layout_1_1_1_2_2_3_3 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
570 qtarch_layout_1_1_1_2_2_3->addLayout( qtarch_layout_1_1_1_2_2_3_3, 1 );
571 qtarch_layout_1_1_1_2_2_3_3->addStrut( 0 );
572 qtarch_layout_1_1_1_2_2_3_3->addWidget( printername, 1, 36 );
573 qtarch_layout_1_1_1_2_2_3_3->addStretch( 1 );
574 qtarch_layout_1_1_1_2_2_3_3->addWidget( filename, 1, 36 );
575 qtarch_layout_1_1_1_2_2_3->addSpacing( 7 );
576 qtarch_layout_1_1_1_2_2->addStretch( 1 );
577 QBoxLayout* qtarch_layout_1_1_1_2_2_5 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
578 qtarch_layout_1_1_1_2_2->addLayout( qtarch_layout_1_1_1_2_2_5, 1 );
579 qtarch_layout_1_1_1_2_2_5->addStrut( 0 );
580 qtarch_layout_1_1_1_2_2_5->addStretch( 1 );
581 qtarch_layout_1_1_1_2_2_5->addWidget( browse, 1, 36 );
582 qtarch_layout_1_1_1_2_2_5->addSpacing( 7 );
583 qtarch_layout_1_1_1_2_2->addStretch( 1 );
584 qtarch_layout_1->addRowSpacing( 1, 0 );
585 qtarch_layout_1->setRowStretch( 1, 1 );
586 QBoxLayout* qtarch_layout_1_2_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
587 qtarch_layout_1->addLayout( qtarch_layout_1_2_1, 1, 0 );
588 qtarch_layout_1_2_1->addStrut( 0 );
589 qtarch_layout_1_2_1->addStretch( 1 );
590 qtarch_layout_1_2_1->addWidget( print, 1, 36 );
591 qtarch_layout_1_2_1->addStretch( 2 );
592 qtarch_layout_1_2_1->addWidget( cancel, 1, 36 );
593 qtarch_layout_1_2_1->addStretch( 1 );
595 setMinimumSize( 0, 0 );
596 setMaximumSize( 32767, 32767 );
600 PrintDialogData::~PrintDialogData()
603 void PrintDialogData::clickedPrint()
606 void PrintDialogData::clickedCancel()
609 void PrintDialogData::clickedBrowse()
612 void PrintDialogData::changedCount(const char*)