Rev 1187 | Rev 1195 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3 | paul | 1 | #ifndef REFORMDOC_H |
2 | #define REFORMDOC_H |
||
3 | |||
4 | #include <qlayout.h> |
||
5 | #include <qcheckbox.h> |
||
519 | cbradney | 6 | #include <qcombobox.h> |
3 | paul | 7 | #include <qgroupbox.h> |
705 | fschmid | 8 | #include <qbuttongroup.h> |
9 | #include <qradiobutton.h> |
||
3 | paul | 10 | #include <qlabel.h> |
519 | cbradney | 11 | #include <qlineedit.h> |
3 | paul | 12 | #include <qpushbutton.h> |
726 | fschmid | 13 | #include <qtoolbutton.h> |
705 | fschmid | 14 | #include <qcolor.h> |
838 | cbradney | 15 | |
16 | #include "scribusstructs.h" |
||
693 | fschmid | 17 | #include "prefsdialogbase.h" |
838 | cbradney | 18 | |
19 | class QSpinBox; |
||
20 | class ScribusDoc; |
||
21 | class ScribusApp; |
||
788 | fschmid | 22 | class TabTypograpy; |
795 | fschmid | 23 | class HySettings; |
24 | class CMSPrefs; |
||
838 | cbradney | 25 | class MSpinBox; |
879 | fschmid | 26 | class TabGuides; |
1194 | fschmid | 27 | class TabTools; |
3 | paul | 28 | |
838 | cbradney | 29 | |
693 | fschmid | 30 | class ReformDoc : public PrefsDialogBase |
31 | { |
||
32 | Q_OBJECT |
||
3 | paul | 33 | |
34 | public: |
||
1194 | fschmid | 35 | ReformDoc( QWidget* parent, ScribusDoc* doc ); |
693 | fschmid | 36 | ~ReformDoc() {}; |
37 | QWidget* tabPage; |
||
788 | fschmid | 38 | QGroupBox* groupBox7; |
39 | QGroupBox* groupBox7a; |
||
693 | fschmid | 40 | QGroupBox* dsGroupBox7; |
734 | fschmid | 41 | QGroupBox* groupScratch; |
693 | fschmid | 42 | QLabel* TextLabel5; |
43 | QLabel* TextLabel7; |
||
734 | fschmid | 44 | QLabel* TextLabel5s; |
45 | QLabel* TextLabel7s; |
||
693 | fschmid | 46 | QLabel* TextLabel1_3; |
726 | fschmid | 47 | QSpinBox* pageNumber; |
48 | MSpinBox* topR; |
||
49 | MSpinBox* bottomR; |
||
50 | MSpinBox* leftR; |
||
51 | MSpinBox* rightR; |
||
693 | fschmid | 52 | MSpinBox* widthMSpinBox; |
53 | MSpinBox* heightMSpinBox; |
||
734 | fschmid | 54 | MSpinBox* topScratch; |
55 | MSpinBox* bottomScratch; |
||
56 | MSpinBox* leftScratch; |
||
57 | MSpinBox* rightScratch; |
||
726 | fschmid | 58 | QCheckBox* facingPages; |
59 | QCheckBox* firstPage; |
||
693 | fschmid | 60 | QLabel* Links; |
61 | QLabel* Rechts; |
||
734 | fschmid | 62 | QLabel* Linkss; |
63 | QLabel* Rechtss; |
||
519 | cbradney | 64 | QLabel* widthQLabel; |
65 | QLabel* heightQLabel; |
||
800 | fschmid | 66 | QLabel* unitQLabel; |
519 | cbradney | 67 | QLabel* sizeQLabel; |
68 | QLabel* orientationQLabel; |
||
69 | QComboBox* sizeQComboBox; |
||
70 | QComboBox* orientationQComboBox; |
||
693 | fschmid | 71 | |
879 | fschmid | 72 | TabGuides* tabGuides; |
693 | fschmid | 73 | QWidget* tabView; |
788 | fschmid | 74 | TabTypograpy* tabTypo; |
1194 | fschmid | 75 | TabTools* tabTools; |
795 | fschmid | 76 | HySettings* tabHyphenator; |
77 | CMSPrefs* tabColorManagement; |
||
705 | fschmid | 78 | QLabel* textLabel9; |
79 | QPushButton* backColor; |
||
80 | QButtonGroup* pageBackground; |
||
81 | QCheckBox* checkUnprintable; |
||
734 | fschmid | 82 | QGroupBox* groupAutoSave; |
83 | QLabel* textLabel1m; |
||
84 | QSpinBox* autoSaveTime; |
||
85 | QComboBox* unitCombo; |
||
726 | fschmid | 86 | |
795 | fschmid | 87 | ScribusApp *ap; |
734 | fschmid | 88 | ScribusDoc* docc; |
168 | Franz | 89 | int einheit; |
734 | fschmid | 90 | int decimals; |
91 | double Umrech; |
||
726 | fschmid | 92 | double pageWidth; |
93 | double pageHeight; |
||
705 | fschmid | 94 | QColor colorPaper; |
3 | paul | 95 | |
96 | protected: |
||
788 | fschmid | 97 | QVBoxLayout* reformDocLayout; |
693 | fschmid | 98 | QHBoxLayout* dsGroupBox7Layout; |
788 | fschmid | 99 | QHBoxLayout* groupBox7Layout; |
100 | QHBoxLayout* groupBox7aLayout; |
||
734 | fschmid | 101 | QHBoxLayout* groupScratchLayout; |
693 | fschmid | 102 | QGridLayout* dsLayout4; |
788 | fschmid | 103 | QGridLayout* layout4; |
104 | QGridLayout* layout4a; |
||
105 | QGridLayout* layout4s; |
||
693 | fschmid | 106 | QHBoxLayout* Layout3; |
107 | QVBoxLayout* tabViewLayout; |
||
705 | fschmid | 108 | QVBoxLayout* buttonGroup1Layout; |
109 | QHBoxLayout* layout7; |
||
110 | QVBoxLayout* pageBackgroundLayout; |
||
111 | QHBoxLayout* layout10; |
||
112 | QSpacerItem* spacer3; |
||
734 | fschmid | 113 | QHBoxLayout* groupAutoSaveLayout; |
3 | paul | 114 | |
115 | protected slots: |
||
734 | fschmid | 116 | virtual void unitChange(); |
705 | fschmid | 117 | virtual void changePaperColor(); |
693 | fschmid | 118 | virtual void setDS(); |
168 | Franz | 119 | virtual void setTop(int v); |
120 | virtual void setBottom(int v); |
||
121 | virtual void setLeft(int v); |
||
122 | virtual void setRight(int v); |
||
3 | paul | 123 | }; |
124 | |||
125 | #endif // REFORMDOC_H |