Rev 2969 | Rev 3388 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1307 | fschmid | 1 | #ifndef TABPDF_OPTS_H |
2 | #define TABPDF_OPTS_H |
||
2969 | craig | 3 | |
1307 | fschmid | 4 | #include <qtabwidget.h> |
5 | #include <qwidget.h> |
||
6 | #include <qlayout.h> |
||
7 | #include <qtooltip.h> |
||
8 | #include <qlistbox.h> |
||
9 | #include <qmap.h> |
||
10 | #include <qvaluelist.h> |
||
11 | #include <qbuttongroup.h> |
||
12 | #include <qgroupbox.h> |
||
13 | #include <qcheckbox.h> |
||
14 | #include <qcombobox.h> |
||
15 | #include <qradiobutton.h> |
||
16 | #include <qspinbox.h> |
||
17 | #include <qtabwidget.h> |
||
18 | #include <qwidget.h> |
||
19 | #include <qpushbutton.h> |
||
20 | #include <qtoolbutton.h> |
||
21 | #include <qlineedit.h> |
||
22 | #include <qlabel.h> |
||
2969 | craig | 23 | |
24 | #include "scribusapi.h" |
||
1307 | fschmid | 25 | #include "bookmwin.h" |
26 | #include "mspinbox.h" |
||
27 | |||
1972 | craig | 28 | class PDFOptions; |
29 | |||
2969 | craig | 30 | class SCRIBUS_API TabPDFOptions : public QTabWidget |
1307 | fschmid | 31 | { |
32 | Q_OBJECT |
||
33 | |||
34 | public: |
||
1792 | cbradney | 35 | TabPDFOptions( QWidget* parent, PDFOptions *Optionen, SCFonts &AllFonts, |
36 | ProfilesL *PDFXProfiles, QMap<QString,QFont> DocFonts, |
||
37 | QValueList<PDFPresentationData> Eff, int unitIndex, |
||
38 | double PageH, double PageB, ScribusView *vie = 0 ); |
||
1307 | fschmid | 39 | ~TabPDFOptions() {}; |
1828 | fschmid | 40 | void restoreDefaults(); |
1307 | fschmid | 41 | |
42 | QWidget* tabGeneral; |
||
43 | QWidget* tabFonts; |
||
44 | QWidget* tabPresentation; |
||
45 | QWidget* tabSecurity; |
||
46 | QWidget* tabColor; |
||
47 | QWidget* tabPDFX; |
||
48 | QLabel* TextLabel1; |
||
49 | QSpinBox* Resolution; |
||
50 | QCheckBox* Article; |
||
1738 | fschmid | 51 | QCheckBox* useLayers; |
1307 | fschmid | 52 | QCheckBox* Compression; |
53 | QCheckBox* DSColor; |
||
54 | QSpinBox* ValC; |
||
55 | QGroupBox* CBox; |
||
56 | QLabel* TextCom1; |
||
57 | QLabel* TextCom2; |
||
58 | QComboBox* CQuality; |
||
59 | QComboBox* CMethod; |
||
60 | QGroupBox* GroupBox1; |
||
61 | QLabel* TextLabel2; |
||
1973 | craig | 62 | QComboBox* PDFVersionCombo; |
1307 | fschmid | 63 | QLabel* TextLabel1x; |
64 | QComboBox* ComboBind; |
||
65 | QCheckBox* CheckBox1; |
||
66 | QToolButton* MirrorH; |
||
67 | QToolButton* MirrorV; |
||
68 | QComboBox* RotateDeg; |
||
69 | QLabel* TextLabel3; |
||
70 | QCheckBox* CheckBox10; |
||
71 | QPushButton* EonAllPg; |
||
72 | |||
73 | QLabel* TextLabel1e; |
||
74 | QLabel* TextLabel2e; |
||
75 | QLabel* TextLabel3e; |
||
76 | QLabel* TextLabel4e; |
||
77 | QLabel* TextLabel5e; |
||
78 | QLabel* TextLabel6e; |
||
79 | QComboBox* EffectType; |
||
80 | QComboBox* EDirection; |
||
81 | QComboBox* EDirection_2; |
||
82 | QComboBox* EDirection_2_2; |
||
83 | QSpinBox* PageTime; |
||
84 | QSpinBox* EffectTime; |
||
85 | QListBox* Pages; |
||
86 | QGroupBox* Effects; |
||
87 | QCheckBox* PagePrev; |
||
88 | QCheckBox* CheckBM; |
||
89 | QCheckBox* EmbedFonts; |
||
90 | QGroupBox* GroupFont; |
||
91 | QLabel* TextFont1; |
||
92 | QListBox* AvailFlist; |
||
93 | QPushButton* ToEmbed; |
||
94 | QPushButton* FromEmbed; |
||
95 | QLabel* TextFont1_2; |
||
96 | QLabel* TextFont1_2a; |
||
97 | QButtonGroup* RangeGroup; |
||
98 | QRadioButton* AllPages; |
||
99 | QRadioButton* OnlySome; |
||
100 | QLineEdit* PageNr; |
||
101 | QListBox* EmbedList; |
||
102 | QPushButton* ToSubset; |
||
103 | QPushButton* FromSubset; |
||
104 | QListBox* SubsetList; |
||
105 | QCheckBox* SubsetFonts; |
||
106 | QGroupBox* ColorGroup; |
||
107 | QGroupBox* GroupBox9; |
||
108 | QLabel* ColorText1; |
||
109 | QComboBox* OutCombo; |
||
110 | QCheckBox* EmbedProfs; |
||
111 | QCheckBox* EmbedProfs2; |
||
112 | QGroupBox* ProfsGroup; |
||
113 | QComboBox* SolidPr; |
||
114 | QLabel* ProfsTxt1; |
||
115 | QComboBox* ImageP; |
||
116 | QCheckBox* NoEmbedded; |
||
117 | QLabel* ProfsTxt3; |
||
118 | QLabel* ProfsTxt4; |
||
119 | QLabel* ProfsTxt2; |
||
120 | QComboBox* IntendS; |
||
121 | QComboBox* IntendI; |
||
122 | QGroupBox* X3Group; |
||
123 | QComboBox* PrintProfC; |
||
124 | QLineEdit* InfoString; |
||
125 | QLabel* PDFX2; |
||
126 | QLabel* PDFX1; |
||
127 | QGroupBox* BleedGroup; |
||
128 | QLabel* BleedIcon; |
||
129 | MSpinBox* BleedTop; |
||
130 | MSpinBox* BleedBottom; |
||
131 | MSpinBox* BleedRight; |
||
132 | MSpinBox* BleedLeft; |
||
133 | QGroupBox* GroupPass; |
||
134 | QLabel* TextSec2; |
||
135 | QLabel* TextSec1; |
||
136 | QLineEdit* PassOwner; |
||
137 | QLineEdit* PassUser; |
||
138 | QGroupBox* GroupSecSet; |
||
139 | QCheckBox* PrintSec; |
||
140 | QCheckBox* PrintSec2; |
||
141 | QCheckBox* ModifySec; |
||
142 | QCheckBox* CopySec; |
||
143 | QCheckBox* AddSec; |
||
144 | QCheckBox* Encry; |
||
145 | QGroupBox* LPIgroup; |
||
146 | QCheckBox* UseLPI; |
||
147 | QSpinBox* LPIfreq; |
||
148 | QSpinBox* LPIangle; |
||
3079 | fschmid | 149 | QCheckBox* useSpot; |
1307 | fschmid | 150 | QLabel* textLPI1; |
151 | QLabel* textLPI2; |
||
152 | QLabel* textLPI3; |
||
153 | QComboBox* LPIcolor; |
||
154 | QComboBox* LPIfunc; |
||
155 | QValueList<QString> FontsToEmbed; |
||
156 | QValueList<QString> FontsToSubset; |
||
157 | ScribusView *view; |
||
158 | QValueList<PDFPresentationData> EffVal; |
||
159 | int PgSel; |
||
160 | QString SelLPIcolor; |
||
161 | PDFOptions *Opts; |
||
162 | double pageH; |
||
163 | double pageB; |
||
164 | bool cms; |
||
1792 | cbradney | 165 | |
166 | double unitRatio; |
||
1307 | fschmid | 167 | |
168 | public slots: |
||
169 | void ToggleEncr(); |
||
170 | void BleedChanged(); |
||
171 | void EnablePDFX(int a); |
||
172 | void DoDownsample(); |
||
173 | void RemoveEmbed(); |
||
174 | void PutToEmbed(); |
||
175 | void RemoveSubset(); |
||
176 | void PutToSubset(); |
||
177 | void SelAFont(QListBoxItem*); |
||
178 | void SelEFont(QListBoxItem*); |
||
179 | void SelSFont(QListBoxItem*); |
||
180 | void EmbedAll(); |
||
181 | void SubsetAll(); |
||
182 | void PagePr(); |
||
183 | void SetPgEff(int nr); |
||
184 | void SetEffOpts(int nr); |
||
185 | void ValidDI(int nr); |
||
186 | void PDFMirror(); |
||
187 | void Rotation(int value); |
||
188 | void DoEffects(); |
||
189 | void EffectOnAll(); |
||
190 | void SelRange(bool e); |
||
191 | void EnablePr(int a); |
||
192 | void EnablePG(); |
||
193 | void EnablePGI(); |
||
194 | void EnablePGI2(); |
||
195 | void EnableLPI(int a); |
||
196 | void EnableLPI2(); |
||
197 | void SelLPIcol(int); |
||
198 | void enableCMS(bool enable); |
||
199 | |||
200 | protected: |
||
201 | QGridLayout* CBoxLayout; |
||
202 | QVBoxLayout* tabLayout; |
||
203 | QVBoxLayout* Layout3; |
||
204 | QHBoxLayout* Layout2; |
||
205 | QVBoxLayout* tabLayout_3; |
||
206 | QHBoxLayout* GroupFontLayout; |
||
207 | QVBoxLayout* Layout4_2; |
||
208 | QVBoxLayout* Layout5_2; |
||
209 | QHBoxLayout* Layout5_2a; |
||
210 | QVBoxLayout* Layout6; |
||
211 | QGridLayout* GroupBox1Layout; |
||
212 | QGridLayout* GroupBox9Layout; |
||
213 | QGridLayout* GroupBox2Layout; |
||
214 | QGridLayout* tabLayout_5; |
||
215 | QGridLayout* tabOptionsGridLayout; |
||
216 | QGridLayout* EffectsLayout; |
||
217 | QHBoxLayout* Layout13; |
||
218 | QVBoxLayout* RangeGroupLayout; |
||
219 | QGridLayout* Layout11; |
||
220 | QGridLayout* Layout11a; |
||
221 | QVBoxLayout* tabColorLayout; |
||
222 | QHBoxLayout* ColorGroupLayout; |
||
223 | QGridLayout* ProfsGroupLayout; |
||
224 | QVBoxLayout* tabPDFXLayout; |
||
225 | QGridLayout* X3GroupLayout; |
||
226 | QGridLayout* BleedGroupLayout; |
||
227 | QVBoxLayout* tabSecurityLayout; |
||
228 | QGridLayout* GroupPassLayout; |
||
229 | QVBoxLayout* GroupSecSetLayout; |
||
230 | QGridLayout* LPIgroupLayout; |
||
1792 | cbradney | 231 | |
232 | QString unit; |
||
233 | int precision; |
||
1307 | fschmid | 234 | }; |
235 | #endif |