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