Debian Codegraph @

tests/auto/tools/uic/baseline/previewdialogbase.ui.h

raw
1 /********************************************************************************
2 ** Form generated from reading UI file 'previewdialogbase.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 PREVIEWDIALOGBASE_H
10 #define PREVIEWDIALOGBASE_H
11
12 #include <QtCore/QVariant>
13 #include <QtWidgets/QApplication>
14 #include <QtWidgets/QComboBox>
15 #include <QtWidgets/QDialog>
16 #include <QtWidgets/QDialogButtonBox>
17 #include <QtWidgets/QHBoxLayout>
18 #include <QtWidgets/QHeaderView>
19 #include <QtWidgets/QLabel>
20 #include <QtWidgets/QProgressBar>
21 #include <QtWidgets/QScrollArea>
22 #include <QtWidgets/QSpacerItem>
23 #include <QtWidgets/QTreeWidget>
24 #include <QtWidgets/QVBoxLayout>
25
26 QT_BEGIN_NAMESPACE
27
28 class Ui_PreviewDialogBase
29 {
30 public:
31 QVBoxLayout *vboxLayout;
32 QHBoxLayout *hboxLayout;
33 QLabel *label;
34 QComboBox *paperSizeCombo;
35 QLabel *label_2;
36 QComboBox *paperOrientationCombo;
37 QSpacerItem *spacerItem;
38 QHBoxLayout *hboxLayout1;
39 QTreeWidget *pageList;
40 QScrollArea *previewArea;
41 QHBoxLayout *hboxLayout2;
42 QProgressBar *progressBar;
43 QDialogButtonBox *buttonBox;
44
45 void setupUi(QDialog *PreviewDialogBase)
46 {
47 if (PreviewDialogBase->objectName().isEmpty())
48 PreviewDialogBase->setObjectName(QString::fromUtf8("PreviewDialogBase"));
49 PreviewDialogBase->resize(733, 479);
50 vboxLayout = new QVBoxLayout(PreviewDialogBase);
51 #ifndef Q_OS_MAC
52 vboxLayout->setSpacing(6);
53 #endif
54 #ifndef Q_OS_MAC
55 vboxLayout->setContentsMargins(9, 9, 9, 9);
56 #endif
57 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
58 hboxLayout = new QHBoxLayout();
59 #ifndef Q_OS_MAC
60 hboxLayout->setSpacing(6);
61 #endif
62 #ifndef Q_OS_MAC
63 hboxLayout->setContentsMargins(0, 0, 0, 0);
64 #endif
65 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
66 label = new QLabel(PreviewDialogBase);
67 label->setObjectName(QString::fromUtf8("label"));
68
69 hboxLayout->addWidget(label);
70
71 paperSizeCombo = new QComboBox(PreviewDialogBase);
72 paperSizeCombo->setObjectName(QString::fromUtf8("paperSizeCombo"));
73 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
74 sizePolicy.setHorizontalStretch(0);
75 sizePolicy.setVerticalStretch(0);
76 sizePolicy.setHeightForWidth(paperSizeCombo->sizePolicy().hasHeightForWidth());
77 paperSizeCombo->setSizePolicy(sizePolicy);
78
79 hboxLayout->addWidget(paperSizeCombo);
80
81 label_2 = new QLabel(PreviewDialogBase);
82 label_2->setObjectName(QString::fromUtf8("label_2"));
83
84 hboxLayout->addWidget(label_2);
85
86 paperOrientationCombo = new QComboBox(PreviewDialogBase);
87 paperOrientationCombo->setObjectName(QString::fromUtf8("paperOrientationCombo"));
88 sizePolicy.setHeightForWidth(paperOrientationCombo->sizePolicy().hasHeightForWidth());
89 paperOrientationCombo->setSizePolicy(sizePolicy);
90
91 hboxLayout->addWidget(paperOrientationCombo);
92
93 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
94
95 hboxLayout->addItem(spacerItem);
96
97
98 vboxLayout->addLayout(hboxLayout);
99
100 hboxLayout1 = new QHBoxLayout();
101 #ifndef Q_OS_MAC
102 hboxLayout1->setSpacing(6);
103 #endif
104 hboxLayout1->setContentsMargins(0, 0, 0, 0);
105 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1"));
106 pageList = new QTreeWidget(PreviewDialogBase);
107 pageList->setObjectName(QString::fromUtf8("pageList"));
108 pageList->setIndentation(0);
109 pageList->setRootIsDecorated(false);
110 pageList->setUniformRowHeights(true);
111 pageList->setItemsExpandable(false);
112 pageList->setColumnCount(1);
113
114 hboxLayout1->addWidget(pageList);
115
116 previewArea = new QScrollArea(PreviewDialogBase);
117 previewArea->setObjectName(QString::fromUtf8("previewArea"));
118 QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Preferred);
119 sizePolicy1.setHorizontalStretch(1);
120 sizePolicy1.setVerticalStretch(0);
121 sizePolicy1.setHeightForWidth(previewArea->sizePolicy().hasHeightForWidth());
122 previewArea->setSizePolicy(sizePolicy1);
123
124 hboxLayout1->addWidget(previewArea);
125
126
127 vboxLayout->addLayout(hboxLayout1);
128
129 hboxLayout2 = new QHBoxLayout();
130 #ifndef Q_OS_MAC
131 hboxLayout2->setSpacing(6);
132 #endif
133 hboxLayout2->setContentsMargins(0, 0, 0, 0);
134 hboxLayout2->setObjectName(QString::fromUtf8("hboxLayout2"));
135 progressBar = new QProgressBar(PreviewDialogBase);
136 progressBar->setObjectName(QString::fromUtf8("progressBar"));
137 progressBar->setEnabled(false);
138 QSizePolicy sizePolicy2(QSizePolicy::Expanding, QSizePolicy::Fixed);
139 sizePolicy2.setHorizontalStretch(1);
140 sizePolicy2.setVerticalStretch(0);
141 sizePolicy2.setHeightForWidth(progressBar->sizePolicy().hasHeightForWidth());
142 progressBar->setSizePolicy(sizePolicy2);
143 progressBar->setValue(0);
144 progressBar->setTextVisible(false);
145 progressBar->setOrientation(Qt::Horizontal);
146
147 hboxLayout2->addWidget(progressBar);
148
149 buttonBox = new QDialogButtonBox(PreviewDialogBase);
150 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
151 buttonBox->setOrientation(Qt::Horizontal);
152 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
153
154 hboxLayout2->addWidget(buttonBox);
155
156
157 vboxLayout->addLayout(hboxLayout2);
158
159 #if QT_CONFIG(shortcut)
160 label->setBuddy(paperSizeCombo);
161 label_2->setBuddy(paperOrientationCombo);
162 #endif // QT_CONFIG(shortcut)
163
164 retranslateUi(PreviewDialogBase);
165 QObject::connect(buttonBox, SIGNAL(accepted()), PreviewDialogBase, SLOT(accept()));
166 QObject::connect(buttonBox, SIGNAL(rejected()), PreviewDialogBase, SLOT(reject()));
167
168 QMetaObject::connectSlotsByName(PreviewDialogBase);
169 } // setupUi
170
171 void retranslateUi(QDialog *PreviewDialogBase)
172 {
173 PreviewDialogBase->setWindowTitle(QCoreApplication::translate("PreviewDialogBase", "Print Preview", nullptr));
174 label->setText(QCoreApplication::translate("PreviewDialogBase", "&Paper Size:", nullptr));
175 label_2->setText(QCoreApplication::translate("PreviewDialogBase", "&Orientation:", nullptr));
176 QTreeWidgetItem *___qtreewidgetitem = pageList->headerItem();
177 ___qtreewidgetitem->setText(0, QCoreApplication::translate("PreviewDialogBase", "1", nullptr));
178 } // retranslateUi
179
180 };
181
182 namespace Ui {
183 class PreviewDialogBase: public Ui_PreviewDialogBase {};
184 } // namespace Ui
185
186 QT_END_NAMESPACE
187
188 #endif // PREVIEWDIALOGBASE_H