]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/printdlg.h
John's FormExternal patch, Edwin's Qt2 patch and Baruch's gnome patch.
[lyx.git] / src / frontends / qt2 / printdlg.h
1 /****************************************************************************
2 ** Form interface generated from reading ui file 'printdlg.ui'
3 **
4 ** Created: Sun Feb 4 23:02:16 2001
5 **      by:  The User Interface Compiler (uic)
6 **
7 ** WARNING! All changes made in this file will be lost!
8 ****************************************************************************/
9 #ifndef PRINTDLG_H
10 #define PRINTDLG_H
11
12 #include <qvariant.h>
13 #include <qdialog.h>
14 class QVBoxLayout; 
15 class QHBoxLayout; 
16 class QGridLayout; 
17 class QButtonGroup;
18 class QCheckBox;
19 class QGroupBox;
20 class QLabel;
21 class QLineEdit;
22 class QPushButton;
23 class QRadioButton;
24 class QSpinBox;
25
26 class PrintDlg : public QDialog
27
28     Q_OBJECT
29
30 public:
31     PrintDlg( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
32     ~PrintDlg();
33
34     QButtonGroup* ButtonGroup1;
35     QRadioButton* toPrinter;
36     QRadioButton* toFile;
37     QLineEdit* printerName;
38     QLineEdit* fileName;
39     QPushButton* browsePB;
40     QButtonGroup* ButtonGroup3;
41     QRadioButton* allPages;
42     QRadioButton* oddPages;
43     QRadioButton* evenPages;
44     QLabel* fromPageL;
45     QLabel* toPageL;
46     QLineEdit* toPage;
47     QCheckBox* reverse;
48     QLineEdit* fromPage;
49     QRadioButton* customPages;
50     QGroupBox* GroupBox3;
51     QSpinBox* copies;
52     QCheckBox* collate;
53     QPushButton* printPB;
54     QPushButton* cancelPB;
55
56 protected slots:
57     virtual void cancel_adaptor();
58     virtual void enable_pagerange(int);
59     virtual void browse_file();
60     virtual void print();
61     virtual void set_collate(int);
62
63 protected:
64     QVBoxLayout* PrintDlgLayout;
65     QGridLayout* ButtonGroup1Layout;
66     QGridLayout* ButtonGroup3Layout;
67     QHBoxLayout* GroupBox3Layout;
68     QHBoxLayout* Layout1;
69 };
70
71 #endif // PRINTDLG_H