| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'qprintsettingsoutput.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 QPRINTSETTINGSOUTPUT_H |
| 10 |
#define QPRINTSETTINGSOUTPUT_H |
| 11 |
|
| 12 |
#include <QtCore/QVariant> |
| 13 |
#include <QtWidgets/QApplication> |
| 14 |
#include <QtWidgets/QCheckBox> |
| 15 |
#include <QtWidgets/QGridLayout> |
| 16 |
#include <QtWidgets/QGroupBox> |
| 17 |
#include <QtWidgets/QHBoxLayout> |
| 18 |
#include <QtWidgets/QLabel> |
| 19 |
#include <QtWidgets/QRadioButton> |
| 20 |
#include <QtWidgets/QSpacerItem> |
| 21 |
#include <QtWidgets/QSpinBox> |
| 22 |
#include <QtWidgets/QTabWidget> |
| 23 |
#include <QtWidgets/QVBoxLayout> |
| 24 |
#include <QtWidgets/QWidget> |
| 25 |
|
| 26 |
QT_BEGIN_NAMESPACE |
| 27 |
|
| 28 |
class Ui_QPrintSettingsOutput |
| 29 |
{ |
| 30 |
public: |
| 31 |
QHBoxLayout *horizontalLayout_2; |
| 32 |
QTabWidget *tabs; |
| 33 |
QWidget *copiesTab; |
| 34 |
QHBoxLayout *horizontalLayout; |
| 35 |
QGroupBox *gbPrintRange; |
| 36 |
QVBoxLayout *_3; |
| 37 |
QRadioButton *printAll; |
| 38 |
QHBoxLayout *_4; |
| 39 |
QRadioButton *printRange; |
| 40 |
QSpinBox *from; |
| 41 |
QLabel *label_3; |
| 42 |
QSpinBox *to; |
| 43 |
QSpacerItem *spacerItem; |
| 44 |
QRadioButton *printSelection; |
| 45 |
QSpacerItem *verticalSpacer; |
| 46 |
QGroupBox *groupBox; |
| 47 |
QGridLayout *gridLayout; |
| 48 |
QLabel *label; |
| 49 |
QSpinBox *copies; |
| 50 |
QSpacerItem *horizontalSpacer; |
| 51 |
QCheckBox *collate; |
| 52 |
QLabel *outputIcon; |
| 53 |
QCheckBox *reverse; |
| 54 |
QSpacerItem *verticalSpacer_2; |
| 55 |
QWidget *optionsTab; |
| 56 |
QGridLayout *gridLayout_2; |
| 57 |
QGroupBox *colorMode; |
| 58 |
QGridLayout *gridLayout_4; |
| 59 |
QSpacerItem *verticalSpacer_6; |
| 60 |
QRadioButton *color; |
| 61 |
QLabel *colorIcon; |
| 62 |
QRadioButton *grayscale; |
| 63 |
QGroupBox *duplex; |
| 64 |
QVBoxLayout *verticalLayout; |
| 65 |
QRadioButton *noDuplex; |
| 66 |
QRadioButton *duplexLong; |
| 67 |
QRadioButton *duplexShort; |
| 68 |
QSpacerItem *verticalSpacer1; |
| 69 |
|
| 70 |
void setupUi(QWidget *QPrintSettingsOutput) |
| 71 |
{ |
| 72 |
if (QPrintSettingsOutput->objectName().isEmpty()) |
| 73 |
QPrintSettingsOutput->setObjectName(QString::fromUtf8("QPrintSettingsOutput")); |
| 74 |
QPrintSettingsOutput->resize(416, 166); |
| 75 |
horizontalLayout_2 = new QHBoxLayout(QPrintSettingsOutput); |
| 76 |
horizontalLayout_2->setContentsMargins(0, 0, 0, 0); |
| 77 |
horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2")); |
| 78 |
tabs = new QTabWidget(QPrintSettingsOutput); |
| 79 |
tabs->setObjectName(QString::fromUtf8("tabs")); |
| 80 |
copiesTab = new QWidget(); |
| 81 |
copiesTab->setObjectName(QString::fromUtf8("copiesTab")); |
| 82 |
copiesTab->setGeometry(QRect(0, 0, 412, 139)); |
| 83 |
horizontalLayout = new QHBoxLayout(copiesTab); |
| 84 |
horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout")); |
| 85 |
gbPrintRange = new QGroupBox(copiesTab); |
| 86 |
gbPrintRange->setObjectName(QString::fromUtf8("gbPrintRange")); |
| 87 |
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Minimum); |
| 88 |
sizePolicy.setHorizontalStretch(0); |
| 89 |
sizePolicy.setVerticalStretch(0); |
| 90 |
sizePolicy.setHeightForWidth(gbPrintRange->sizePolicy().hasHeightForWidth()); |
| 91 |
gbPrintRange->setSizePolicy(sizePolicy); |
| 92 |
_3 = new QVBoxLayout(gbPrintRange); |
| 93 |
_3->setSpacing(4); |
| 94 |
_3->setContentsMargins(6, 6, 6, 6); |
| 95 |
_3->setObjectName(QString::fromUtf8("_3")); |
| 96 |
printAll = new QRadioButton(gbPrintRange); |
| 97 |
printAll->setObjectName(QString::fromUtf8("printAll")); |
| 98 |
printAll->setChecked(true); |
| 99 |
|
| 100 |
_3->addWidget(printAll); |
| 101 |
|
| 102 |
_4 = new QHBoxLayout(); |
| 103 |
#ifndef Q_OS_MAC |
| 104 |
_4->setSpacing(6); |
| 105 |
#endif |
| 106 |
_4->setContentsMargins(0, 0, 0, 0); |
| 107 |
_4->setObjectName(QString::fromUtf8("_4")); |
| 108 |
printRange = new QRadioButton(gbPrintRange); |
| 109 |
printRange->setObjectName(QString::fromUtf8("printRange")); |
| 110 |
|
| 111 |
_4->addWidget(printRange); |
| 112 |
|
| 113 |
from = new QSpinBox(gbPrintRange); |
| 114 |
from->setObjectName(QString::fromUtf8("from")); |
| 115 |
from->setEnabled(false); |
| 116 |
from->setMinimum(1); |
| 117 |
from->setMaximum(999); |
| 118 |
|
| 119 |
_4->addWidget(from); |
| 120 |
|
| 121 |
label_3 = new QLabel(gbPrintRange); |
| 122 |
label_3->setObjectName(QString::fromUtf8("label_3")); |
| 123 |
|
| 124 |
_4->addWidget(label_3); |
| 125 |
|
| 126 |
to = new QSpinBox(gbPrintRange); |
| 127 |
to->setObjectName(QString::fromUtf8("to")); |
| 128 |
to->setEnabled(false); |
| 129 |
to->setMinimum(1); |
| 130 |
to->setMaximum(999); |
| 131 |
|
| 132 |
_4->addWidget(to); |
| 133 |
|
| 134 |
spacerItem = new QSpacerItem(0, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 135 |
|
| 136 |
_4->addItem(spacerItem); |
| 137 |
|
| 138 |
|
| 139 |
_3->addLayout(_4); |
| 140 |
|
| 141 |
printSelection = new QRadioButton(gbPrintRange); |
| 142 |
printSelection->setObjectName(QString::fromUtf8("printSelection")); |
| 143 |
|
| 144 |
_3->addWidget(printSelection); |
| 145 |
|
| 146 |
verticalSpacer = new QSpacerItem(1, 1, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 147 |
|
| 148 |
_3->addItem(verticalSpacer); |
| 149 |
|
| 150 |
|
| 151 |
horizontalLayout->addWidget(gbPrintRange); |
| 152 |
|
| 153 |
groupBox = new QGroupBox(copiesTab); |
| 154 |
groupBox->setObjectName(QString::fromUtf8("groupBox")); |
| 155 |
gridLayout = new QGridLayout(groupBox); |
| 156 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
| 157 |
label = new QLabel(groupBox); |
| 158 |
label->setObjectName(QString::fromUtf8("label")); |
| 159 |
|
| 160 |
gridLayout->addWidget(label, 0, 0, 1, 1); |
| 161 |
|
| 162 |
copies = new QSpinBox(groupBox); |
| 163 |
copies->setObjectName(QString::fromUtf8("copies")); |
| 164 |
copies->setMinimum(1); |
| 165 |
copies->setMaximum(999); |
| 166 |
|
| 167 |
gridLayout->addWidget(copies, 0, 1, 1, 2); |
| 168 |
|
| 169 |
horizontalSpacer = new QSpacerItem(91, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 170 |
|
| 171 |
gridLayout->addItem(horizontalSpacer, 0, 3, 1, 1); |
| 172 |
|
| 173 |
collate = new QCheckBox(groupBox); |
| 174 |
collate->setObjectName(QString::fromUtf8("collate")); |
| 175 |
|
| 176 |
gridLayout->addWidget(collate, 1, 0, 1, 2); |
| 177 |
|
| 178 |
outputIcon = new QLabel(groupBox); |
| 179 |
outputIcon->setObjectName(QString::fromUtf8("outputIcon")); |
| 180 |
QSizePolicy sizePolicy1(QSizePolicy::Ignored, QSizePolicy::Ignored); |
| 181 |
sizePolicy1.setHorizontalStretch(0); |
| 182 |
sizePolicy1.setVerticalStretch(0); |
| 183 |
sizePolicy1.setHeightForWidth(outputIcon->sizePolicy().hasHeightForWidth()); |
| 184 |
outputIcon->setSizePolicy(sizePolicy1); |
| 185 |
|
| 186 |
gridLayout->addWidget(outputIcon, 1, 2, 2, 2); |
| 187 |
|
| 188 |
reverse = new QCheckBox(groupBox); |
| 189 |
reverse->setObjectName(QString::fromUtf8("reverse")); |
| 190 |
|
| 191 |
gridLayout->addWidget(reverse, 2, 0, 1, 2); |
| 192 |
|
| 193 |
verticalSpacer_2 = new QSpacerItem(0, 1, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 194 |
|
| 195 |
gridLayout->addItem(verticalSpacer_2, 3, 0, 1, 4); |
| 196 |
|
| 197 |
|
| 198 |
horizontalLayout->addWidget(groupBox); |
| 199 |
|
| 200 |
tabs->addTab(copiesTab, QString()); |
| 201 |
optionsTab = new QWidget(); |
| 202 |
optionsTab->setObjectName(QString::fromUtf8("optionsTab")); |
| 203 |
optionsTab->setGeometry(QRect(0, 0, 412, 139)); |
| 204 |
gridLayout_2 = new QGridLayout(optionsTab); |
| 205 |
gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2")); |
| 206 |
colorMode = new QGroupBox(optionsTab); |
| 207 |
colorMode->setObjectName(QString::fromUtf8("colorMode")); |
| 208 |
gridLayout_4 = new QGridLayout(colorMode); |
| 209 |
gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4")); |
| 210 |
verticalSpacer_6 = new QSpacerItem(1, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 211 |
|
| 212 |
gridLayout_4->addItem(verticalSpacer_6, 2, 0, 1, 1); |
| 213 |
|
| 214 |
color = new QRadioButton(colorMode); |
| 215 |
color->setObjectName(QString::fromUtf8("color")); |
| 216 |
|
| 217 |
gridLayout_4->addWidget(color, 0, 0, 1, 1); |
| 218 |
|
| 219 |
colorIcon = new QLabel(colorMode); |
| 220 |
colorIcon->setObjectName(QString::fromUtf8("colorIcon")); |
| 221 |
|
| 222 |
gridLayout_4->addWidget(colorIcon, 0, 1, 3, 1); |
| 223 |
|
| 224 |
grayscale = new QRadioButton(colorMode); |
| 225 |
grayscale->setObjectName(QString::fromUtf8("grayscale")); |
| 226 |
|
| 227 |
gridLayout_4->addWidget(grayscale, 1, 0, 1, 1); |
| 228 |
|
| 229 |
|
| 230 |
gridLayout_2->addWidget(colorMode, 0, 1, 1, 1); |
| 231 |
|
| 232 |
duplex = new QGroupBox(optionsTab); |
| 233 |
duplex->setObjectName(QString::fromUtf8("duplex")); |
| 234 |
verticalLayout = new QVBoxLayout(duplex); |
| 235 |
verticalLayout->setObjectName(QString::fromUtf8("verticalLayout")); |
| 236 |
noDuplex = new QRadioButton(duplex); |
| 237 |
noDuplex->setObjectName(QString::fromUtf8("noDuplex")); |
| 238 |
noDuplex->setChecked(true); |
| 239 |
|
| 240 |
verticalLayout->addWidget(noDuplex); |
| 241 |
|
| 242 |
duplexLong = new QRadioButton(duplex); |
| 243 |
duplexLong->setObjectName(QString::fromUtf8("duplexLong")); |
| 244 |
|
| 245 |
verticalLayout->addWidget(duplexLong); |
| 246 |
|
| 247 |
duplexShort = new QRadioButton(duplex); |
| 248 |
duplexShort->setObjectName(QString::fromUtf8("duplexShort")); |
| 249 |
|
| 250 |
verticalLayout->addWidget(duplexShort); |
| 251 |
|
| 252 |
verticalSpacer1 = new QSpacerItem(1, 0, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 253 |
|
| 254 |
verticalLayout->addItem(verticalSpacer1); |
| 255 |
|
| 256 |
|
| 257 |
gridLayout_2->addWidget(duplex, 0, 0, 1, 1); |
| 258 |
|
| 259 |
tabs->addTab(optionsTab, QString()); |
| 260 |
|
| 261 |
horizontalLayout_2->addWidget(tabs); |
| 262 |
|
| 263 |
#if QT_CONFIG(shortcut) |
| 264 |
label->setBuddy(copies); |
| 265 |
#endif // QT_CONFIG(shortcut) |
| 266 |
|
| 267 |
retranslateUi(QPrintSettingsOutput); |
| 268 |
QObject::connect(printRange, SIGNAL(toggled(bool)), from, SLOT(setEnabled(bool))); |
| 269 |
QObject::connect(printRange, SIGNAL(toggled(bool)), to, SLOT(setEnabled(bool))); |
| 270 |
|
| 271 |
tabs->setCurrentIndex(0); |
| 272 |
|
| 273 |
|
| 274 |
QMetaObject::connectSlotsByName(QPrintSettingsOutput); |
| 275 |
} // setupUi |
| 276 |
|
| 277 |
void retranslateUi(QWidget *QPrintSettingsOutput) |
| 278 |
{ |
| 279 |
QPrintSettingsOutput->setWindowTitle(QCoreApplication::translate("QPrintSettingsOutput", "Form", nullptr)); |
| 280 |
gbPrintRange->setTitle(QCoreApplication::translate("QPrintSettingsOutput", "Print range", nullptr)); |
| 281 |
printAll->setText(QCoreApplication::translate("QPrintSettingsOutput", "Print all", nullptr)); |
| 282 |
printRange->setText(QCoreApplication::translate("QPrintSettingsOutput", "Pages from", nullptr)); |
| 283 |
label_3->setText(QCoreApplication::translate("QPrintSettingsOutput", "to", nullptr)); |
| 284 |
printSelection->setText(QCoreApplication::translate("QPrintSettingsOutput", "Selection", nullptr)); |
| 285 |
groupBox->setTitle(QCoreApplication::translate("QPrintSettingsOutput", "Output Settings", nullptr)); |
| 286 |
label->setText(QCoreApplication::translate("QPrintSettingsOutput", "Copies:", nullptr)); |
| 287 |
collate->setText(QCoreApplication::translate("QPrintSettingsOutput", "Collate", nullptr)); |
| 288 |
reverse->setText(QCoreApplication::translate("QPrintSettingsOutput", "Reverse", nullptr)); |
| 289 |
tabs->setTabText(tabs->indexOf(copiesTab), QCoreApplication::translate("QPrintSettingsOutput", "Copies", nullptr)); |
| 290 |
colorMode->setTitle(QCoreApplication::translate("QPrintSettingsOutput", "Color Mode", nullptr)); |
| 291 |
color->setText(QCoreApplication::translate("QPrintSettingsOutput", "Color", nullptr)); |
| 292 |
grayscale->setText(QCoreApplication::translate("QPrintSettingsOutput", "Grayscale", nullptr)); |
| 293 |
duplex->setTitle(QCoreApplication::translate("QPrintSettingsOutput", "Duplex Printing", nullptr)); |
| 294 |
noDuplex->setText(QCoreApplication::translate("QPrintSettingsOutput", "None", nullptr)); |
| 295 |
duplexLong->setText(QCoreApplication::translate("QPrintSettingsOutput", "Long side", nullptr)); |
| 296 |
duplexShort->setText(QCoreApplication::translate("QPrintSettingsOutput", "Short side", nullptr)); |
| 297 |
tabs->setTabText(tabs->indexOf(optionsTab), QCoreApplication::translate("QPrintSettingsOutput", "Options", nullptr)); |
| 298 |
} // retranslateUi |
| 299 |
|
| 300 |
}; |
| 301 |
|
| 302 |
namespace Ui { |
| 303 |
class QPrintSettingsOutput: public Ui_QPrintSettingsOutput {}; |
| 304 |
} // namespace Ui |
| 305 |
|
| 306 |
QT_END_NAMESPACE |
| 307 |
|
| 308 |
#endif // QPRINTSETTINGSOUTPUT_H |