1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'qpagesetupwidget.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_QPAGESETUPWIDGET_H |
10 | #define UI_QPAGESETUPWIDGET_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtWidgets/QApplication> |
14 | #include <QtWidgets/QComboBox> |
15 | #include <QtWidgets/QDoubleSpinBox> |
16 | #include <QtWidgets/QGridLayout> |
17 | #include <QtWidgets/QGroupBox> |
18 | #include <QtWidgets/QHBoxLayout> |
19 | #include <QtWidgets/QLabel> |
20 | #include <QtWidgets/QRadioButton> |
21 | #include <QtWidgets/QSpacerItem> |
22 | #include <QtWidgets/QVBoxLayout> |
23 | #include <QtWidgets/QWidget> |
24 | |
25 | QT_BEGIN_NAMESPACE |
26 | |
27 | class Ui_QPageSetupWidget |
28 | { |
29 | public: |
30 | QGridLayout *gridLayout_3; |
31 | QGroupBox *groupBox_2; |
32 | QGridLayout *gridLayout_2; |
33 | QLabel *pageSizeLabel; |
34 | QComboBox *pageSizeCombo; |
35 | QLabel *widthLabel; |
36 | QHBoxLayout *horizontalLayout_3; |
37 | QDoubleSpinBox *pageWidth; |
38 | QLabel *heightLabel; |
39 | QDoubleSpinBox *pageHeight; |
40 | QLabel *paperSourceLabel; |
41 | QComboBox *paperSource; |
42 | QSpacerItem *horizontalSpacer_4; |
43 | QLabel *pageSizeWarningLabel; |
44 | QHBoxLayout *horizontalLayout_4; |
45 | QComboBox *unitCombo; |
46 | QSpacerItem *horizontalSpacer_3; |
47 | QWidget *preview; |
48 | QGroupBox *groupBox_3; |
49 | QVBoxLayout *verticalLayout; |
50 | QRadioButton *portrait; |
51 | QRadioButton *landscape; |
52 | QRadioButton *reverseLandscape; |
53 | QRadioButton *reversePortrait; |
54 | QSpacerItem *verticalSpacer_5; |
55 | QGroupBox *groupBox; |
56 | QHBoxLayout *horizontalLayout_2; |
57 | QGridLayout *gridLayout; |
58 | QDoubleSpinBox *topMargin; |
59 | QHBoxLayout *horizontalLayout; |
60 | QSpacerItem *horizontalSpacer_7; |
61 | QDoubleSpinBox *leftMargin; |
62 | QSpacerItem *horizontalSpacer; |
63 | QDoubleSpinBox *rightMargin; |
64 | QSpacerItem *horizontalSpacer_8; |
65 | QSpacerItem *horizontalSpacer_2; |
66 | QDoubleSpinBox *bottomMargin; |
67 | QSpacerItem *horizontalSpacer_5; |
68 | QGroupBox *pagesPerSheetButtonGroup; |
69 | QGridLayout *gridLayout_4; |
70 | QComboBox *pagesPerSheetCombo; |
71 | QSpacerItem *horizontalSpacer_6; |
72 | QLabel *label; |
73 | QComboBox *pagesPerSheetLayoutCombo; |
74 | QLabel *label_2; |
75 | QSpacerItem *verticalSpacer; |
76 | |
77 | void setupUi(QWidget *QPageSetupWidget) |
78 | { |
79 | if (QPageSetupWidget->objectName().isEmpty()) |
80 | QPageSetupWidget->setObjectName(QString::fromUtf8("QPageSetupWidget" )); |
81 | QPageSetupWidget->resize(416, 515); |
82 | gridLayout_3 = new QGridLayout(QPageSetupWidget); |
83 | gridLayout_3->setContentsMargins(0, 0, 0, 0); |
84 | gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3" )); |
85 | groupBox_2 = new QGroupBox(QPageSetupWidget); |
86 | groupBox_2->setObjectName(QString::fromUtf8("groupBox_2" )); |
87 | gridLayout_2 = new QGridLayout(groupBox_2); |
88 | gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2" )); |
89 | pageSizeLabel = new QLabel(groupBox_2); |
90 | pageSizeLabel->setObjectName(QString::fromUtf8("pageSizeLabel" )); |
91 | |
92 | gridLayout_2->addWidget(pageSizeLabel, 0, 0, 1, 1); |
93 | |
94 | pageSizeCombo = new QComboBox(groupBox_2); |
95 | pageSizeCombo->setObjectName(QString::fromUtf8("pageSizeCombo" )); |
96 | |
97 | gridLayout_2->addWidget(pageSizeCombo, 0, 1, 1, 1); |
98 | |
99 | widthLabel = new QLabel(groupBox_2); |
100 | widthLabel->setObjectName(QString::fromUtf8("widthLabel" )); |
101 | |
102 | gridLayout_2->addWidget(widthLabel, 1, 0, 1, 1); |
103 | |
104 | horizontalLayout_3 = new QHBoxLayout(); |
105 | horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3" )); |
106 | pageWidth = new QDoubleSpinBox(groupBox_2); |
107 | pageWidth->setObjectName(QString::fromUtf8("pageWidth" )); |
108 | pageWidth->setMaximum(9999.989999999999782); |
109 | |
110 | horizontalLayout_3->addWidget(pageWidth); |
111 | |
112 | heightLabel = new QLabel(groupBox_2); |
113 | heightLabel->setObjectName(QString::fromUtf8("heightLabel" )); |
114 | |
115 | horizontalLayout_3->addWidget(heightLabel); |
116 | |
117 | pageHeight = new QDoubleSpinBox(groupBox_2); |
118 | pageHeight->setObjectName(QString::fromUtf8("pageHeight" )); |
119 | pageHeight->setMaximum(9999.989999999999782); |
120 | |
121 | horizontalLayout_3->addWidget(pageHeight); |
122 | |
123 | |
124 | gridLayout_2->addLayout(horizontalLayout_3, 1, 1, 1, 1); |
125 | |
126 | paperSourceLabel = new QLabel(groupBox_2); |
127 | paperSourceLabel->setObjectName(QString::fromUtf8("paperSourceLabel" )); |
128 | |
129 | gridLayout_2->addWidget(paperSourceLabel, 2, 0, 1, 1); |
130 | |
131 | paperSource = new QComboBox(groupBox_2); |
132 | paperSource->setObjectName(QString::fromUtf8("paperSource" )); |
133 | |
134 | gridLayout_2->addWidget(paperSource, 2, 1, 1, 1); |
135 | |
136 | horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
137 | |
138 | gridLayout_2->addItem(horizontalSpacer_4, 1, 2, 1, 1); |
139 | |
140 | pageSizeWarningLabel = new QLabel(groupBox_2); |
141 | pageSizeWarningLabel->setObjectName(QString::fromUtf8("pageSizeWarningLabel" )); |
142 | |
143 | gridLayout_2->addWidget(pageSizeWarningLabel, 0, 2, 1, 1); |
144 | |
145 | |
146 | gridLayout_3->addWidget(groupBox_2, 1, 0, 1, 2); |
147 | |
148 | horizontalLayout_4 = new QHBoxLayout(); |
149 | horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4" )); |
150 | unitCombo = new QComboBox(QPageSetupWidget); |
151 | unitCombo->setObjectName(QString::fromUtf8("unitCombo" )); |
152 | |
153 | horizontalLayout_4->addWidget(unitCombo); |
154 | |
155 | horizontalSpacer_3 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
156 | |
157 | horizontalLayout_4->addItem(horizontalSpacer_3); |
158 | |
159 | |
160 | gridLayout_3->addLayout(horizontalLayout_4, 0, 0, 1, 2); |
161 | |
162 | preview = new QWidget(QPageSetupWidget); |
163 | preview->setObjectName(QString::fromUtf8("preview" )); |
164 | |
165 | gridLayout_3->addWidget(preview, 2, 1, 2, 1); |
166 | |
167 | groupBox_3 = new QGroupBox(QPageSetupWidget); |
168 | groupBox_3->setObjectName(QString::fromUtf8("groupBox_3" )); |
169 | verticalLayout = new QVBoxLayout(groupBox_3); |
170 | verticalLayout->setObjectName(QString::fromUtf8("verticalLayout" )); |
171 | portrait = new QRadioButton(groupBox_3); |
172 | portrait->setObjectName(QString::fromUtf8("portrait" )); |
173 | portrait->setChecked(true); |
174 | |
175 | verticalLayout->addWidget(portrait); |
176 | |
177 | landscape = new QRadioButton(groupBox_3); |
178 | landscape->setObjectName(QString::fromUtf8("landscape" )); |
179 | |
180 | verticalLayout->addWidget(landscape); |
181 | |
182 | reverseLandscape = new QRadioButton(groupBox_3); |
183 | reverseLandscape->setObjectName(QString::fromUtf8("reverseLandscape" )); |
184 | |
185 | verticalLayout->addWidget(reverseLandscape); |
186 | |
187 | reversePortrait = new QRadioButton(groupBox_3); |
188 | reversePortrait->setObjectName(QString::fromUtf8("reversePortrait" )); |
189 | |
190 | verticalLayout->addWidget(reversePortrait); |
191 | |
192 | verticalSpacer_5 = new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
193 | |
194 | verticalLayout->addItem(verticalSpacer_5); |
195 | |
196 | |
197 | gridLayout_3->addWidget(groupBox_3, 2, 0, 1, 1); |
198 | |
199 | groupBox = new QGroupBox(QPageSetupWidget); |
200 | groupBox->setObjectName(QString::fromUtf8("groupBox" )); |
201 | horizontalLayout_2 = new QHBoxLayout(groupBox); |
202 | horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2" )); |
203 | gridLayout = new QGridLayout(); |
204 | gridLayout->setObjectName(QString::fromUtf8("gridLayout" )); |
205 | topMargin = new QDoubleSpinBox(groupBox); |
206 | topMargin->setObjectName(QString::fromUtf8("topMargin" )); |
207 | topMargin->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
208 | topMargin->setMaximum(999.990000000000009); |
209 | |
210 | gridLayout->addWidget(topMargin, 0, 1, 1, 1); |
211 | |
212 | horizontalLayout = new QHBoxLayout(); |
213 | horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout" )); |
214 | horizontalSpacer_7 = new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
215 | |
216 | horizontalLayout->addItem(horizontalSpacer_7); |
217 | |
218 | leftMargin = new QDoubleSpinBox(groupBox); |
219 | leftMargin->setObjectName(QString::fromUtf8("leftMargin" )); |
220 | leftMargin->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
221 | leftMargin->setMaximum(999.990000000000009); |
222 | |
223 | horizontalLayout->addWidget(leftMargin); |
224 | |
225 | horizontalSpacer = new QSpacerItem(0, 0, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); |
226 | |
227 | horizontalLayout->addItem(horizontalSpacer); |
228 | |
229 | rightMargin = new QDoubleSpinBox(groupBox); |
230 | rightMargin->setObjectName(QString::fromUtf8("rightMargin" )); |
231 | rightMargin->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
232 | rightMargin->setMaximum(999.990000000000009); |
233 | |
234 | horizontalLayout->addWidget(rightMargin); |
235 | |
236 | horizontalSpacer_8 = new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
237 | |
238 | horizontalLayout->addItem(horizontalSpacer_8); |
239 | |
240 | |
241 | gridLayout->addLayout(horizontalLayout, 1, 0, 1, 3); |
242 | |
243 | horizontalSpacer_2 = new QSpacerItem(0, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); |
244 | |
245 | gridLayout->addItem(horizontalSpacer_2, 0, 2, 1, 1); |
246 | |
247 | bottomMargin = new QDoubleSpinBox(groupBox); |
248 | bottomMargin->setObjectName(QString::fromUtf8("bottomMargin" )); |
249 | bottomMargin->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
250 | bottomMargin->setMaximum(999.990000000000009); |
251 | |
252 | gridLayout->addWidget(bottomMargin, 2, 1, 1, 1); |
253 | |
254 | horizontalSpacer_5 = new QSpacerItem(0, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); |
255 | |
256 | gridLayout->addItem(horizontalSpacer_5, 0, 0, 1, 1); |
257 | |
258 | |
259 | horizontalLayout_2->addLayout(gridLayout); |
260 | |
261 | |
262 | gridLayout_3->addWidget(groupBox, 3, 0, 1, 1); |
263 | |
264 | pagesPerSheetButtonGroup = new QGroupBox(QPageSetupWidget); |
265 | pagesPerSheetButtonGroup->setObjectName(QString::fromUtf8("pagesPerSheetButtonGroup" )); |
266 | gridLayout_4 = new QGridLayout(pagesPerSheetButtonGroup); |
267 | gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4" )); |
268 | pagesPerSheetCombo = new QComboBox(pagesPerSheetButtonGroup); |
269 | pagesPerSheetCombo->setObjectName(QString::fromUtf8("pagesPerSheetCombo" )); |
270 | |
271 | gridLayout_4->addWidget(pagesPerSheetCombo, 0, 1, 1, 1); |
272 | |
273 | horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
274 | |
275 | gridLayout_4->addItem(horizontalSpacer_6, 0, 2, 1, 1); |
276 | |
277 | label = new QLabel(pagesPerSheetButtonGroup); |
278 | label->setObjectName(QString::fromUtf8("label" )); |
279 | |
280 | gridLayout_4->addWidget(label, 1, 0, 1, 1); |
281 | |
282 | pagesPerSheetLayoutCombo = new QComboBox(pagesPerSheetButtonGroup); |
283 | pagesPerSheetLayoutCombo->setObjectName(QString::fromUtf8("pagesPerSheetLayoutCombo" )); |
284 | |
285 | gridLayout_4->addWidget(pagesPerSheetLayoutCombo, 1, 1, 1, 1); |
286 | |
287 | label_2 = new QLabel(pagesPerSheetButtonGroup); |
288 | label_2->setObjectName(QString::fromUtf8("label_2" )); |
289 | |
290 | gridLayout_4->addWidget(label_2, 0, 0, 1, 1); |
291 | |
292 | |
293 | gridLayout_3->addWidget(pagesPerSheetButtonGroup, 5, 0, 1, 2); |
294 | |
295 | verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
296 | |
297 | gridLayout_3->addItem(verticalSpacer, 6, 0, 1, 1); |
298 | |
299 | #if QT_CONFIG(shortcut) |
300 | pageSizeLabel->setBuddy(pageSizeCombo); |
301 | widthLabel->setBuddy(pageWidth); |
302 | heightLabel->setBuddy(pageHeight); |
303 | paperSourceLabel->setBuddy(paperSource); |
304 | #endif // QT_CONFIG(shortcut) |
305 | |
306 | retranslateUi(QPageSetupWidget); |
307 | |
308 | QMetaObject::connectSlotsByName(QPageSetupWidget); |
309 | } // setupUi |
310 | |
311 | void retranslateUi(QWidget *QPageSetupWidget) |
312 | { |
313 | QPageSetupWidget->setWindowTitle(QCoreApplication::translate("QPageSetupWidget" , "Form" , nullptr)); |
314 | groupBox_2->setTitle(QCoreApplication::translate("QPageSetupWidget" , "Paper" , nullptr)); |
315 | pageSizeLabel->setText(QCoreApplication::translate("QPageSetupWidget" , "Page size:" , nullptr)); |
316 | widthLabel->setText(QCoreApplication::translate("QPageSetupWidget" , "Width:" , nullptr)); |
317 | heightLabel->setText(QCoreApplication::translate("QPageSetupWidget" , "Height:" , nullptr)); |
318 | paperSourceLabel->setText(QCoreApplication::translate("QPageSetupWidget" , "Paper source:" , nullptr)); |
319 | groupBox_3->setTitle(QCoreApplication::translate("QPageSetupWidget" , "Orientation" , nullptr)); |
320 | portrait->setText(QCoreApplication::translate("QPageSetupWidget" , "Portrait" , nullptr)); |
321 | landscape->setText(QCoreApplication::translate("QPageSetupWidget" , "Landscape" , nullptr)); |
322 | reverseLandscape->setText(QCoreApplication::translate("QPageSetupWidget" , "Reverse landscape" , nullptr)); |
323 | reversePortrait->setText(QCoreApplication::translate("QPageSetupWidget" , "Reverse portrait" , nullptr)); |
324 | groupBox->setTitle(QCoreApplication::translate("QPageSetupWidget" , "Margins" , nullptr)); |
325 | #if QT_CONFIG(tooltip) |
326 | topMargin->setToolTip(QCoreApplication::translate("QPageSetupWidget" , "top margin" , nullptr)); |
327 | #endif // QT_CONFIG(tooltip) |
328 | #if QT_CONFIG(accessibility) |
329 | topMargin->setAccessibleName(QCoreApplication::translate("QPageSetupWidget" , "top margin" , nullptr)); |
330 | #endif // QT_CONFIG(accessibility) |
331 | #if QT_CONFIG(tooltip) |
332 | leftMargin->setToolTip(QCoreApplication::translate("QPageSetupWidget" , "left margin" , nullptr)); |
333 | #endif // QT_CONFIG(tooltip) |
334 | #if QT_CONFIG(accessibility) |
335 | leftMargin->setAccessibleName(QCoreApplication::translate("QPageSetupWidget" , "left margin" , nullptr)); |
336 | #endif // QT_CONFIG(accessibility) |
337 | #if QT_CONFIG(tooltip) |
338 | rightMargin->setToolTip(QCoreApplication::translate("QPageSetupWidget" , "right margin" , nullptr)); |
339 | #endif // QT_CONFIG(tooltip) |
340 | #if QT_CONFIG(accessibility) |
341 | rightMargin->setAccessibleName(QCoreApplication::translate("QPageSetupWidget" , "right margin" , nullptr)); |
342 | #endif // QT_CONFIG(accessibility) |
343 | #if QT_CONFIG(tooltip) |
344 | bottomMargin->setToolTip(QCoreApplication::translate("QPageSetupWidget" , "bottom margin" , nullptr)); |
345 | #endif // QT_CONFIG(tooltip) |
346 | #if QT_CONFIG(accessibility) |
347 | bottomMargin->setAccessibleName(QCoreApplication::translate("QPageSetupWidget" , "bottom margin" , nullptr)); |
348 | #endif // QT_CONFIG(accessibility) |
349 | pagesPerSheetButtonGroup->setTitle(QCoreApplication::translate("QPageSetupWidget" , "Page Layout" , nullptr)); |
350 | label->setText(QCoreApplication::translate("QPageSetupWidget" , "Page order:" , nullptr)); |
351 | label_2->setText(QCoreApplication::translate("QPageSetupWidget" , "Pages per sheet:" , nullptr)); |
352 | } // retranslateUi |
353 | |
354 | }; |
355 | |
356 | namespace Ui { |
357 | class QPageSetupWidget: public Ui_QPageSetupWidget {}; |
358 | } // namespace Ui |
359 | |
360 | QT_END_NAMESPACE |
361 | |
362 | #endif // UI_QPAGESETUPWIDGET_H |
363 | |