|
1 /******************************************************************************** |
|
2 ** Form generated from reading UI file 'qprintsettingsoutput.ui' |
|
3 ** |
|
4 ** Created: Fri Sep 4 10:17:14 2009 |
|
5 ** by: Qt User Interface Compiler version 4.6.0 |
|
6 ** |
|
7 ** WARNING! All changes made in this file will be lost when recompiling UI file! |
|
8 ********************************************************************************/ |
|
9 |
|
10 #ifndef QPRINTSETTINGSOUTPUT_H |
|
11 #define QPRINTSETTINGSOUTPUT_H |
|
12 |
|
13 #include <QtCore/QVariant> |
|
14 #include <QtGui/QAction> |
|
15 #include <QtGui/QApplication> |
|
16 #include <QtGui/QButtonGroup> |
|
17 #include <QtGui/QCheckBox> |
|
18 #include <QtGui/QGridLayout> |
|
19 #include <QtGui/QGroupBox> |
|
20 #include <QtGui/QHBoxLayout> |
|
21 #include <QtGui/QHeaderView> |
|
22 #include <QtGui/QLabel> |
|
23 #include <QtGui/QRadioButton> |
|
24 #include <QtGui/QSpacerItem> |
|
25 #include <QtGui/QSpinBox> |
|
26 #include <QtGui/QTabWidget> |
|
27 #include <QtGui/QVBoxLayout> |
|
28 #include <QtGui/QWidget> |
|
29 |
|
30 QT_BEGIN_NAMESPACE |
|
31 |
|
32 class Ui_QPrintSettingsOutput |
|
33 { |
|
34 public: |
|
35 QHBoxLayout *horizontalLayout_2; |
|
36 QTabWidget *tabs; |
|
37 QWidget *copiesTab; |
|
38 QHBoxLayout *horizontalLayout; |
|
39 QGroupBox *gbPrintRange; |
|
40 QVBoxLayout *_3; |
|
41 QRadioButton *printAll; |
|
42 QHBoxLayout *_4; |
|
43 QRadioButton *printRange; |
|
44 QSpinBox *from; |
|
45 QLabel *label_3; |
|
46 QSpinBox *to; |
|
47 QSpacerItem *spacerItem; |
|
48 QRadioButton *printSelection; |
|
49 QSpacerItem *verticalSpacer; |
|
50 QGroupBox *groupBox; |
|
51 QGridLayout *gridLayout; |
|
52 QLabel *label; |
|
53 QSpinBox *copies; |
|
54 QSpacerItem *horizontalSpacer; |
|
55 QCheckBox *collate; |
|
56 QLabel *outputIcon; |
|
57 QCheckBox *reverse; |
|
58 QSpacerItem *verticalSpacer_2; |
|
59 QWidget *optionsTab; |
|
60 QGridLayout *gridLayout_2; |
|
61 QGroupBox *colorMode; |
|
62 QGridLayout *gridLayout_4; |
|
63 QSpacerItem *verticalSpacer_6; |
|
64 QRadioButton *color; |
|
65 QLabel *colorIcon; |
|
66 QRadioButton *grayscale; |
|
67 QGroupBox *duplex; |
|
68 QVBoxLayout *verticalLayout; |
|
69 QRadioButton *noDuplex; |
|
70 QRadioButton *duplexLong; |
|
71 QRadioButton *duplexShort; |
|
72 QSpacerItem *verticalSpacer1; |
|
73 |
|
74 void setupUi(QWidget *QPrintSettingsOutput) |
|
75 { |
|
76 if (QPrintSettingsOutput->objectName().isEmpty()) |
|
77 QPrintSettingsOutput->setObjectName(QString::fromUtf8("QPrintSettingsOutput")); |
|
78 QPrintSettingsOutput->resize(416, 166); |
|
79 horizontalLayout_2 = new QHBoxLayout(QPrintSettingsOutput); |
|
80 horizontalLayout_2->setContentsMargins(0, 0, 0, 0); |
|
81 horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); |
|
82 tabs = new QTabWidget(QPrintSettingsOutput); |
|
83 tabs->setObjectName(QString::fromUtf8("tabs")); |
|
84 copiesTab = new QWidget(); |
|
85 copiesTab->setObjectName(QString::fromUtf8("copiesTab")); |
|
86 copiesTab->setGeometry(QRect(0, 0, 412, 139)); |
|
87 horizontalLayout = new QHBoxLayout(copiesTab); |
|
88 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); |
|
89 gbPrintRange = new QGroupBox(copiesTab); |
|
90 gbPrintRange->setObjectName(QString::fromUtf8("gbPrintRange")); |
|
91 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum); |
|
92 sizePolicy.setHorizontalStretch(0); |
|
93 sizePolicy.setVerticalStretch(0); |
|
94 sizePolicy.setHeightForWidth(gbPrintRange->sizePolicy().hasHeightForWidth()); |
|
95 gbPrintRange->setSizePolicy(sizePolicy); |
|
96 _3 = new QVBoxLayout(gbPrintRange); |
|
97 _3->setSpacing(4); |
|
98 _3->setContentsMargins(6, 6, 6, 6); |
|
99 _3->setObjectName(QString::fromUtf8("_3")); |
|
100 printAll = new QRadioButton(gbPrintRange); |
|
101 printAll->setObjectName(QString::fromUtf8("printAll")); |
|
102 printAll->setChecked(true); |
|
103 |
|
104 _3->addWidget(printAll); |
|
105 |
|
106 _4 = new QHBoxLayout(); |
|
107 #ifndef Q_OS_MAC |
|
108 _4->setSpacing(6); |
|
109 #endif |
|
110 _4->setContentsMargins(0, 0, 0, 0); |
|
111 _4->setObjectName(QString::fromUtf8("_4")); |
|
112 printRange = new QRadioButton(gbPrintRange); |
|
113 printRange->setObjectName(QString::fromUtf8("printRange")); |
|
114 |
|
115 _4->addWidget(printRange); |
|
116 |
|
117 from = new QSpinBox(gbPrintRange); |
|
118 from->setObjectName(QString::fromUtf8("from")); |
|
119 from->setEnabled(false); |
|
120 from->setMinimum(1); |
|
121 from->setMaximum(999); |
|
122 |
|
123 _4->addWidget(from); |
|
124 |
|
125 label_3 = new QLabel(gbPrintRange); |
|
126 label_3->setObjectName(QString::fromUtf8("label_3")); |
|
127 |
|
128 _4->addWidget(label_3); |
|
129 |
|
130 to = new QSpinBox(gbPrintRange); |
|
131 to->setObjectName(QString::fromUtf8("to")); |
|
132 to->setEnabled(false); |
|
133 to->setMinimum(1); |
|
134 to->setMaximum(999); |
|
135 |
|
136 _4->addWidget(to); |
|
137 |
|
138 spacerItem = new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
139 |
|
140 _4->addItem(spacerItem); |
|
141 |
|
142 |
|
143 _3->addLayout(_4); |
|
144 |
|
145 printSelection = new QRadioButton(gbPrintRange); |
|
146 printSelection->setObjectName(QString::fromUtf8("printSelection")); |
|
147 |
|
148 _3->addWidget(printSelection); |
|
149 |
|
150 verticalSpacer = new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
151 |
|
152 _3->addItem(verticalSpacer); |
|
153 |
|
154 |
|
155 horizontalLayout->addWidget(gbPrintRange); |
|
156 |
|
157 groupBox = new QGroupBox(copiesTab); |
|
158 groupBox->setObjectName(QString::fromUtf8("groupBox")); |
|
159 gridLayout = new QGridLayout(groupBox); |
|
160 gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
|
161 label = new QLabel(groupBox); |
|
162 label->setObjectName(QString::fromUtf8("label")); |
|
163 |
|
164 gridLayout->addWidget(label, 0, 0, 1, 1); |
|
165 |
|
166 copies = new QSpinBox(groupBox); |
|
167 copies->setObjectName(QString::fromUtf8("copies")); |
|
168 copies->setMinimum(1); |
|
169 copies->setMaximum(999); |
|
170 |
|
171 gridLayout->addWidget(copies, 0, 1, 1, 2); |
|
172 |
|
173 horizontalSpacer = new QSpacerItem(91, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
174 |
|
175 gridLayout->addItem(horizontalSpacer, 0, 3, 1, 1); |
|
176 |
|
177 collate = new QCheckBox(groupBox); |
|
178 collate->setObjectName(QString::fromUtf8("collate")); |
|
179 |
|
180 gridLayout->addWidget(collate, 1, 0, 1, 2); |
|
181 |
|
182 outputIcon = new QLabel(groupBox); |
|
183 outputIcon->setObjectName(QString::fromUtf8("outputIcon")); |
|
184 QSizePolicy sizePolicy1(QSizePolicy::Ignored, QSizePolicy::Ignored); |
|
185 sizePolicy1.setHorizontalStretch(0); |
|
186 sizePolicy1.setVerticalStretch(0); |
|
187 sizePolicy1.setHeightForWidth(outputIcon->sizePolicy().hasHeightForWidth()); |
|
188 outputIcon->setSizePolicy(sizePolicy1); |
|
189 |
|
190 gridLayout->addWidget(outputIcon, 1, 2, 2, 2); |
|
191 |
|
192 reverse = new QCheckBox(groupBox); |
|
193 reverse->setObjectName(QString::fromUtf8("reverse")); |
|
194 |
|
195 gridLayout->addWidget(reverse, 2, 0, 1, 2); |
|
196 |
|
197 verticalSpacer_2 = new QSpacerItem(0, 1, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
198 |
|
199 gridLayout->addItem(verticalSpacer_2, 3, 0, 1, 4); |
|
200 |
|
201 |
|
202 horizontalLayout->addWidget(groupBox); |
|
203 |
|
204 tabs->addTab(copiesTab, QString()); |
|
205 optionsTab = new QWidget(); |
|
206 optionsTab->setObjectName(QString::fromUtf8("optionsTab")); |
|
207 optionsTab->setGeometry(QRect(0, 0, 412, 139)); |
|
208 gridLayout_2 = new QGridLayout(optionsTab); |
|
209 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); |
|
210 colorMode = new QGroupBox(optionsTab); |
|
211 colorMode->setObjectName(QString::fromUtf8("colorMode")); |
|
212 gridLayout_4 = new QGridLayout(colorMode); |
|
213 gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4")); |
|
214 verticalSpacer_6 = new QSpacerItem(1, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
215 |
|
216 gridLayout_4->addItem(verticalSpacer_6, 2, 0, 1, 1); |
|
217 |
|
218 color = new QRadioButton(colorMode); |
|
219 color->setObjectName(QString::fromUtf8("color")); |
|
220 |
|
221 gridLayout_4->addWidget(color, 0, 0, 1, 1); |
|
222 |
|
223 colorIcon = new QLabel(colorMode); |
|
224 colorIcon->setObjectName(QString::fromUtf8("colorIcon")); |
|
225 |
|
226 gridLayout_4->addWidget(colorIcon, 0, 1, 3, 1); |
|
227 |
|
228 grayscale = new QRadioButton(colorMode); |
|
229 grayscale->setObjectName(QString::fromUtf8("grayscale")); |
|
230 |
|
231 gridLayout_4->addWidget(grayscale, 1, 0, 1, 1); |
|
232 |
|
233 |
|
234 gridLayout_2->addWidget(colorMode, 0, 1, 1, 1); |
|
235 |
|
236 duplex = new QGroupBox(optionsTab); |
|
237 duplex->setObjectName(QString::fromUtf8("duplex")); |
|
238 verticalLayout = new QVBoxLayout(duplex); |
|
239 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
|
240 noDuplex = new QRadioButton(duplex); |
|
241 noDuplex->setObjectName(QString::fromUtf8("noDuplex")); |
|
242 noDuplex->setChecked(true); |
|
243 |
|
244 verticalLayout->addWidget(noDuplex); |
|
245 |
|
246 duplexLong = new QRadioButton(duplex); |
|
247 duplexLong->setObjectName(QString::fromUtf8("duplexLong")); |
|
248 |
|
249 verticalLayout->addWidget(duplexLong); |
|
250 |
|
251 duplexShort = new QRadioButton(duplex); |
|
252 duplexShort->setObjectName(QString::fromUtf8("duplexShort")); |
|
253 |
|
254 verticalLayout->addWidget(duplexShort); |
|
255 |
|
256 verticalSpacer1 = new QSpacerItem(1, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
257 |
|
258 verticalLayout->addItem(verticalSpacer1); |
|
259 |
|
260 |
|
261 gridLayout_2->addWidget(duplex, 0, 0, 1, 1); |
|
262 |
|
263 tabs->addTab(optionsTab, QString()); |
|
264 |
|
265 horizontalLayout_2->addWidget(tabs); |
|
266 |
|
267 #ifndef QT_NO_SHORTCUT |
|
268 label->setBuddy(copies); |
|
269 #endif // QT_NO_SHORTCUT |
|
270 |
|
271 retranslateUi(QPrintSettingsOutput); |
|
272 QObject::connect(printRange, SIGNAL(toggled(bool)), from, SLOT(setEnabled(bool))); |
|
273 QObject::connect(printRange, SIGNAL(toggled(bool)), to, SLOT(setEnabled(bool))); |
|
274 |
|
275 tabs->setCurrentIndex(0); |
|
276 |
|
277 |
|
278 QMetaObject::connectSlotsByName(QPrintSettingsOutput); |
|
279 } // setupUi |
|
280 |
|
281 void retranslateUi(QWidget *QPrintSettingsOutput) |
|
282 { |
|
283 QPrintSettingsOutput->setWindowTitle(QApplication::translate("QPrintSettingsOutput", "Form", 0, QApplication::UnicodeUTF8)); |
|
284 gbPrintRange->setTitle(QApplication::translate("QPrintSettingsOutput", "Print range", 0, QApplication::UnicodeUTF8)); |
|
285 printAll->setText(QApplication::translate("QPrintSettingsOutput", "Print all", 0, QApplication::UnicodeUTF8)); |
|
286 printRange->setText(QApplication::translate("QPrintSettingsOutput", "Pages from", 0, QApplication::UnicodeUTF8)); |
|
287 label_3->setText(QApplication::translate("QPrintSettingsOutput", "to", 0, QApplication::UnicodeUTF8)); |
|
288 printSelection->setText(QApplication::translate("QPrintSettingsOutput", "Selection", 0, QApplication::UnicodeUTF8)); |
|
289 groupBox->setTitle(QApplication::translate("QPrintSettingsOutput", "Output Settings", 0, QApplication::UnicodeUTF8)); |
|
290 label->setText(QApplication::translate("QPrintSettingsOutput", "Copies:", 0, QApplication::UnicodeUTF8)); |
|
291 collate->setText(QApplication::translate("QPrintSettingsOutput", "Collate", 0, QApplication::UnicodeUTF8)); |
|
292 reverse->setText(QApplication::translate("QPrintSettingsOutput", "Reverse", 0, QApplication::UnicodeUTF8)); |
|
293 tabs->setTabText(tabs->indexOf(copiesTab), QApplication::translate("QPrintSettingsOutput", "Copies", 0, QApplication::UnicodeUTF8)); |
|
294 colorMode->setTitle(QApplication::translate("QPrintSettingsOutput", "Color Mode", 0, QApplication::UnicodeUTF8)); |
|
295 color->setText(QApplication::translate("QPrintSettingsOutput", "Color", 0, QApplication::UnicodeUTF8)); |
|
296 grayscale->setText(QApplication::translate("QPrintSettingsOutput", "Grayscale", 0, QApplication::UnicodeUTF8)); |
|
297 duplex->setTitle(QApplication::translate("QPrintSettingsOutput", "Duplex Printing", 0, QApplication::UnicodeUTF8)); |
|
298 noDuplex->setText(QApplication::translate("QPrintSettingsOutput", "None", 0, QApplication::UnicodeUTF8)); |
|
299 duplexLong->setText(QApplication::translate("QPrintSettingsOutput", "Long side", 0, QApplication::UnicodeUTF8)); |
|
300 duplexShort->setText(QApplication::translate("QPrintSettingsOutput", "Short side", 0, QApplication::UnicodeUTF8)); |
|
301 tabs->setTabText(tabs->indexOf(optionsTab), QApplication::translate("QPrintSettingsOutput", "Options", 0, QApplication::UnicodeUTF8)); |
|
302 } // retranslateUi |
|
303 |
|
304 }; |
|
305 |
|
306 namespace Ui { |
|
307 class QPrintSettingsOutput: public Ui_QPrintSettingsOutput {}; |
|
308 } // namespace Ui |
|
309 |
|
310 QT_END_NAMESPACE |
|
311 |
|
312 #endif // QPRINTSETTINGSOUTPUT_H |