1 /**********************************************************************
3 --- Qt Architect generated file ---
5 File: formprintdialogdata.C
6 Last generated: Tue Oct 3 18:09:27 2000
8 DO NOT EDIT!!! This file will be automatically
9 regenerated by qtarch. All changes will be lost.
11 *********************************************************************/
17 #include "formprintdialogdata.h"
19 #define Inherited QWidget
22 FormPrintDialogData::FormPrintDialogData
28 Inherited( parent, name, 0 )
30 pagesGroupBox = new QGroupBox( this, "pagesGroupBox" );
31 pagesGroupBox->setGeometry( 5, 5, 140, 208 );
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, 130, 106 );
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( 150, 5, 280, 51 );
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( 150, 61, 280, 152 );
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, 33, 131, 62 );
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( 75, 218, 70, 32 );
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( 290, 218, 70, 32 );
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, 14, 120, 30 );
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, 82, 120, 10 );
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( 93, 128, 42, 22 );
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 );
175 from->setText( _("") );
176 from->setMaxLength( 32767 );
177 from->setFrame( QLineEdit::Normal );
178 from->setFrame( TRUE );
180 fromLabel = new QLabel( pagesGroupBox, "fromLabel" );
181 fromLabel->setGeometry( 5, 128, 83, 22 );
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, 155, 83, 21 );
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, 58, 120, 10 );
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, 121, 16 );
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, 41, 121, 16 );
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( 148, 33, 120, 19 );
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, 181, 130, 22 );
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( 148, 76, 120, 19 );
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( 232, 12, 43, 31 );
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( _("&Sort") );
299 sort->setAutoRepeat( FALSE );
300 sort->setAutoResize( TRUE );
301 sort->setChecked( FALSE );
303 browse = new QPushButton( printToGroupBox, "browse" );
304 browse->setGeometry( 137, 116, 131, 15 );
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( 140, 12, 43, 31 );
322 count->setMinimumSize( 0, 0 );
323 count->setMaximumSize( 32767, 32767 );
324 count->setFocusPolicy( QWidget::StrongFocus );
325 count->setBackgroundMode( QWidget::PaletteBase );
326 count->setFontPropagation( QWidget::NoChildren );
327 count->setPalettePropagation( QWidget::NoChildren );
328 count->setText( _("") );
329 count->setMaxLength( 32767 );
330 count->setFrame( QLineEdit::Normal );
331 count->setFrame( TRUE );
333 countLabel = new QLabel( copies, "countLabel" );
334 countLabel->setGeometry( 48, 12, 44, 31 );
335 countLabel->setMinimumSize( 0, 0 );
336 countLabel->setMaximumSize( 32767, 32767 );
337 countLabel->setFocusPolicy( QWidget::NoFocus );
338 countLabel->setBackgroundMode( QWidget::PaletteBackground );
339 countLabel->setFontPropagation( QWidget::NoChildren );
340 countLabel->setPalettePropagation( QWidget::NoChildren );
341 countLabel->setFrameStyle( 0 );
342 countLabel->setLineWidth( 1 );
343 countLabel->setMidLineWidth( 0 );
344 countLabel->QFrame::setMargin( 0 );
345 countLabel->setText( _("Count") );
346 countLabel->setAlignment( 289 );
347 countLabel->setMargin( -1 );
349 to = new KIntLineEdit( pagesGroupBox, "to" );
350 to->setGeometry( 93, 155, 42, 21 );
351 to->setMinimumSize( 0, 0 );
352 to->setMaximumSize( 32767, 32767 );
353 to->setFocusPolicy( QWidget::StrongFocus );
354 to->setBackgroundMode( QWidget::PaletteBase );
355 to->setFontPropagation( QWidget::NoChildren );
356 to->setPalettePropagation( QWidget::NoChildren );
357 to->setText( _("") );
358 to->setMaxLength( 32767 );
359 to->setFrame( QLineEdit::Normal );
360 to->setFrame( TRUE );
362 pagesRadioGroup->insert( allpages );
363 pagesRadioGroup->insert( evenpages );
364 pagesRadioGroup->insert( oddpages );
366 printToRadioGroup->insert( toprinter );
367 printToRadioGroup->insert( tofile );
369 if (print->sizeHint().width()!=-1)
370 print->setMinimumWidth(print->sizeHint().width());
371 if (print->sizeHint().height()!=-1)
372 print->setMinimumHeight(print->sizeHint().height());
373 if (print->sizeHint().width()!=-1)
374 print->setMaximumWidth(print->sizeHint().width());
375 if (print->sizeHint().height()!=-1)
376 print->setMaximumHeight(print->sizeHint().height());
377 if (cancel->sizeHint().width()!=-1)
378 cancel->setMinimumWidth(cancel->sizeHint().width());
379 if (cancel->sizeHint().height()!=-1)
380 cancel->setMinimumHeight(cancel->sizeHint().height());
381 if (cancel->sizeHint().width()!=-1)
382 cancel->setMaximumWidth(cancel->sizeHint().width());
383 if (cancel->sizeHint().height()!=-1)
384 cancel->setMaximumHeight(cancel->sizeHint().height());
385 if (allpages->sizeHint().width()!=-1)
386 allpages->setMinimumWidth(allpages->sizeHint().width());
387 if (allpages->sizeHint().height()!=-1)
388 allpages->setMinimumHeight(allpages->sizeHint().height());
389 if (allpages->sizeHint().width()!=-1)
390 allpages->setMaximumWidth(allpages->sizeHint().width());
391 if (allpages->sizeHint().height()!=-1)
392 allpages->setMaximumHeight(allpages->sizeHint().height());
393 if (evenpages->sizeHint().width()!=-1)
394 evenpages->setMinimumWidth(evenpages->sizeHint().width());
395 if (evenpages->sizeHint().height()!=-1)
396 evenpages->setMinimumHeight(evenpages->sizeHint().height());
397 if (evenpages->sizeHint().width()!=-1)
398 evenpages->setMaximumWidth(evenpages->sizeHint().width());
399 if (evenpages->sizeHint().height()!=-1)
400 evenpages->setMaximumHeight(evenpages->sizeHint().height());
401 if (from->sizeHint().width()!=-1)
402 from->setMinimumWidth(from->sizeHint().width());
403 if (from->sizeHint().height()!=-1)
404 from->setMinimumHeight(from->sizeHint().height());
405 if (from->sizeHint().height()!=-1)
406 from->setMaximumHeight(from->sizeHint().height());
407 if (fromLabel->sizeHint().width()!=-1)
408 fromLabel->setMinimumWidth(fromLabel->sizeHint().width());
409 if (fromLabel->sizeHint().height()!=-1)
410 fromLabel->setMinimumHeight(fromLabel->sizeHint().height());
411 if (fromLabel->sizeHint().width()!=-1)
412 fromLabel->setMaximumWidth(fromLabel->sizeHint().width());
413 if (fromLabel->sizeHint().height()!=-1)
414 fromLabel->setMaximumHeight(fromLabel->sizeHint().height());
415 if (toLabel->sizeHint().width()!=-1)
416 toLabel->setMinimumWidth(toLabel->sizeHint().width());
417 if (toLabel->sizeHint().height()!=-1)
418 toLabel->setMinimumHeight(toLabel->sizeHint().height());
419 if (toLabel->sizeHint().width()!=-1)
420 toLabel->setMaximumWidth(toLabel->sizeHint().width());
421 if (toLabel->sizeHint().height()!=-1)
422 toLabel->setMaximumHeight(toLabel->sizeHint().height());
423 if (oddpages->sizeHint().width()!=-1)
424 oddpages->setMinimumWidth(oddpages->sizeHint().width());
425 if (oddpages->sizeHint().height()!=-1)
426 oddpages->setMinimumHeight(oddpages->sizeHint().height());
427 if (oddpages->sizeHint().width()!=-1)
428 oddpages->setMaximumWidth(oddpages->sizeHint().width());
429 if (oddpages->sizeHint().height()!=-1)
430 oddpages->setMaximumHeight(oddpages->sizeHint().height());
431 if (toprinter->sizeHint().width()!=-1)
432 toprinter->setMinimumWidth(toprinter->sizeHint().width());
433 if (toprinter->sizeHint().height()!=-1)
434 toprinter->setMinimumHeight(toprinter->sizeHint().height());
435 if (toprinter->sizeHint().width()!=-1)
436 toprinter->setMaximumWidth(toprinter->sizeHint().width());
437 if (toprinter->sizeHint().height()!=-1)
438 toprinter->setMaximumHeight(toprinter->sizeHint().height());
439 if (tofile->sizeHint().width()!=-1)
440 tofile->setMinimumWidth(tofile->sizeHint().width());
441 if (tofile->sizeHint().height()!=-1)
442 tofile->setMinimumHeight(tofile->sizeHint().height());
443 if (tofile->sizeHint().width()!=-1)
444 tofile->setMaximumWidth(tofile->sizeHint().width());
445 if (tofile->sizeHint().height()!=-1)
446 tofile->setMaximumHeight(tofile->sizeHint().height());
447 if (printername->sizeHint().width()!=-1)
448 printername->setMinimumWidth(printername->sizeHint().width());
449 if (printername->sizeHint().height()!=-1)
450 printername->setMinimumHeight(printername->sizeHint().height());
451 if (printername->sizeHint().height()!=-1)
452 printername->setMaximumHeight(printername->sizeHint().height());
453 if (reverse->sizeHint().width()!=-1)
454 reverse->setMinimumWidth(reverse->sizeHint().width());
455 if (reverse->sizeHint().height()!=-1)
456 reverse->setMinimumHeight(reverse->sizeHint().height());
457 if (reverse->sizeHint().width()!=-1)
458 reverse->setMaximumWidth(reverse->sizeHint().width());
459 if (reverse->sizeHint().height()!=-1)
460 reverse->setMaximumHeight(reverse->sizeHint().height());
461 if (filename->sizeHint().width()!=-1)
462 filename->setMinimumWidth(filename->sizeHint().width());
463 if (filename->sizeHint().height()!=-1)
464 filename->setMinimumHeight(filename->sizeHint().height());
465 if (filename->sizeHint().height()!=-1)
466 filename->setMaximumHeight(filename->sizeHint().height());
467 if (sort->sizeHint().width()!=-1)
468 sort->setMinimumWidth(sort->sizeHint().width());
469 if (sort->sizeHint().height()!=-1)
470 sort->setMinimumHeight(sort->sizeHint().height());
471 if (sort->sizeHint().width()!=-1)
472 sort->setMaximumWidth(sort->sizeHint().width());
473 if (sort->sizeHint().height()!=-1)
474 sort->setMaximumHeight(sort->sizeHint().height());
475 if (browse->sizeHint().width()!=-1)
476 browse->setMinimumWidth(browse->sizeHint().width());
477 if (browse->sizeHint().height()!=-1)
478 browse->setMinimumHeight(browse->sizeHint().height());
479 if (browse->sizeHint().width()!=-1)
480 browse->setMaximumWidth(browse->sizeHint().width());
481 if (browse->sizeHint().height()!=-1)
482 browse->setMaximumHeight(browse->sizeHint().height());
483 if (count->sizeHint().width()!=-1)
484 count->setMinimumWidth(count->sizeHint().width());
485 if (count->sizeHint().height()!=-1)
486 count->setMinimumHeight(count->sizeHint().height());
487 if (count->sizeHint().height()!=-1)
488 count->setMaximumHeight(count->sizeHint().height());
489 if (countLabel->sizeHint().width()!=-1)
490 countLabel->setMinimumWidth(countLabel->sizeHint().width());
491 if (countLabel->sizeHint().height()!=-1)
492 countLabel->setMinimumHeight(countLabel->sizeHint().height());
493 if (countLabel->sizeHint().width()!=-1)
494 countLabel->setMaximumWidth(countLabel->sizeHint().width());
495 if (countLabel->sizeHint().height()!=-1)
496 countLabel->setMaximumHeight(countLabel->sizeHint().height());
497 if (to->sizeHint().width()!=-1)
498 to->setMinimumWidth(to->sizeHint().width());
499 if (to->sizeHint().height()!=-1)
500 to->setMinimumHeight(to->sizeHint().height());
501 if (to->sizeHint().height()!=-1)
502 to->setMaximumHeight(to->sizeHint().height());
503 QGridLayout* qtarch_layout_1 = new QGridLayout( this, 2, 1, 5, 5, NULL );
504 qtarch_layout_1->addColSpacing( 0, 5 );
505 qtarch_layout_1->setColStretch( 0, 1 );
506 qtarch_layout_1->addRowSpacing( 0, 0 );
507 qtarch_layout_1->setRowStretch( 0, 5 );
508 QBoxLayout* qtarch_layout_1_1_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
509 qtarch_layout_1->addLayout( qtarch_layout_1_1_1, 0, 0 );
510 qtarch_layout_1_1_1->addStrut( 0 );
511 qtarch_layout_1_1_1->addWidget( pagesGroupBox, 1, 36 );
512 QBoxLayout* qtarch_layout_1_1_1_1 = new QBoxLayout( pagesGroupBox, QBoxLayout::TopToBottom, 5, 5, NULL );
513 qtarch_layout_1_1_1_1->addStrut( 0 );
514 qtarch_layout_1_1_1_1->addSpacing( 12 );
515 qtarch_layout_1_1_1_1->addWidget( pagesRadioGroup, 4, 33 );
516 QBoxLayout* qtarch_layout_1_1_1_1_2 = new QBoxLayout( pagesRadioGroup, QBoxLayout::TopToBottom, 5, 5, NULL );
517 qtarch_layout_1_1_1_1_2->addStrut( 0 );
518 qtarch_layout_1_1_1_1_2->addStretch( 1 );
519 qtarch_layout_1_1_1_1_2->addWidget( allpages, 1, 1 );
520 qtarch_layout_1_1_1_1_2->addStretch( 1 );
521 qtarch_layout_1_1_1_1_2->addWidget( oddpages, 1, 1 );
522 qtarch_layout_1_1_1_1_2->addStretch( 1 );
523 qtarch_layout_1_1_1_1_2->addWidget( evenpages, 1, 1 );
524 qtarch_layout_1_1_1_1_2->addStretch( 1 );
525 QBoxLayout* qtarch_layout_1_1_1_1_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
526 qtarch_layout_1_1_1_1->addLayout( qtarch_layout_1_1_1_1_3, 1 );
527 qtarch_layout_1_1_1_1_3->addStrut( 0 );
528 qtarch_layout_1_1_1_1_3->addWidget( fromLabel, 2, 36 );
529 qtarch_layout_1_1_1_1_3->addWidget( from, 1, 36 );
530 QBoxLayout* qtarch_layout_1_1_1_1_4 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
531 qtarch_layout_1_1_1_1->addLayout( qtarch_layout_1_1_1_1_4, 1 );
532 qtarch_layout_1_1_1_1_4->addStrut( 0 );
533 qtarch_layout_1_1_1_1_4->addWidget( toLabel, 2, 36 );
534 qtarch_layout_1_1_1_1_4->addWidget( to, 1, 36 );
535 qtarch_layout_1_1_1_1->addWidget( reverse, 1, 36 );
536 QBoxLayout* qtarch_layout_1_1_1_2 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
537 qtarch_layout_1_1_1->addLayout( qtarch_layout_1_1_1_2, 2 );
538 qtarch_layout_1_1_1_2->addStrut( 0 );
539 qtarch_layout_1_1_1_2->addWidget( copies, 1, 36 );
540 QBoxLayout* qtarch_layout_1_1_1_2_1 = new QBoxLayout( copies, QBoxLayout::TopToBottom, 5, 5, NULL );
541 qtarch_layout_1_1_1_2_1->addStrut( 0 );
542 qtarch_layout_1_1_1_2_1->addSpacing( 7 );
543 QBoxLayout* qtarch_layout_1_1_1_2_1_2 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
544 qtarch_layout_1_1_1_2_1->addLayout( qtarch_layout_1_1_1_2_1_2, 1 );
545 qtarch_layout_1_1_1_2_1_2->addStrut( 0 );
546 qtarch_layout_1_1_1_2_1_2->addStretch( 1 );
547 qtarch_layout_1_1_1_2_1_2->addWidget( countLabel, 1, 36 );
548 qtarch_layout_1_1_1_2_1_2->addStretch( 1 );
549 qtarch_layout_1_1_1_2_1_2->addWidget( count, 1, 36 );
550 qtarch_layout_1_1_1_2_1_2->addStretch( 1 );
551 qtarch_layout_1_1_1_2_1_2->addWidget( sort, 1, 36 );
552 qtarch_layout_1_1_1_2_1->addSpacing( 3 );
553 qtarch_layout_1_1_1_2->addWidget( printToGroupBox, 3, 36 );
554 QBoxLayout* qtarch_layout_1_1_1_2_2 = new QBoxLayout( printToGroupBox, QBoxLayout::TopToBottom, 5, 5, NULL );
555 qtarch_layout_1_1_1_2_2->addStrut( 0 );
556 qtarch_layout_1_1_1_2_2->addSpacing( 12 );
557 qtarch_layout_1_1_1_2_2->addStretch( 1 );
558 QBoxLayout* qtarch_layout_1_1_1_2_2_3 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
559 qtarch_layout_1_1_1_2_2->addLayout( qtarch_layout_1_1_1_2_2_3, 3 );
560 qtarch_layout_1_1_1_2_2_3->addStrut( 0 );
561 qtarch_layout_1_1_1_2_2_3->addSpacing( 7 );
562 qtarch_layout_1_1_1_2_2_3->addWidget( printToRadioGroup, 1, 33 );
563 QBoxLayout* qtarch_layout_1_1_1_2_2_3_2 = new QBoxLayout( printToRadioGroup, QBoxLayout::TopToBottom, 5, 5, NULL );
564 qtarch_layout_1_1_1_2_2_3_2->addStrut( 0 );
565 qtarch_layout_1_1_1_2_2_3_2->addWidget( toprinter, 1, 1 );
566 qtarch_layout_1_1_1_2_2_3_2->addStretch( 1 );
567 qtarch_layout_1_1_1_2_2_3_2->addWidget( tofile, 1, 1 );
568 QBoxLayout* qtarch_layout_1_1_1_2_2_3_3 = new QBoxLayout( QBoxLayout::TopToBottom, 5, NULL );
569 qtarch_layout_1_1_1_2_2_3->addLayout( qtarch_layout_1_1_1_2_2_3_3, 1 );
570 qtarch_layout_1_1_1_2_2_3_3->addStrut( 0 );
571 qtarch_layout_1_1_1_2_2_3_3->addWidget( printername, 1, 36 );
572 qtarch_layout_1_1_1_2_2_3_3->addStretch( 1 );
573 qtarch_layout_1_1_1_2_2_3_3->addWidget( filename, 1, 36 );
574 qtarch_layout_1_1_1_2_2_3->addSpacing( 7 );
575 qtarch_layout_1_1_1_2_2->addStretch( 1 );
576 QBoxLayout* qtarch_layout_1_1_1_2_2_5 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
577 qtarch_layout_1_1_1_2_2->addLayout( qtarch_layout_1_1_1_2_2_5, 1 );
578 qtarch_layout_1_1_1_2_2_5->addStrut( 0 );
579 qtarch_layout_1_1_1_2_2_5->addStretch( 1 );
580 qtarch_layout_1_1_1_2_2_5->addWidget( browse, 1, 36 );
581 qtarch_layout_1_1_1_2_2_5->addSpacing( 7 );
582 qtarch_layout_1_1_1_2_2->addStretch( 1 );
583 qtarch_layout_1->addRowSpacing( 1, 0 );
584 qtarch_layout_1->setRowStretch( 1, 1 );
585 QBoxLayout* qtarch_layout_1_2_1 = new QBoxLayout( QBoxLayout::LeftToRight, 5, NULL );
586 qtarch_layout_1->addLayout( qtarch_layout_1_2_1, 1, 0 );
587 qtarch_layout_1_2_1->addStrut( 0 );
588 qtarch_layout_1_2_1->addStretch( 1 );
589 qtarch_layout_1_2_1->addWidget( print, 1, 36 );
590 qtarch_layout_1_2_1->addStretch( 2 );
591 qtarch_layout_1_2_1->addWidget( cancel, 1, 36 );
592 qtarch_layout_1_2_1->addStretch( 1 );
594 setMinimumSize( 0, 0 );
595 setMaximumSize( 32767, 32767 );
599 FormPrintDialogData::~FormPrintDialogData()
602 void FormPrintDialogData::clickedPrint()
605 void FormPrintDialogData::clickedCancel()
608 void FormPrintDialogData::clickedBrowse()