1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'qprintsettingsoutput.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
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(str: "QPrintSettingsOutput" )); |
83 | QPrintSettingsOutput->resize(w: 432, h: 251); |
84 | horizontalLayout_2 = new QHBoxLayout(QPrintSettingsOutput); |
85 | horizontalLayout_2->setObjectName(QString::fromUtf8(str: "horizontalLayout_2" )); |
86 | horizontalLayout_2->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); |
87 | tabs = new QTabWidget(QPrintSettingsOutput); |
88 | tabs->setObjectName(QString::fromUtf8(str: "tabs" )); |
89 | copiesTab = new QWidget(); |
90 | copiesTab->setObjectName(QString::fromUtf8(str: "copiesTab" )); |
91 | horizontalLayout = new QHBoxLayout(copiesTab); |
92 | horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); |
93 | gbPrintRange = new QGroupBox(copiesTab); |
94 | gbPrintRange->setObjectName(QString::fromUtf8(str: "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(str: "_3" )); |
103 | _3->setContentsMargins(left: 6, top: 6, right: 6, bottom: 6); |
104 | printAll = new QRadioButton(gbPrintRange); |
105 | printAll->setObjectName(QString::fromUtf8(str: "printAll" )); |
106 | printAll->setChecked(true); |
107 | |
108 | _3->addWidget(printAll); |
109 | |
110 | _4 = new QHBoxLayout(); |
111 | _4->setSpacing(6); |
112 | _4->setObjectName(QString::fromUtf8(str: "_4" )); |
113 | _4->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); |
114 | printRange = new QRadioButton(gbPrintRange); |
115 | printRange->setObjectName(QString::fromUtf8(str: "printRange" )); |
116 | |
117 | _4->addWidget(printRange); |
118 | |
119 | from = new QSpinBox(gbPrintRange); |
120 | from->setObjectName(QString::fromUtf8(str: "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(str: "label_3" )); |
129 | |
130 | _4->addWidget(label_3); |
131 | |
132 | to = new QSpinBox(gbPrintRange); |
133 | to->setObjectName(QString::fromUtf8(str: "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(layout: _4); |
146 | |
147 | pagesLayout = new QHBoxLayout(); |
148 | pagesLayout->setObjectName(QString::fromUtf8(str: "pagesLayout" )); |
149 | pagesRadioButton = new QRadioButton(gbPrintRange); |
150 | pagesRadioButton->setObjectName(QString::fromUtf8(str: "pagesRadioButton" )); |
151 | |
152 | pagesLayout->addWidget(pagesRadioButton); |
153 | |
154 | pagesLineEdit = new QLineEdit(gbPrintRange); |
155 | pagesLineEdit->setObjectName(QString::fromUtf8(str: "pagesLineEdit" )); |
156 | pagesLineEdit->setEnabled(false); |
157 | |
158 | pagesLayout->addWidget(pagesLineEdit); |
159 | |
160 | |
161 | _3->addLayout(layout: pagesLayout); |
162 | |
163 | printCurrentPage = new QRadioButton(gbPrintRange); |
164 | printCurrentPage->setObjectName(QString::fromUtf8(str: "printCurrentPage" )); |
165 | |
166 | _3->addWidget(printCurrentPage); |
167 | |
168 | printSelection = new QRadioButton(gbPrintRange); |
169 | printSelection->setObjectName(QString::fromUtf8(str: "printSelection" )); |
170 | |
171 | _3->addWidget(printSelection); |
172 | |
173 | _5 = new QHBoxLayout(); |
174 | _5->setSpacing(6); |
175 | _5->setObjectName(QString::fromUtf8(str: "_5" )); |
176 | _5->setContentsMargins(left: -1, top: -1, right: -1, bottom: 0); |
177 | pageSetLabel = new QLabel(gbPrintRange); |
178 | pageSetLabel->setObjectName(QString::fromUtf8(str: "pageSetLabel" )); |
179 | pageSetLabel->setVisible(false); |
180 | |
181 | _5->addWidget(pageSetLabel); |
182 | |
183 | pageSetCombo = new QComboBox(gbPrintRange); |
184 | pageSetCombo->setObjectName(QString::fromUtf8(str: "pageSetCombo" )); |
185 | pageSetCombo->setVisible(false); |
186 | |
187 | _5->addWidget(pageSetCombo); |
188 | |
189 | |
190 | _3->addLayout(layout: _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(str: "groupBox" )); |
201 | gridLayout = new QGridLayout(groupBox); |
202 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
203 | label = new QLabel(groupBox); |
204 | label->setObjectName(QString::fromUtf8(str: "label" )); |
205 | |
206 | gridLayout->addWidget(label, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
207 | |
208 | copies = new QSpinBox(groupBox); |
209 | copies->setObjectName(QString::fromUtf8(str: "copies" )); |
210 | copies->setMinimum(1); |
211 | copies->setMaximum(999); |
212 | |
213 | gridLayout->addWidget(copies, row: 0, column: 1, rowSpan: 1, columnSpan: 2); |
214 | |
215 | horizontalSpacer = new QSpacerItem(91, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
216 | |
217 | gridLayout->addItem(item: horizontalSpacer, row: 0, column: 3, rowSpan: 1, columnSpan: 1); |
218 | |
219 | collate = new QCheckBox(groupBox); |
220 | collate->setObjectName(QString::fromUtf8(str: "collate" )); |
221 | |
222 | gridLayout->addWidget(collate, row: 1, column: 0, rowSpan: 1, columnSpan: 2); |
223 | |
224 | outputIcon = new QLabel(groupBox); |
225 | outputIcon->setObjectName(QString::fromUtf8(str: "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, row: 1, column: 2, rowSpan: 2, columnSpan: 2); |
233 | |
234 | reverse = new QCheckBox(groupBox); |
235 | reverse->setObjectName(QString::fromUtf8(str: "reverse" )); |
236 | |
237 | gridLayout->addWidget(reverse, row: 2, column: 0, rowSpan: 1, columnSpan: 2); |
238 | |
239 | verticalSpacer_2 = new QSpacerItem(0, 1, QSizePolicy::Minimum, QSizePolicy::Expanding); |
240 | |
241 | gridLayout->addItem(item: verticalSpacer_2, row: 3, column: 0, rowSpan: 1, columnSpan: 4); |
242 | |
243 | |
244 | horizontalLayout->addWidget(groupBox); |
245 | |
246 | tabs->addTab(widget: copiesTab, QString()); |
247 | optionsTab = new QWidget(); |
248 | optionsTab->setObjectName(QString::fromUtf8(str: "optionsTab" )); |
249 | gridLayout_2 = new QGridLayout(optionsTab); |
250 | gridLayout_2->setObjectName(QString::fromUtf8(str: "gridLayout_2" )); |
251 | colorMode = new QGroupBox(optionsTab); |
252 | colorMode->setObjectName(QString::fromUtf8(str: "colorMode" )); |
253 | gridLayout_4 = new QGridLayout(colorMode); |
254 | gridLayout_4->setObjectName(QString::fromUtf8(str: "gridLayout_4" )); |
255 | verticalSpacer_6 = new QSpacerItem(1, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
256 | |
257 | gridLayout_4->addItem(item: verticalSpacer_6, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
258 | |
259 | color = new QRadioButton(colorMode); |
260 | color->setObjectName(QString::fromUtf8(str: "color" )); |
261 | |
262 | gridLayout_4->addWidget(color, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
263 | |
264 | colorIcon = new QLabel(colorMode); |
265 | colorIcon->setObjectName(QString::fromUtf8(str: "colorIcon" )); |
266 | |
267 | gridLayout_4->addWidget(colorIcon, row: 0, column: 1, rowSpan: 3, columnSpan: 1); |
268 | |
269 | grayscale = new QRadioButton(colorMode); |
270 | grayscale->setObjectName(QString::fromUtf8(str: "grayscale" )); |
271 | |
272 | gridLayout_4->addWidget(grayscale, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
273 | |
274 | |
275 | gridLayout_2->addWidget(colorMode, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
276 | |
277 | duplex = new QGroupBox(optionsTab); |
278 | duplex->setObjectName(QString::fromUtf8(str: "duplex" )); |
279 | verticalLayout = new QVBoxLayout(duplex); |
280 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
281 | noDuplex = new QRadioButton(duplex); |
282 | noDuplex->setObjectName(QString::fromUtf8(str: "noDuplex" )); |
283 | noDuplex->setChecked(true); |
284 | |
285 | verticalLayout->addWidget(noDuplex); |
286 | |
287 | duplexLong = new QRadioButton(duplex); |
288 | duplexLong->setObjectName(QString::fromUtf8(str: "duplexLong" )); |
289 | |
290 | verticalLayout->addWidget(duplexLong); |
291 | |
292 | duplexShort = new QRadioButton(duplex); |
293 | duplexShort->setObjectName(QString::fromUtf8(str: "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, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
303 | |
304 | tabs->addTab(widget: 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(sender: printRange, SIGNAL(toggled(bool)), receiver: from, SLOT(setEnabled(bool))); |
314 | QObject::connect(sender: printRange, SIGNAL(toggled(bool)), receiver: to, SLOT(setEnabled(bool))); |
315 | QObject::connect(sender: pagesRadioButton, SIGNAL(toggled(bool)), receiver: pagesLineEdit, SLOT(setEnabled(bool))); |
316 | |
317 | tabs->setCurrentIndex(0); |
318 | |
319 | |
320 | QMetaObject::connectSlotsByName(o: QPrintSettingsOutput); |
321 | } // setupUi |
322 | |
323 | void retranslateUi(QWidget *QPrintSettingsOutput) |
324 | { |
325 | QPrintSettingsOutput->setWindowTitle(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Form" , disambiguation: nullptr)); |
326 | gbPrintRange->setTitle(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Print range" , disambiguation: nullptr)); |
327 | printAll->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Print all" , disambiguation: nullptr)); |
328 | printRange->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Pages from" , disambiguation: nullptr)); |
329 | label_3->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "to" , disambiguation: nullptr)); |
330 | pagesRadioButton->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Pages" , disambiguation: nullptr)); |
331 | #if QT_CONFIG(tooltip) |
332 | pagesLineEdit->setToolTip(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "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." , disambiguation: nullptr)); |
333 | #endif // QT_CONFIG(tooltip) |
334 | printCurrentPage->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Current Page" , disambiguation: nullptr)); |
335 | printSelection->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Selection" , disambiguation: nullptr)); |
336 | pageSetLabel->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Page Set:" , disambiguation: nullptr)); |
337 | groupBox->setTitle(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Output Settings" , disambiguation: nullptr)); |
338 | label->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Copies:" , disambiguation: nullptr)); |
339 | collate->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Collate" , disambiguation: nullptr)); |
340 | reverse->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Reverse" , disambiguation: nullptr)); |
341 | tabs->setTabText(index: tabs->indexOf(widget: copiesTab), text: QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Copies" , disambiguation: nullptr)); |
342 | colorMode->setTitle(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Color Mode" , disambiguation: nullptr)); |
343 | color->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Color" , disambiguation: nullptr)); |
344 | grayscale->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Grayscale" , disambiguation: nullptr)); |
345 | duplex->setTitle(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Double Sided Printing" , disambiguation: nullptr)); |
346 | noDuplex->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Off" , disambiguation: nullptr)); |
347 | duplexLong->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Long side binding" , disambiguation: nullptr)); |
348 | duplexShort->setText(QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Short side binding" , disambiguation: nullptr)); |
349 | tabs->setTabText(index: tabs->indexOf(widget: optionsTab), text: QCoreApplication::translate(context: "QPrintSettingsOutput" , key: "Options" , disambiguation: 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 | |