Rev 455 | Rev 3255 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
283 | Franz | 1 | #ifndef EXPORTFORM_H |
2 | #define EXPORTFORM_H |
||
3 | |||
4 | #include <qvariant.h> |
||
5 | #include <qdialog.h> |
||
359 | Franz | 6 | #include <qradiobutton.h> |
415 | Franz | 7 | #include <prefscontext.h> |
283 | Franz | 8 | |
9 | class QVBoxLayout; |
||
10 | class QHBoxLayout; |
||
11 | class QGridLayout; |
||
359 | Franz | 12 | class QButtonGroup; |
13 | class QComboBox; |
||
14 | class QGroupBox; |
||
283 | Franz | 15 | class QLabel; |
16 | class QLineEdit; |
||
17 | class QPushButton; |
||
18 | class QSpinBox; |
||
19 | |||
20 | class ExportForm : public QDialog |
||
21 | { |
||
22 | Q_OBJECT |
||
23 | |||
24 | public: |
||
25 | ExportForm( QWidget* parent, int size, int quality, QString type); |
||
26 | ~ExportForm(); |
||
27 | |||
28 | QString bitmapType; |
||
29 | |||
359 | Franz | 30 | QLabel* TextLabel1; |
31 | QLineEdit* OutputDirectory; |
||
32 | QPushButton* OutputDirectoryButton; |
||
33 | QGroupBox* groupBox1; |
||
34 | QLabel* TextLabel2; |
||
35 | QLabel* textLabel1; |
||
36 | QLabel* textLabel3; |
||
552 | fschmid | 37 | QLabel* textLabel4; |
359 | Franz | 38 | QComboBox* BitmapType; |
39 | QSpinBox* QualityBox; |
||
552 | fschmid | 40 | QSpinBox* DPIBox; |
41 | QSpinBox* EnlargementBox; |
||
359 | Franz | 42 | QButtonGroup* ButtonGroup1; |
43 | QRadioButton* OnePageRadio; |
||
44 | QRadioButton* AllPagesRadio; |
||
45 | QRadioButton* IntervalPagesRadio; |
||
46 | QLineEdit* RangeVal; |
||
47 | QPushButton* OkButton; |
||
48 | QPushButton* CancelButton; |
||
283 | Franz | 49 | |
50 | public slots: |
||
51 | virtual void OutputDirectoryButton_pressed(); |
||
52 | virtual void OkButton_pressed(); |
||
53 | virtual void IntervalPagesRadio_stateChanged( int ); |
||
54 | virtual void AllPagesRadio_stateChanged( int ); |
||
55 | virtual void OnePageRadio_stateChanged( int ); |
||
56 | |||
57 | protected: |
||
359 | Franz | 58 | QVBoxLayout* ExportFormLayout; |
59 | QHBoxLayout* layout1; |
||
60 | QHBoxLayout* layout3; |
||
61 | QGridLayout* groupBox1Layout; |
||
62 | QVBoxLayout* ButtonGroup1Layout; |
||
63 | QHBoxLayout* layout2; |
||
64 | QHBoxLayout* layout4; |
||
415 | Franz | 65 | PrefsContext* prefs; |
283 | Franz | 66 | |
67 | protected slots: |
||
359 | Franz | 68 | virtual void languageChange(); |
283 | Franz | 69 | virtual void readConfig(); |
70 | virtual void writeConfig(); |
||
71 | }; |
||
72 | |||
73 | #endif // EXPORTFORM_H |