1/*
2*********************************************************************
3**
4** Copyright (C) 2016 The Qt Company Ltd.
5** Contact: https://www.qt.io/licensing/
6**
7** This file is part of the Qt Designer of the Qt Toolkit.
8**
9** $QT_BEGIN_LICENSE:GPL-EXCEPT$
10** Commercial License Usage
11** Licensees holding valid commercial Qt licenses may use this file in
12** accordance with the commercial license agreement provided with the
13** Software or, alternatively, in accordance with the terms contained in
14** a written agreement between you and The Qt Company. For licensing terms
15** and conditions see https://www.qt.io/terms-conditions. For further
16** information use the contact form at https://www.qt.io/contact-us.
17**
18** GNU General Public License Usage
19** Alternatively, this file may be used under the terms of the GNU
20** General Public License version 3 as published by the Free Software
21** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT
22** included in the packaging of this file. Please review the following
23** information to ensure the GNU General Public License requirements will
24** be met: https://www.gnu.org/licenses/gpl-3.0.html.
25**
26** $QT_END_LICENSE$
27**
28*********************************************************************
29*/
30
31/********************************************************************************
32** Form generated from reading UI file 'previewwidget.ui'
33**
34** Created by: Qt User Interface Compiler version 5.15.9
35**
36** WARNING! All changes made in this file will be lost when recompiling UI file!
37********************************************************************************/
38
39#ifndef UI_PREVIEWWIDGET_H
40#define UI_PREVIEWWIDGET_H
41
42#include <QtCore/QVariant>
43#include <QtWidgets/QApplication>
44#include <QtWidgets/QCheckBox>
45#include <QtWidgets/QComboBox>
46#include <QtWidgets/QGridLayout>
47#include <QtWidgets/QGroupBox>
48#include <QtWidgets/QHBoxLayout>
49#include <QtWidgets/QHeaderView>
50#include <QtWidgets/QLabel>
51#include <QtWidgets/QLineEdit>
52#include <QtWidgets/QProgressBar>
53#include <QtWidgets/QPushButton>
54#include <QtWidgets/QRadioButton>
55#include <QtWidgets/QScrollBar>
56#include <QtWidgets/QSlider>
57#include <QtWidgets/QSpacerItem>
58#include <QtWidgets/QSpinBox>
59#include <QtWidgets/QToolButton>
60#include <QtWidgets/QTreeWidget>
61#include <QtWidgets/QVBoxLayout>
62#include <QtWidgets/QWidget>
63
64QT_BEGIN_NAMESPACE
65
66namespace qdesigner_internal {
67
68class Ui_PreviewWidget
69{
70public:
71 QGridLayout *gridLayout;
72 QGroupBox *buttonGroup;
73 QHBoxLayout *horizontalLayout_2;
74 QVBoxLayout *verticalLayout_2;
75 QRadioButton *RadioButton1;
76 QRadioButton *RadioButton2;
77 QRadioButton *RadioButton3;
78 QCheckBox *CheckBox1;
79 QCheckBox *CheckBox2;
80 QSpacerItem *verticalSpacer;
81 QVBoxLayout *verticalLayout;
82 QPushButton *PushButton1;
83 QPushButton *toggleButton;
84 QHBoxLayout *horizontalLayout;
85 QToolButton *toolButton;
86 QToolButton *menuToolButton;
87 QSpacerItem *verticalSpacer_2;
88 QGroupBox *itemGroupBox;
89 QVBoxLayout *verticalLayout_5;
90 QTreeWidget *treeWidget;
91 QGroupBox *simpleGroupBox;
92 QVBoxLayout *verticalLayout_3;
93 QHBoxLayout *horizontalLayout_3;
94 QLineEdit *LineEdit1;
95 QComboBox *ComboBox1;
96 QHBoxLayout *horizontalLayout_4;
97 QSpinBox *SpinBox1;
98 QScrollBar *ScrollBar1;
99 QSlider *Slider1;
100 QGroupBox *displayGroupBox;
101 QVBoxLayout *verticalLayout_4;
102 QProgressBar *ProgressBar1;
103 QLabel *label;
104 QLabel *label_2;
105
106 void setupUi(QWidget *qdesigner_internal__PreviewWidget)
107 {
108 if (qdesigner_internal__PreviewWidget->objectName().isEmpty())
109 qdesigner_internal__PreviewWidget->setObjectName(QString::fromUtf8(str: "qdesigner_internal__PreviewWidget"));
110 qdesigner_internal__PreviewWidget->resize(w: 608, h: 367);
111 QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum);
112 sizePolicy.setHorizontalStretch(0);
113 sizePolicy.setVerticalStretch(0);
114 sizePolicy.setHeightForWidth(qdesigner_internal__PreviewWidget->sizePolicy().hasHeightForWidth());
115 qdesigner_internal__PreviewWidget->setSizePolicy(sizePolicy);
116 gridLayout = new QGridLayout(qdesigner_internal__PreviewWidget);
117 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
118 buttonGroup = new QGroupBox(qdesigner_internal__PreviewWidget);
119 buttonGroup->setObjectName(QString::fromUtf8(str: "buttonGroup"));
120 buttonGroup->setCheckable(true);
121 horizontalLayout_2 = new QHBoxLayout(buttonGroup);
122 horizontalLayout_2->setObjectName(QString::fromUtf8(str: "horizontalLayout_2"));
123 verticalLayout_2 = new QVBoxLayout();
124 verticalLayout_2->setObjectName(QString::fromUtf8(str: "verticalLayout_2"));
125 RadioButton1 = new QRadioButton(buttonGroup);
126 RadioButton1->setObjectName(QString::fromUtf8(str: "RadioButton1"));
127 RadioButton1->setChecked(true);
128
129 verticalLayout_2->addWidget(RadioButton1);
130
131 RadioButton2 = new QRadioButton(buttonGroup);
132 RadioButton2->setObjectName(QString::fromUtf8(str: "RadioButton2"));
133
134 verticalLayout_2->addWidget(RadioButton2);
135
136 RadioButton3 = new QRadioButton(buttonGroup);
137 RadioButton3->setObjectName(QString::fromUtf8(str: "RadioButton3"));
138
139 verticalLayout_2->addWidget(RadioButton3);
140
141 CheckBox1 = new QCheckBox(buttonGroup);
142 CheckBox1->setObjectName(QString::fromUtf8(str: "CheckBox1"));
143 CheckBox1->setChecked(true);
144
145 verticalLayout_2->addWidget(CheckBox1);
146
147 CheckBox2 = new QCheckBox(buttonGroup);
148 CheckBox2->setObjectName(QString::fromUtf8(str: "CheckBox2"));
149 CheckBox2->setTristate(true);
150
151 verticalLayout_2->addWidget(CheckBox2);
152
153 verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
154
155 verticalLayout_2->addItem(verticalSpacer);
156
157
158 horizontalLayout_2->addLayout(layout: verticalLayout_2);
159
160 verticalLayout = new QVBoxLayout();
161 verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout"));
162 PushButton1 = new QPushButton(buttonGroup);
163 PushButton1->setObjectName(QString::fromUtf8(str: "PushButton1"));
164
165 verticalLayout->addWidget(PushButton1);
166
167 toggleButton = new QPushButton(buttonGroup);
168 toggleButton->setObjectName(QString::fromUtf8(str: "toggleButton"));
169 toggleButton->setCheckable(true);
170 toggleButton->setChecked(true);
171 toggleButton->setFlat(false);
172
173 verticalLayout->addWidget(toggleButton);
174
175 horizontalLayout = new QHBoxLayout();
176 horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout"));
177 toolButton = new QToolButton(buttonGroup);
178 toolButton->setObjectName(QString::fromUtf8(str: "toolButton"));
179
180 horizontalLayout->addWidget(toolButton);
181
182 menuToolButton = new QToolButton(buttonGroup);
183 menuToolButton->setObjectName(QString::fromUtf8(str: "menuToolButton"));
184
185 horizontalLayout->addWidget(menuToolButton);
186
187
188 verticalLayout->addLayout(layout: horizontalLayout);
189
190 verticalSpacer_2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
191
192 verticalLayout->addItem(verticalSpacer_2);
193
194
195 horizontalLayout_2->addLayout(layout: verticalLayout);
196
197
198 gridLayout->addWidget(buttonGroup, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
199
200 itemGroupBox = new QGroupBox(qdesigner_internal__PreviewWidget);
201 itemGroupBox->setObjectName(QString::fromUtf8(str: "itemGroupBox"));
202 itemGroupBox->setCheckable(true);
203 verticalLayout_5 = new QVBoxLayout(itemGroupBox);
204 verticalLayout_5->setObjectName(QString::fromUtf8(str: "verticalLayout_5"));
205 treeWidget = new QTreeWidget(itemGroupBox);
206 QTreeWidgetItem *__qtreewidgetitem = new QTreeWidgetItem(treeWidget);
207 new QTreeWidgetItem(__qtreewidgetitem);
208 new QTreeWidgetItem(__qtreewidgetitem);
209 new QTreeWidgetItem(__qtreewidgetitem);
210 treeWidget->setObjectName(QString::fromUtf8(str: "treeWidget"));
211 treeWidget->setAlternatingRowColors(true);
212
213 verticalLayout_5->addWidget(treeWidget);
214
215
216 gridLayout->addWidget(itemGroupBox, row: 0, column: 1, rowSpan: 1, columnSpan: 1);
217
218 simpleGroupBox = new QGroupBox(qdesigner_internal__PreviewWidget);
219 simpleGroupBox->setObjectName(QString::fromUtf8(str: "simpleGroupBox"));
220 simpleGroupBox->setCheckable(true);
221 verticalLayout_3 = new QVBoxLayout(simpleGroupBox);
222 verticalLayout_3->setObjectName(QString::fromUtf8(str: "verticalLayout_3"));
223 horizontalLayout_3 = new QHBoxLayout();
224 horizontalLayout_3->setObjectName(QString::fromUtf8(str: "horizontalLayout_3"));
225 LineEdit1 = new QLineEdit(simpleGroupBox);
226 LineEdit1->setObjectName(QString::fromUtf8(str: "LineEdit1"));
227 LineEdit1->setClearButtonEnabled(true);
228
229 horizontalLayout_3->addWidget(LineEdit1);
230
231 ComboBox1 = new QComboBox(simpleGroupBox);
232 ComboBox1->addItem(atext: QString());
233 ComboBox1->addItem(atext: QString());
234 ComboBox1->addItem(atext: QString());
235 ComboBox1->setObjectName(QString::fromUtf8(str: "ComboBox1"));
236
237 horizontalLayout_3->addWidget(ComboBox1);
238
239
240 verticalLayout_3->addLayout(layout: horizontalLayout_3);
241
242 horizontalLayout_4 = new QHBoxLayout();
243 horizontalLayout_4->setObjectName(QString::fromUtf8(str: "horizontalLayout_4"));
244 SpinBox1 = new QSpinBox(simpleGroupBox);
245 SpinBox1->setObjectName(QString::fromUtf8(str: "SpinBox1"));
246
247 horizontalLayout_4->addWidget(SpinBox1);
248
249 ScrollBar1 = new QScrollBar(simpleGroupBox);
250 ScrollBar1->setObjectName(QString::fromUtf8(str: "ScrollBar1"));
251 ScrollBar1->setOrientation(Qt::Horizontal);
252
253 horizontalLayout_4->addWidget(ScrollBar1);
254
255 Slider1 = new QSlider(simpleGroupBox);
256 Slider1->setObjectName(QString::fromUtf8(str: "Slider1"));
257 Slider1->setOrientation(Qt::Horizontal);
258
259 horizontalLayout_4->addWidget(Slider1);
260
261
262 verticalLayout_3->addLayout(layout: horizontalLayout_4);
263
264
265 gridLayout->addWidget(simpleGroupBox, row: 1, column: 0, rowSpan: 1, columnSpan: 1);
266
267 displayGroupBox = new QGroupBox(qdesigner_internal__PreviewWidget);
268 displayGroupBox->setObjectName(QString::fromUtf8(str: "displayGroupBox"));
269 verticalLayout_4 = new QVBoxLayout(displayGroupBox);
270 verticalLayout_4->setObjectName(QString::fromUtf8(str: "verticalLayout_4"));
271 ProgressBar1 = new QProgressBar(displayGroupBox);
272 ProgressBar1->setObjectName(QString::fromUtf8(str: "ProgressBar1"));
273 ProgressBar1->setValue(50);
274 ProgressBar1->setOrientation(Qt::Horizontal);
275
276 verticalLayout_4->addWidget(ProgressBar1);
277
278 label = new QLabel(displayGroupBox);
279 label->setObjectName(QString::fromUtf8(str: "label"));
280
281 verticalLayout_4->addWidget(label);
282
283 label_2 = new QLabel(displayGroupBox);
284 label_2->setObjectName(QString::fromUtf8(str: "label_2"));
285 label_2->setFrameShape(QFrame::StyledPanel);
286
287 verticalLayout_4->addWidget(label_2);
288
289
290 gridLayout->addWidget(displayGroupBox, row: 1, column: 1, rowSpan: 1, columnSpan: 1);
291
292
293 retranslateUi(qdesigner_internal__PreviewWidget);
294
295 QMetaObject::connectSlotsByName(o: qdesigner_internal__PreviewWidget);
296 } // setupUi
297
298 void retranslateUi(QWidget *qdesigner_internal__PreviewWidget)
299 {
300 qdesigner_internal__PreviewWidget->setWindowTitle(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Preview Window", disambiguation: nullptr));
301 buttonGroup->setTitle(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Buttons", disambiguation: nullptr));
302 RadioButton1->setText(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "RadioButton1", disambiguation: nullptr));
303 RadioButton2->setText(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "RadioButton2", disambiguation: nullptr));
304 RadioButton3->setText(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "RadioButton3", disambiguation: nullptr));
305 CheckBox1->setText(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "CheckBox1", disambiguation: nullptr));
306 CheckBox2->setText(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Tristate CheckBox", disambiguation: nullptr));
307 PushButton1->setText(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "PushButton", disambiguation: nullptr));
308 toggleButton->setText(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "ToggleButton", disambiguation: nullptr));
309 toolButton->setText(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "ToolButton", disambiguation: nullptr));
310 menuToolButton->setText(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Menu", disambiguation: nullptr));
311 itemGroupBox->setTitle(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Item Views", disambiguation: nullptr));
312 QTreeWidgetItem *___qtreewidgetitem = treeWidget->headerItem();
313 ___qtreewidgetitem->setText(column: 0, atext: QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Column 1", disambiguation: nullptr));
314
315 const bool __sortingEnabled = treeWidget->isSortingEnabled();
316 treeWidget->setSortingEnabled(false);
317 QTreeWidgetItem *___qtreewidgetitem1 = treeWidget->topLevelItem(index: 0);
318 ___qtreewidgetitem1->setText(column: 0, atext: QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Top Level 1", disambiguation: nullptr));
319 QTreeWidgetItem *___qtreewidgetitem2 = ___qtreewidgetitem1->child(index: 0);
320 ___qtreewidgetitem2->setText(column: 0, atext: QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Nested Item 1", disambiguation: nullptr));
321 QTreeWidgetItem *___qtreewidgetitem3 = ___qtreewidgetitem1->child(index: 1);
322 ___qtreewidgetitem3->setText(column: 0, atext: QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Nested Item 2", disambiguation: nullptr));
323 QTreeWidgetItem *___qtreewidgetitem4 = ___qtreewidgetitem1->child(index: 2);
324 ___qtreewidgetitem4->setText(column: 0, atext: QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Nested Item 3", disambiguation: nullptr));
325 treeWidget->setSortingEnabled(__sortingEnabled);
326
327 simpleGroupBox->setTitle(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Simple Input Widgets", disambiguation: nullptr));
328 LineEdit1->setText(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "LineEdit", disambiguation: nullptr));
329 ComboBox1->setItemText(index: 0, text: QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "ComboBox", disambiguation: nullptr));
330 ComboBox1->setItemText(index: 1, text: QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Item1", disambiguation: nullptr));
331 ComboBox1->setItemText(index: 2, text: QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Item2", disambiguation: nullptr));
332
333 displayGroupBox->setTitle(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "Display Widgets", disambiguation: nullptr));
334 label->setText(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "QLabel", disambiguation: nullptr));
335 label_2->setText(QCoreApplication::translate(context: "qdesigner_internal::PreviewWidget", key: "QLabel with frame", disambiguation: nullptr));
336 } // retranslateUi
337
338};
339
340} // namespace qdesigner_internal
341
342namespace qdesigner_internal {
343namespace Ui {
344 class PreviewWidget: public Ui_PreviewWidget {};
345} // namespace Ui
346} // namespace qdesigner_internal
347
348QT_END_NAMESPACE
349
350#endif // UI_PREVIEWWIDGET_H
351

source code of qttools/src/designer/src/components/lib/.uic/ui_previewwidget.h