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 'newformwidget.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_NEWFORMWIDGET_H |
40 | #define UI_NEWFORMWIDGET_H |
41 | |
42 | #include <QtCore/QVariant> |
43 | #include <QtWidgets/QApplication> |
44 | #include <QtWidgets/QComboBox> |
45 | #include <QtWidgets/QGridLayout> |
46 | #include <QtWidgets/QGroupBox> |
47 | #include <QtWidgets/QHBoxLayout> |
48 | #include <QtWidgets/QHeaderView> |
49 | #include <QtWidgets/QLabel> |
50 | #include <QtWidgets/QSpacerItem> |
51 | #include <QtWidgets/QTreeWidget> |
52 | #include <QtWidgets/QVBoxLayout> |
53 | #include <QtWidgets/QWidget> |
54 | |
55 | QT_BEGIN_NAMESPACE |
56 | |
57 | namespace qdesigner_internal { |
58 | |
59 | class Ui_NewFormWidget |
60 | { |
61 | public: |
62 | QHBoxLayout *hboxLayout; |
63 | QTreeWidget *treeWidget; |
64 | QVBoxLayout *verticalLayout; |
65 | QLabel *lblPreview; |
66 | QSpacerItem *verticalSpacer; |
67 | QHBoxLayout *horizontalLayout; |
68 | QSpacerItem *horizontalSpacer; |
69 | QGroupBox *embeddedGroup; |
70 | QGridLayout *gridLayout; |
71 | QComboBox *profileComboBox; |
72 | QComboBox *sizeComboBox; |
73 | QLabel *label; |
74 | QLabel *label_2; |
75 | QSpacerItem *horizontalSpacer_2; |
76 | |
77 | void setupUi(QWidget *qdesigner_internal__NewFormWidget) |
78 | { |
79 | if (qdesigner_internal__NewFormWidget->objectName().isEmpty()) |
80 | qdesigner_internal__NewFormWidget->setObjectName(QString::fromUtf8(str: "qdesigner_internal__NewFormWidget" )); |
81 | qdesigner_internal__NewFormWidget->resize(w: 480, h: 194); |
82 | hboxLayout = new QHBoxLayout(qdesigner_internal__NewFormWidget); |
83 | #ifndef Q_OS_MAC |
84 | hboxLayout->setSpacing(6); |
85 | #endif |
86 | hboxLayout->setContentsMargins(left: 1, top: 1, right: 1, bottom: 1); |
87 | hboxLayout->setObjectName(QString::fromUtf8(str: "hboxLayout" )); |
88 | treeWidget = new QTreeWidget(qdesigner_internal__NewFormWidget); |
89 | treeWidget->setObjectName(QString::fromUtf8(str: "treeWidget" )); |
90 | treeWidget->setMinimumSize(QSize(200, 0)); |
91 | treeWidget->setIconSize(QSize(128, 128)); |
92 | treeWidget->setRootIsDecorated(false); |
93 | treeWidget->setColumnCount(1); |
94 | |
95 | hboxLayout->addWidget(treeWidget); |
96 | |
97 | verticalLayout = new QVBoxLayout(); |
98 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
99 | lblPreview = new QLabel(qdesigner_internal__NewFormWidget); |
100 | lblPreview->setObjectName(QString::fromUtf8(str: "lblPreview" )); |
101 | QSizePolicy sizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); |
102 | sizePolicy.setHorizontalStretch(0); |
103 | sizePolicy.setVerticalStretch(0); |
104 | sizePolicy.setHeightForWidth(lblPreview->sizePolicy().hasHeightForWidth()); |
105 | lblPreview->setSizePolicy(sizePolicy); |
106 | lblPreview->setLineWidth(1); |
107 | lblPreview->setAlignment(Qt::AlignCenter); |
108 | lblPreview->setMargin(5); |
109 | |
110 | verticalLayout->addWidget(lblPreview); |
111 | |
112 | verticalSpacer = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
113 | |
114 | verticalLayout->addItem(verticalSpacer); |
115 | |
116 | horizontalLayout = new QHBoxLayout(); |
117 | horizontalLayout->setObjectName(QString::fromUtf8(str: "horizontalLayout" )); |
118 | horizontalSpacer = new QSpacerItem(7, 0, QSizePolicy::Fixed, QSizePolicy::Minimum); |
119 | |
120 | horizontalLayout->addItem(horizontalSpacer); |
121 | |
122 | embeddedGroup = new QGroupBox(qdesigner_internal__NewFormWidget); |
123 | embeddedGroup->setObjectName(QString::fromUtf8(str: "embeddedGroup" )); |
124 | gridLayout = new QGridLayout(embeddedGroup); |
125 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
126 | profileComboBox = new QComboBox(embeddedGroup); |
127 | profileComboBox->setObjectName(QString::fromUtf8(str: "profileComboBox" )); |
128 | |
129 | gridLayout->addWidget(profileComboBox, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
130 | |
131 | sizeComboBox = new QComboBox(embeddedGroup); |
132 | sizeComboBox->setObjectName(QString::fromUtf8(str: "sizeComboBox" )); |
133 | |
134 | gridLayout->addWidget(sizeComboBox, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
135 | |
136 | label = new QLabel(embeddedGroup); |
137 | label->setObjectName(QString::fromUtf8(str: "label" )); |
138 | |
139 | gridLayout->addWidget(label, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
140 | |
141 | label_2 = new QLabel(embeddedGroup); |
142 | label_2->setObjectName(QString::fromUtf8(str: "label_2" )); |
143 | |
144 | gridLayout->addWidget(label_2, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
145 | |
146 | |
147 | horizontalLayout->addWidget(embeddedGroup); |
148 | |
149 | horizontalSpacer_2 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
150 | |
151 | horizontalLayout->addItem(horizontalSpacer_2); |
152 | |
153 | |
154 | verticalLayout->addLayout(layout: horizontalLayout); |
155 | |
156 | |
157 | hboxLayout->addLayout(layout: verticalLayout); |
158 | |
159 | |
160 | retranslateUi(qdesigner_internal__NewFormWidget); |
161 | |
162 | QMetaObject::connectSlotsByName(o: qdesigner_internal__NewFormWidget); |
163 | } // setupUi |
164 | |
165 | void retranslateUi(QWidget *qdesigner_internal__NewFormWidget) |
166 | { |
167 | QTreeWidgetItem *___qtreewidgetitem = treeWidget->headerItem(); |
168 | ___qtreewidgetitem->setText(column: 0, atext: QCoreApplication::translate(context: "qdesigner_internal::NewFormWidget" , key: "0" , disambiguation: nullptr)); |
169 | lblPreview->setText(QCoreApplication::translate(context: "qdesigner_internal::NewFormWidget" , key: "Choose a template for a preview" , disambiguation: nullptr)); |
170 | embeddedGroup->setTitle(QCoreApplication::translate(context: "qdesigner_internal::NewFormWidget" , key: "Embedded Design" , disambiguation: nullptr)); |
171 | label->setText(QCoreApplication::translate(context: "qdesigner_internal::NewFormWidget" , key: "Device:" , disambiguation: nullptr)); |
172 | label_2->setText(QCoreApplication::translate(context: "qdesigner_internal::NewFormWidget" , key: "Screen Size:" , disambiguation: nullptr)); |
173 | (void)qdesigner_internal__NewFormWidget; |
174 | } // retranslateUi |
175 | |
176 | }; |
177 | |
178 | } // namespace qdesigner_internal |
179 | |
180 | namespace qdesigner_internal { |
181 | namespace Ui { |
182 | class NewFormWidget: public Ui_NewFormWidget {}; |
183 | } // namespace Ui |
184 | } // namespace qdesigner_internal |
185 | |
186 | QT_END_NAMESPACE |
187 | |
188 | #endif // UI_NEWFORMWIDGET_H |
189 | |