]> git.lyx.org Git - features.git/blob - src/frontends/kde/printdlgdata.C
ee62d401963cfe6198818d1cb779a040f6447bcb
[features.git] / src / frontends / kde / printdlgdata.C
1 /**********************************************************************
2
3         --- Qt Architect generated file ---
4
5         File: printdlgdata.C
6         Last generated: Sat Oct 14 03:43:43 2000
7
8         DO NOT EDIT!!!  This file will be automatically
9         regenerated by qtarch.  All changes will be lost.
10
11  *********************************************************************/
12
13 #include <gettext.h>
14 #include <qpixmap.h>
15 #include <qlayout.h>
16 #include "printdlgdata.h"
17
18 #define Inherited QWidget
19
20
21 PrintDialogData::PrintDialogData
22 (
23         QWidget* parent,
24         const char* name
25 )
26         :
27         Inherited( parent, name, 0 )
28 {
29         pagesGroupBox = new QGroupBox( this, "pagesGroupBox" );
30         pagesGroupBox->setGeometry( 5, 5, 162, 270 );
31         pagesGroupBox->setMinimumSize( 15, 47 );
32         pagesGroupBox->setMaximumSize( 32767, 32767 );
33         pagesGroupBox->setFocusPolicy( QWidget::NoFocus );
34         pagesGroupBox->setBackgroundMode( QWidget::PaletteBackground );
35         pagesGroupBox->setFontPropagation( QWidget::NoChildren );
36         pagesGroupBox->setPalettePropagation( QWidget::NoChildren );
37         pagesGroupBox->setFrameStyle( 49 );
38         pagesGroupBox->setLineWidth( 1 );
39         pagesGroupBox->setMidLineWidth( 0 );
40         pagesGroupBox->QFrame::setMargin( 0 );
41         pagesGroupBox->setTitle( _("Pages") );
42         pagesGroupBox->setAlignment( 1 );
43
44         pagesRadioGroup = new QButtonGroup( pagesGroupBox, "pagesRadioGroup" );
45         pagesRadioGroup->setGeometry( 5, 17, 152, 142 );
46         pagesRadioGroup->setMinimumSize( 10, 20 );
47         pagesRadioGroup->setMaximumSize( 32767, 32767 );
48         pagesRadioGroup->setFocusPolicy( QWidget::NoFocus );
49         pagesRadioGroup->setBackgroundMode( QWidget::PaletteBackground );
50         pagesRadioGroup->setFontPropagation( QWidget::NoChildren );
51         pagesRadioGroup->setPalettePropagation( QWidget::NoChildren );
52         pagesRadioGroup->setFrameStyle( 0 );
53         pagesRadioGroup->setLineWidth( 1 );
54         pagesRadioGroup->setMidLineWidth( 0 );
55         pagesRadioGroup->QFrame::setMargin( 0 );
56         pagesRadioGroup->setTitle( _("") );
57         pagesRadioGroup->setAlignment( 1 );
58         pagesRadioGroup->setExclusive( TRUE );
59
60         copies = new QGroupBox( this, "copies" );
61         copies->setGeometry( 172, 5, 323, 66 );
62         copies->setMinimumSize( 30, 10 );
63         copies->setMaximumSize( 32767, 32767 );
64         copies->setFocusPolicy( QWidget::NoFocus );
65         copies->setBackgroundMode( QWidget::PaletteBackground );
66         copies->setFontPropagation( QWidget::NoChildren );
67         copies->setPalettePropagation( QWidget::NoChildren );
68         copies->setFrameStyle( 49 );
69         copies->setLineWidth( 1 );
70         copies->setMidLineWidth( 0 );
71         copies->QFrame::setMargin( 0 );
72         copies->setTitle( _("Copies") );
73         copies->setAlignment( 1 );
74
75         printToGroupBox = new QGroupBox( this, "printToGroupBox" );
76         printToGroupBox->setGeometry( 172, 76, 323, 199 );
77         printToGroupBox->setMinimumSize( 25, 30 );
78         printToGroupBox->setMaximumSize( 32767, 32767 );
79         printToGroupBox->setFocusPolicy( QWidget::NoFocus );
80         printToGroupBox->setBackgroundMode( QWidget::PaletteBackground );
81         printToGroupBox->setFontPropagation( QWidget::NoChildren );
82         printToGroupBox->setPalettePropagation( QWidget::NoChildren );
83         printToGroupBox->setFrameStyle( 49 );
84         printToGroupBox->setLineWidth( 1 );
85         printToGroupBox->setMidLineWidth( 0 );
86         printToGroupBox->QFrame::setMargin( 0 );
87         printToGroupBox->setTitle( _("Print to") );
88         printToGroupBox->setAlignment( 1 );
89
90         printToRadioGroup = new QButtonGroup( printToGroupBox, "printToRadioGroup" );
91         printToRadioGroup->setGeometry( 12, 39, 152, 83 );
92         printToRadioGroup->setMinimumSize( 10, 15 );
93         printToRadioGroup->setMaximumSize( 32767, 32767 );
94         printToRadioGroup->setFocusPolicy( QWidget::NoFocus );
95         printToRadioGroup->setBackgroundMode( QWidget::PaletteBackground );
96         printToRadioGroup->setFontPropagation( QWidget::NoChildren );
97         printToRadioGroup->setPalettePropagation( QWidget::NoChildren );
98         printToRadioGroup->setFrameStyle( 0 );
99         printToRadioGroup->setLineWidth( 1 );
100         printToRadioGroup->setMidLineWidth( 0 );
101         printToRadioGroup->QFrame::setMargin( 0 );
102         printToRadioGroup->setTitle( _("") );
103         printToRadioGroup->setAlignment( 1 );
104         printToRadioGroup->setExclusive( TRUE );
105
106         print = new QPushButton( this, "print" );
107         print->setGeometry( 86, 280, 81, 45 );
108         print->setMinimumSize( 0, 0 );
109         print->setMaximumSize( 32767, 32767 );
110         connect( print, SIGNAL(clicked()), SLOT(clickedPrint()) );
111         print->setFocusPolicy( QWidget::TabFocus );
112         print->setBackgroundMode( QWidget::PaletteBackground );
113         print->setFontPropagation( QWidget::NoChildren );
114         print->setPalettePropagation( QWidget::NoChildren );
115         print->setText( _("&Print") );
116         print->setAutoRepeat( FALSE );
117         print->setAutoResize( FALSE );
118         print->setToggleButton( FALSE );
119         print->setDefault( FALSE );
120         print->setAutoDefault( FALSE );
121         print->setIsMenuButton( FALSE );
122
123         cancel = new QPushButton( this, "cancel" );
124         cancel->setGeometry( 333, 280, 81, 45 );
125         cancel->setMinimumSize( 0, 0 );
126         cancel->setMaximumSize( 32767, 32767 );
127         connect( cancel, SIGNAL(clicked()), SLOT(clickedCancel()) );
128         cancel->setFocusPolicy( QWidget::TabFocus );
129         cancel->setBackgroundMode( QWidget::PaletteBackground );
130         cancel->setFontPropagation( QWidget::NoChildren );
131         cancel->setPalettePropagation( QWidget::NoChildren );
132         cancel->setText( _("&Cancel") );
133         cancel->setAutoRepeat( FALSE );
134         cancel->setAutoResize( FALSE );
135         cancel->setToggleButton( FALSE );
136         cancel->setDefault( FALSE );
137         cancel->setAutoDefault( FALSE );
138         cancel->setIsMenuButton( FALSE );
139
140         allpages = new QRadioButton( pagesRadioGroup, "allpages" );
141         allpages->setGeometry( 5, 20, 142, 34 );
142         allpages->setMinimumSize( 80, 20 );
143         allpages->setMaximumSize( 32767, 32767 );
144         allpages->setFocusPolicy( QWidget::TabFocus );
145         allpages->setBackgroundMode( QWidget::PaletteBackground );
146         allpages->setFontPropagation( QWidget::NoChildren );
147         allpages->setPalettePropagation( QWidget::NoChildren );
148         allpages->setText( _("&All pages") );
149         allpages->setAutoRepeat( FALSE );
150         allpages->setAutoResize( FALSE );
151         allpages->setChecked( FALSE );
152
153         evenpages = new QRadioButton( pagesRadioGroup, "evenpages" );
154         evenpages->setGeometry( 5, 108, 142, 14 );
155         evenpages->setMinimumSize( 0, 0 );
156         evenpages->setMaximumSize( 32767, 32767 );
157         evenpages->setFocusPolicy( QWidget::TabFocus );
158         evenpages->setBackgroundMode( QWidget::PaletteBackground );
159         evenpages->setFontPropagation( QWidget::NoChildren );
160         evenpages->setPalettePropagation( QWidget::NoChildren );
161         evenpages->setText( _("&Even pages") );
162         evenpages->setAutoRepeat( FALSE );
163         evenpages->setAutoResize( FALSE );
164         evenpages->setChecked( FALSE );
165
166         from = new KIntLineEdit( pagesGroupBox, "from" );
167         from->setGeometry( 108, 164, 49, 30 );
168         from->setMinimumSize( 0, 0 );
169         from->setMaximumSize( 32767, 32767 );
170         from->setFocusPolicy( QWidget::StrongFocus );
171         from->setBackgroundMode( QWidget::PaletteBase );
172         from->setFontPropagation( QWidget::NoChildren );
173         from->setPalettePropagation( QWidget::NoChildren );
174         from->setText( _("") );
175         from->setMaxLength( 32767 );
176         from->setFrame( QLineEdit::Normal );
177         from->setFrame( TRUE );
178
179         fromLabel = new QLabel( pagesGroupBox, "fromLabel" );
180         fromLabel->setGeometry( 5, 164, 98, 30 );
181         fromLabel->setMinimumSize( 0, 0 );
182         fromLabel->setMaximumSize( 32767, 32767 );
183         fromLabel->setFocusPolicy( QWidget::NoFocus );
184         fromLabel->setBackgroundMode( QWidget::PaletteBackground );
185         fromLabel->setFontPropagation( QWidget::NoChildren );
186         fromLabel->setPalettePropagation( QWidget::NoChildren );
187         fromLabel->setFrameStyle( 0 );
188         fromLabel->setLineWidth( 1 );
189         fromLabel->setMidLineWidth( 0 );
190         fromLabel->QFrame::setMargin( 0 );
191         fromLabel->setText( _("From") );
192         fromLabel->setAlignment( 289 );
193         fromLabel->setMargin( -1 );
194
195         toLabel = new QLabel( pagesGroupBox, "toLabel" );
196         toLabel->setGeometry( 5, 199, 98, 31 );
197         toLabel->setMinimumSize( 0, 0 );
198         toLabel->setMaximumSize( 32767, 32767 );
199         toLabel->setFocusPolicy( QWidget::NoFocus );
200         toLabel->setBackgroundMode( QWidget::PaletteBackground );
201         toLabel->setFontPropagation( QWidget::NoChildren );
202         toLabel->setPalettePropagation( QWidget::NoChildren );
203         toLabel->setFrameStyle( 0 );
204         toLabel->setLineWidth( 1 );
205         toLabel->setMidLineWidth( 0 );
206         toLabel->QFrame::setMargin( 0 );
207         toLabel->setText( _("To") );
208         toLabel->setAlignment( 289 );
209         toLabel->setMargin( -1 );
210
211         oddpages = new QRadioButton( pagesRadioGroup, "oddpages" );
212         oddpages->setGeometry( 5, 74, 142, 14 );
213         oddpages->setMinimumSize( 0, 0 );
214         oddpages->setMaximumSize( 32767, 32767 );
215         oddpages->setFocusPolicy( QWidget::TabFocus );
216         oddpages->setBackgroundMode( QWidget::PaletteBackground );
217         oddpages->setFontPropagation( QWidget::NoChildren );
218         oddpages->setPalettePropagation( QWidget::NoChildren );
219         oddpages->setText( _("&Odd pages") );
220         oddpages->setAutoRepeat( FALSE );
221         oddpages->setAutoResize( FALSE );
222         oddpages->setChecked( FALSE );
223
224         toprinter = new QRadioButton( printToRadioGroup, "toprinter" );
225         toprinter->setGeometry( 5, 5, 142, 23 );
226         toprinter->setMinimumSize( 0, 0 );
227         toprinter->setMaximumSize( 32767, 32767 );
228         toprinter->setFocusPolicy( QWidget::TabFocus );
229         toprinter->setBackgroundMode( QWidget::PaletteBackground );
230         toprinter->setFontPropagation( QWidget::NoChildren );
231         toprinter->setPalettePropagation( QWidget::NoChildren );
232         toprinter->setText( _("&Printer") );
233         toprinter->setAutoRepeat( FALSE );
234         toprinter->setAutoResize( FALSE );
235         toprinter->setChecked( FALSE );
236
237         tofile = new QRadioButton( printToRadioGroup, "tofile" );
238         tofile->setGeometry( 5, 55, 142, 23 );
239         tofile->setMinimumSize( 0, 0 );
240         tofile->setMaximumSize( 32767, 32767 );
241         tofile->setFocusPolicy( QWidget::TabFocus );
242         tofile->setBackgroundMode( QWidget::PaletteBackground );
243         tofile->setFontPropagation( QWidget::NoChildren );
244         tofile->setPalettePropagation( QWidget::NoChildren );
245         tofile->setText( _("&File") );
246         tofile->setAutoRepeat( FALSE );
247         tofile->setAutoResize( FALSE );
248         tofile->setChecked( FALSE );
249
250         printername = new QLineEdit( printToGroupBox, "printername" );
251         printername->setGeometry( 169, 39, 142, 26 );
252         printername->setMinimumSize( 0, 0 );
253         printername->setMaximumSize( 32767, 32767 );
254         printername->setFocusPolicy( QWidget::StrongFocus );
255         printername->setBackgroundMode( QWidget::PaletteBase );
256         printername->setFontPropagation( QWidget::NoChildren );
257         printername->setPalettePropagation( QWidget::NoChildren );
258         printername->setText( _("") );
259         printername->setMaxLength( 32767 );
260         printername->setFrame( QLineEdit::Normal );
261         printername->setFrame( TRUE );
262
263         reverse = new QCheckBox( pagesGroupBox, "reverse" );
264         reverse->setGeometry( 5, 235, 152, 30 );
265         reverse->setMinimumSize( 0, 0 );
266         reverse->setMaximumSize( 32767, 32767 );
267         reverse->setFocusPolicy( QWidget::TabFocus );
268         reverse->setBackgroundMode( QWidget::PaletteBackground );
269         reverse->setFontPropagation( QWidget::NoChildren );
270         reverse->setPalettePropagation( QWidget::NoChildren );
271         reverse->setText( _("&Reverse order") );
272         reverse->setAutoRepeat( FALSE );
273         reverse->setAutoResize( TRUE );
274         reverse->setChecked( FALSE );
275
276         filename = new QLineEdit( printToGroupBox, "filename" );
277         filename->setGeometry( 169, 96, 142, 26 );
278         filename->setMinimumSize( 0, 0 );
279         filename->setMaximumSize( 32767, 32767 );
280         filename->setFocusPolicy( QWidget::StrongFocus );
281         filename->setBackgroundMode( QWidget::PaletteBase );
282         filename->setFontPropagation( QWidget::NoChildren );
283         filename->setPalettePropagation( QWidget::NoChildren );
284         filename->setText( _("") );
285         filename->setMaxLength( 32767 );
286         filename->setFrame( QLineEdit::Normal );
287         filename->setFrame( TRUE );
288
289         sort = new QCheckBox( copies, "sort" );
290         sort->setGeometry( 268, 12, 50, 46 );
291         sort->setMinimumSize( 0, 0 );
292         sort->setMaximumSize( 32767, 32767 );
293         sort->setFocusPolicy( QWidget::TabFocus );
294         sort->setBackgroundMode( QWidget::PaletteBackground );
295         sort->setFontPropagation( QWidget::NoChildren );
296         sort->setPalettePropagation( QWidget::NoChildren );
297         sort->setText( _("Co&llate") );
298         sort->setAutoRepeat( FALSE );
299         sort->setAutoResize( TRUE );
300         sort->setChecked( FALSE );
301
302         browse = new QPushButton( printToGroupBox, "browse" );
303         browse->setGeometry( 158, 149, 153, 23 );
304         browse->setMinimumSize( 0, 0 );
305         browse->setMaximumSize( 32767, 32767 );
306         connect( browse, SIGNAL(clicked()), SLOT(clickedBrowse()) );
307         browse->setFocusPolicy( QWidget::TabFocus );
308         browse->setBackgroundMode( QWidget::PaletteBackground );
309         browse->setFontPropagation( QWidget::NoChildren );
310         browse->setPalettePropagation( QWidget::NoChildren );
311         browse->setText( _("&Browse") );
312         browse->setAutoRepeat( FALSE );
313         browse->setAutoResize( FALSE );
314         browse->setToggleButton( FALSE );
315         browse->setDefault( FALSE );
316         browse->setAutoDefault( FALSE );
317         browse->setIsMenuButton( FALSE );
318
319         count = new KIntLineEdit( copies, "count" );
320         count->setGeometry( 162, 12, 50, 46 );
321         count->setMinimumSize( 0, 0 );
322         count->setMaximumSize( 32767, 32767 );
323         connect( count, SIGNAL(textChanged(const char*)), SLOT(changedCount(const char*)) );
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 );
332
333         countLabel = new QLabel( copies, "countLabel" );
334         countLabel->setGeometry( 56, 12, 50, 46 );
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 );
348
349         to = new KIntLineEdit( pagesGroupBox, "to" );
350         to->setGeometry( 108, 199, 49, 31 );
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 );
361
362         pagesRadioGroup->insert( allpages );
363         pagesRadioGroup->insert( evenpages );
364         pagesRadioGroup->insert( oddpages );
365
366         printToRadioGroup->insert( toprinter );
367         printToRadioGroup->insert( tofile );
368
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 );
593         resize( 500,330 );
594         setMinimumSize( 0, 0 );
595         setMaximumSize( 32767, 32767 );
596 }
597
598
599 PrintDialogData::~PrintDialogData()
600 {
601 }
602 void PrintDialogData::clickedPrint()
603 {
604 }
605 void PrintDialogData::clickedCancel()
606 {
607 }
608 void PrintDialogData::clickedBrowse()
609 {
610 }
611 void PrintDialogData::changedCount(const char*)
612 {
613 }