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