1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'qpagesetupwidget.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_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(str: "QPageSetupWidget" )); |
81 | QPageSetupWidget->resize(w: 416, h: 515); |
82 | gridLayout_3 = new QGridLayout(QPageSetupWidget); |
83 | gridLayout_3->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); |
84 | gridLayout_3->setObjectName(QString::fromUtf8(str: "gridLayout_3" )); |
85 | groupBox_2 = new QGroupBox(QPageSetupWidget); |
86 | groupBox_2->setObjectName(QString::fromUtf8(str: "groupBox_2" )); |
87 | gridLayout_2 = new QGridLayout(groupBox_2); |
88 | gridLayout_2->setObjectName(QString::fromUtf8(str: "gridLayout_2" )); |
89 | pageSizeLabel = new QLabel(groupBox_2); |
90 | pageSizeLabel->setObjectName(QString::fromUtf8(str: "pageSizeLabel" )); |
91 | |
92 | gridLayout_2->addWidget(pageSizeLabel, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
93 | |
94 | pageSizeCombo = new QComboBox(groupBox_2); |
95 | pageSizeCombo->setObjectName(QString::fromUtf8(str: "pageSizeCombo" )); |
96 | |
97 | gridLayout_2->addWidget(pageSizeCombo, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
98 | |
99 | widthLabel = new QLabel(groupBox_2); |
100 | widthLabel->setObjectName(QString::fromUtf8(str: "widthLabel" )); |
101 | |
102 | gridLayout_2->addWidget(widthLabel, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
103 | |
104 | horizontalLayout_3 = new QHBoxLayout(); |
105 | horizontalLayout_3->setObjectName(QString::fromUtf8(str: "horizontalLayout_3" )); |
106 | pageWidth = new QDoubleSpinBox(groupBox_2); |
107 | pageWidth->setObjectName(QString::fromUtf8(str: "pageWidth" )); |
108 | pageWidth->setMaximum(9999.989999999999782); |
109 | |
110 | horizontalLayout_3->addWidget(pageWidth); |
111 | |
112 | heightLabel = new QLabel(groupBox_2); |
113 | heightLabel->setObjectName(QString::fromUtf8(str: "heightLabel" )); |
114 | |
115 | horizontalLayout_3->addWidget(heightLabel); |
116 | |
117 | pageHeight = new QDoubleSpinBox(groupBox_2); |
118 | pageHeight->setObjectName(QString::fromUtf8(str: "pageHeight" )); |
119 | pageHeight->setMaximum(9999.989999999999782); |
120 | |
121 | horizontalLayout_3->addWidget(pageHeight); |
122 | |
123 | |
124 | gridLayout_2->addLayout(horizontalLayout_3, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
125 | |
126 | paperSourceLabel = new QLabel(groupBox_2); |
127 | paperSourceLabel->setObjectName(QString::fromUtf8(str: "paperSourceLabel" )); |
128 | |
129 | gridLayout_2->addWidget(paperSourceLabel, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
130 | |
131 | paperSource = new QComboBox(groupBox_2); |
132 | paperSource->setObjectName(QString::fromUtf8(str: "paperSource" )); |
133 | |
134 | gridLayout_2->addWidget(paperSource, row: 2, column: 1, rowSpan: 1, columnSpan: 1); |
135 | |
136 | horizontalSpacer_4 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
137 | |
138 | gridLayout_2->addItem(item: horizontalSpacer_4, row: 1, column: 2, rowSpan: 1, columnSpan: 1); |
139 | |
140 | pageSizeWarningLabel = new QLabel(groupBox_2); |
141 | pageSizeWarningLabel->setObjectName(QString::fromUtf8(str: "pageSizeWarningLabel" )); |
142 | |
143 | gridLayout_2->addWidget(pageSizeWarningLabel, row: 0, column: 2, rowSpan: 1, columnSpan: 1); |
144 | |
145 | |
146 | gridLayout_3->addWidget(groupBox_2, row: 1, column: 0, rowSpan: 1, columnSpan: 2); |
147 | |
148 | horizontalLayout_4 = new QHBoxLayout(); |
149 | horizontalLayout_4->setObjectName(QString::fromUtf8(str: "horizontalLayout_4" )); |
150 | unitCombo = new QComboBox(QPageSetupWidget); |
151 | unitCombo->setObjectName(QString::fromUtf8(str: "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, row: 0, column: 0, rowSpan: 1, columnSpan: 2); |
161 | |
162 | preview = new QWidget(QPageSetupWidget); |
163 | preview->setObjectName(QString::fromUtf8(str: "preview" )); |
164 | |
165 | gridLayout_3->addWidget(preview, row: 2, column: 1, rowSpan: 2, columnSpan: 1); |
166 | |
167 | groupBox_3 = new QGroupBox(QPageSetupWidget); |
168 | groupBox_3->setObjectName(QString::fromUtf8(str: "groupBox_3" )); |
169 | verticalLayout = new QVBoxLayout(groupBox_3); |
170 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
171 | portrait = new QRadioButton(groupBox_3); |
172 | portrait->setObjectName(QString::fromUtf8(str: "portrait" )); |
173 | portrait->setChecked(true); |
174 | |
175 | verticalLayout->addWidget(portrait); |
176 | |
177 | landscape = new QRadioButton(groupBox_3); |
178 | landscape->setObjectName(QString::fromUtf8(str: "landscape" )); |
179 | |
180 | verticalLayout->addWidget(landscape); |
181 | |
182 | reverseLandscape = new QRadioButton(groupBox_3); |
183 | reverseLandscape->setObjectName(QString::fromUtf8(str: "reverseLandscape" )); |
184 | |
185 | verticalLayout->addWidget(reverseLandscape); |
186 | |
187 | reversePortrait = new QRadioButton(groupBox_3); |
188 | reversePortrait->setObjectName(QString::fromUtf8(str: "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, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
198 | |
199 | groupBox = new QGroupBox(QPageSetupWidget); |
200 | groupBox->setObjectName(QString::fromUtf8(str: "groupBox" )); |
201 | horizontalLayout_2 = new QHBoxLayout(groupBox); |
202 | horizontalLayout_2->setObjectName(QString::fromUtf8(str: "horizontalLayout_2" )); |
203 | gridLayout = new QGridLayout(); |
204 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
205 | topMargin = new QDoubleSpinBox(groupBox); |
206 | topMargin->setObjectName(QString::fromUtf8(str: "topMargin" )); |
207 | topMargin->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
208 | topMargin->setMaximum(999.990000000000009); |
209 | |
210 | gridLayout->addWidget(topMargin, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
211 | |
212 | horizontalLayout = new QHBoxLayout(); |
213 | horizontalLayout->setObjectName(QString::fromUtf8(str: "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(str: "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(str: "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, row: 1, column: 0, rowSpan: 1, columnSpan: 3); |
242 | |
243 | horizontalSpacer_2 = new QSpacerItem(0, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); |
244 | |
245 | gridLayout->addItem(item: horizontalSpacer_2, row: 0, column: 2, rowSpan: 1, columnSpan: 1); |
246 | |
247 | bottomMargin = new QDoubleSpinBox(groupBox); |
248 | bottomMargin->setObjectName(QString::fromUtf8(str: "bottomMargin" )); |
249 | bottomMargin->setAlignment(Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter); |
250 | bottomMargin->setMaximum(999.990000000000009); |
251 | |
252 | gridLayout->addWidget(bottomMargin, row: 2, column: 1, rowSpan: 1, columnSpan: 1); |
253 | |
254 | horizontalSpacer_5 = new QSpacerItem(0, 20, QSizePolicy::MinimumExpanding, QSizePolicy::Minimum); |
255 | |
256 | gridLayout->addItem(item: horizontalSpacer_5, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
257 | |
258 | |
259 | horizontalLayout_2->addLayout(layout: gridLayout); |
260 | |
261 | |
262 | gridLayout_3->addWidget(groupBox, row: 3, column: 0, rowSpan: 1, columnSpan: 1); |
263 | |
264 | pagesPerSheetButtonGroup = new QGroupBox(QPageSetupWidget); |
265 | pagesPerSheetButtonGroup->setObjectName(QString::fromUtf8(str: "pagesPerSheetButtonGroup" )); |
266 | gridLayout_4 = new QGridLayout(pagesPerSheetButtonGroup); |
267 | gridLayout_4->setObjectName(QString::fromUtf8(str: "gridLayout_4" )); |
268 | pagesPerSheetCombo = new QComboBox(pagesPerSheetButtonGroup); |
269 | pagesPerSheetCombo->setObjectName(QString::fromUtf8(str: "pagesPerSheetCombo" )); |
270 | |
271 | gridLayout_4->addWidget(pagesPerSheetCombo, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
272 | |
273 | horizontalSpacer_6 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
274 | |
275 | gridLayout_4->addItem(item: horizontalSpacer_6, row: 0, column: 2, rowSpan: 1, columnSpan: 1); |
276 | |
277 | label = new QLabel(pagesPerSheetButtonGroup); |
278 | label->setObjectName(QString::fromUtf8(str: "label" )); |
279 | |
280 | gridLayout_4->addWidget(label, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
281 | |
282 | pagesPerSheetLayoutCombo = new QComboBox(pagesPerSheetButtonGroup); |
283 | pagesPerSheetLayoutCombo->setObjectName(QString::fromUtf8(str: "pagesPerSheetLayoutCombo" )); |
284 | |
285 | gridLayout_4->addWidget(pagesPerSheetLayoutCombo, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
286 | |
287 | label_2 = new QLabel(pagesPerSheetButtonGroup); |
288 | label_2->setObjectName(QString::fromUtf8(str: "label_2" )); |
289 | |
290 | gridLayout_4->addWidget(label_2, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
291 | |
292 | |
293 | gridLayout_3->addWidget(pagesPerSheetButtonGroup, row: 5, column: 0, rowSpan: 1, columnSpan: 2); |
294 | |
295 | verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
296 | |
297 | gridLayout_3->addItem(item: verticalSpacer, row: 6, column: 0, rowSpan: 1, columnSpan: 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(o: QPageSetupWidget); |
309 | } // setupUi |
310 | |
311 | void retranslateUi(QWidget *QPageSetupWidget) |
312 | { |
313 | QPageSetupWidget->setWindowTitle(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Form" , disambiguation: nullptr)); |
314 | groupBox_2->setTitle(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Paper" , disambiguation: nullptr)); |
315 | pageSizeLabel->setText(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Page size:" , disambiguation: nullptr)); |
316 | widthLabel->setText(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Width:" , disambiguation: nullptr)); |
317 | heightLabel->setText(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Height:" , disambiguation: nullptr)); |
318 | paperSourceLabel->setText(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Paper source:" , disambiguation: nullptr)); |
319 | groupBox_3->setTitle(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Orientation" , disambiguation: nullptr)); |
320 | portrait->setText(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Portrait" , disambiguation: nullptr)); |
321 | landscape->setText(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Landscape" , disambiguation: nullptr)); |
322 | reverseLandscape->setText(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Reverse landscape" , disambiguation: nullptr)); |
323 | reversePortrait->setText(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Reverse portrait" , disambiguation: nullptr)); |
324 | groupBox->setTitle(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Margins" , disambiguation: nullptr)); |
325 | #if QT_CONFIG(tooltip) |
326 | topMargin->setToolTip(QCoreApplication::translate(context: "QPageSetupWidget" , key: "top margin" , disambiguation: nullptr)); |
327 | #endif // QT_CONFIG(tooltip) |
328 | #if QT_CONFIG(accessibility) |
329 | topMargin->setAccessibleName(QCoreApplication::translate(context: "QPageSetupWidget" , key: "top margin" , disambiguation: nullptr)); |
330 | #endif // QT_CONFIG(accessibility) |
331 | #if QT_CONFIG(tooltip) |
332 | leftMargin->setToolTip(QCoreApplication::translate(context: "QPageSetupWidget" , key: "left margin" , disambiguation: nullptr)); |
333 | #endif // QT_CONFIG(tooltip) |
334 | #if QT_CONFIG(accessibility) |
335 | leftMargin->setAccessibleName(QCoreApplication::translate(context: "QPageSetupWidget" , key: "left margin" , disambiguation: nullptr)); |
336 | #endif // QT_CONFIG(accessibility) |
337 | #if QT_CONFIG(tooltip) |
338 | rightMargin->setToolTip(QCoreApplication::translate(context: "QPageSetupWidget" , key: "right margin" , disambiguation: nullptr)); |
339 | #endif // QT_CONFIG(tooltip) |
340 | #if QT_CONFIG(accessibility) |
341 | rightMargin->setAccessibleName(QCoreApplication::translate(context: "QPageSetupWidget" , key: "right margin" , disambiguation: nullptr)); |
342 | #endif // QT_CONFIG(accessibility) |
343 | #if QT_CONFIG(tooltip) |
344 | bottomMargin->setToolTip(QCoreApplication::translate(context: "QPageSetupWidget" , key: "bottom margin" , disambiguation: nullptr)); |
345 | #endif // QT_CONFIG(tooltip) |
346 | #if QT_CONFIG(accessibility) |
347 | bottomMargin->setAccessibleName(QCoreApplication::translate(context: "QPageSetupWidget" , key: "bottom margin" , disambiguation: nullptr)); |
348 | #endif // QT_CONFIG(accessibility) |
349 | pagesPerSheetButtonGroup->setTitle(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Page Layout" , disambiguation: nullptr)); |
350 | label->setText(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Page order:" , disambiguation: nullptr)); |
351 | label_2->setText(QCoreApplication::translate(context: "QPageSetupWidget" , key: "Pages per sheet:" , disambiguation: 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 | |