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 'stringlisteditor.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_STRINGLISTEDITOR_H
40#define UI_STRINGLISTEDITOR_H
41
42#include <QtCore/QVariant>
43#include <QtWidgets/QApplication>
44#include <QtWidgets/QDialog>
45#include <QtWidgets/QDialogButtonBox>
46#include <QtWidgets/QGridLayout>
47#include <QtWidgets/QGroupBox>
48#include <QtWidgets/QHBoxLayout>
49#include <QtWidgets/QLabel>
50#include <QtWidgets/QLineEdit>
51#include <QtWidgets/QListView>
52#include <QtWidgets/QSpacerItem>
53#include <QtWidgets/QToolButton>
54#include <QtWidgets/QVBoxLayout>
55
56QT_BEGIN_NAMESPACE
57
58namespace qdesigner_internal {
59
60class Ui_Dialog
61{
62public:
63 QVBoxLayout *vboxLayout;
64 QGroupBox *groupBox;
65 QGridLayout *gridLayout;
66 QVBoxLayout *vboxLayout1;
67 QHBoxLayout *hboxLayout;
68 QToolButton *newButton;
69 QToolButton *deleteButton;
70 QSpacerItem *spacerItem;
71 QHBoxLayout *hboxLayout1;
72 QLabel *label;
73 QLineEdit *valueEdit;
74 QVBoxLayout *vboxLayout2;
75 QSpacerItem *spacerItem1;
76 QToolButton *upButton;
77 QToolButton *downButton;
78 QSpacerItem *spacerItem2;
79 QListView *listView;
80 QDialogButtonBox *buttonBox;
81
82 void setupUi(QDialog *qdesigner_internal__Dialog)
83 {
84 if (qdesigner_internal__Dialog->objectName().isEmpty())
85 qdesigner_internal__Dialog->setObjectName(QString::fromUtf8(str: "qdesigner_internal__Dialog"));
86 qdesigner_internal__Dialog->resize(w: 400, h: 300);
87 vboxLayout = new QVBoxLayout(qdesigner_internal__Dialog);
88#ifndef Q_OS_MAC
89 vboxLayout->setSpacing(6);
90#endif
91#ifndef Q_OS_MAC
92 vboxLayout->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9);
93#endif
94 vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout"));
95 groupBox = new QGroupBox(qdesigner_internal__Dialog);
96 groupBox->setObjectName(QString::fromUtf8(str: "groupBox"));
97 gridLayout = new QGridLayout(groupBox);
98#ifndef Q_OS_MAC
99 gridLayout->setSpacing(6);
100#endif
101#ifndef Q_OS_MAC
102 gridLayout->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9);
103#endif
104 gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout"));
105 vboxLayout1 = new QVBoxLayout();
106#ifndef Q_OS_MAC
107 vboxLayout1->setSpacing(6);
108#endif
109#ifndef Q_OS_MAC
110 vboxLayout1->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
111#endif
112 vboxLayout1->setObjectName(QString::fromUtf8(str: "vboxLayout1"));
113 hboxLayout = new QHBoxLayout();
114#ifndef Q_OS_MAC
115 hboxLayout->setSpacing(6);
116#endif
117#ifndef Q_OS_MAC
118 hboxLayout->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
119#endif
120 hboxLayout->setObjectName(QString::fromUtf8(str: "hboxLayout"));
121 newButton = new QToolButton(groupBox);
122 newButton->setObjectName(QString::fromUtf8(str: "newButton"));
123 newButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
124
125 hboxLayout->addWidget(newButton);
126
127 deleteButton = new QToolButton(groupBox);
128 deleteButton->setObjectName(QString::fromUtf8(str: "deleteButton"));
129 deleteButton->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
130
131 hboxLayout->addWidget(deleteButton);
132
133 spacerItem = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
134
135 hboxLayout->addItem(spacerItem);
136
137
138 vboxLayout1->addLayout(layout: hboxLayout);
139
140 hboxLayout1 = new QHBoxLayout();
141#ifndef Q_OS_MAC
142 hboxLayout1->setSpacing(6);
143#endif
144 hboxLayout1->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
145 hboxLayout1->setObjectName(QString::fromUtf8(str: "hboxLayout1"));
146 label = new QLabel(groupBox);
147 label->setObjectName(QString::fromUtf8(str: "label"));
148
149 hboxLayout1->addWidget(label);
150
151 valueEdit = new QLineEdit(groupBox);
152 valueEdit->setObjectName(QString::fromUtf8(str: "valueEdit"));
153
154 hboxLayout1->addWidget(valueEdit);
155
156
157 vboxLayout1->addLayout(layout: hboxLayout1);
158
159
160 gridLayout->addLayout(vboxLayout1, row: 1, column: 0, rowSpan: 1, columnSpan: 2);
161
162 vboxLayout2 = new QVBoxLayout();
163#ifndef Q_OS_MAC
164 vboxLayout2->setSpacing(6);
165#endif
166 vboxLayout2->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0);
167 vboxLayout2->setObjectName(QString::fromUtf8(str: "vboxLayout2"));
168 spacerItem1 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
169
170 vboxLayout2->addItem(spacerItem1);
171
172 upButton = new QToolButton(groupBox);
173 upButton->setObjectName(QString::fromUtf8(str: "upButton"));
174
175 vboxLayout2->addWidget(upButton);
176
177 downButton = new QToolButton(groupBox);
178 downButton->setObjectName(QString::fromUtf8(str: "downButton"));
179
180 vboxLayout2->addWidget(downButton);
181
182 spacerItem2 = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
183
184 vboxLayout2->addItem(spacerItem2);
185
186
187 gridLayout->addLayout(vboxLayout2, row: 0, column: 1, rowSpan: 1, columnSpan: 1);
188
189 listView = new QListView(groupBox);
190 listView->setObjectName(QString::fromUtf8(str: "listView"));
191
192 gridLayout->addWidget(listView, row: 0, column: 0, rowSpan: 1, columnSpan: 1);
193
194
195 vboxLayout->addWidget(groupBox);
196
197 buttonBox = new QDialogButtonBox(qdesigner_internal__Dialog);
198 buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox"));
199 buttonBox->setOrientation(Qt::Horizontal);
200 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok);
201
202 vboxLayout->addWidget(buttonBox);
203
204#if QT_CONFIG(shortcut)
205 label->setBuddy(valueEdit);
206#endif // QT_CONFIG(shortcut)
207
208 retranslateUi(qdesigner_internal__Dialog);
209 QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: qdesigner_internal__Dialog, SLOT(accept()));
210 QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: qdesigner_internal__Dialog, SLOT(reject()));
211
212 QMetaObject::connectSlotsByName(o: qdesigner_internal__Dialog);
213 } // setupUi
214
215 void retranslateUi(QDialog *qdesigner_internal__Dialog)
216 {
217 qdesigner_internal__Dialog->setWindowTitle(QCoreApplication::translate(context: "qdesigner_internal::Dialog", key: "Dialog", disambiguation: nullptr));
218 groupBox->setTitle(QCoreApplication::translate(context: "qdesigner_internal::Dialog", key: "StringList", disambiguation: nullptr));
219#if QT_CONFIG(tooltip)
220 newButton->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::Dialog", key: "New String", disambiguation: nullptr));
221#endif // QT_CONFIG(tooltip)
222 newButton->setText(QCoreApplication::translate(context: "qdesigner_internal::Dialog", key: "&New", disambiguation: nullptr));
223#if QT_CONFIG(tooltip)
224 deleteButton->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::Dialog", key: "Delete String", disambiguation: nullptr));
225#endif // QT_CONFIG(tooltip)
226 deleteButton->setText(QCoreApplication::translate(context: "qdesigner_internal::Dialog", key: "&Delete", disambiguation: nullptr));
227 label->setText(QCoreApplication::translate(context: "qdesigner_internal::Dialog", key: "&Value:", disambiguation: nullptr));
228#if QT_CONFIG(tooltip)
229 upButton->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::Dialog", key: "Move String Up", disambiguation: nullptr));
230#endif // QT_CONFIG(tooltip)
231 upButton->setText(QCoreApplication::translate(context: "qdesigner_internal::Dialog", key: "Up", disambiguation: nullptr));
232#if QT_CONFIG(tooltip)
233 downButton->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::Dialog", key: "Move String Down", disambiguation: nullptr));
234#endif // QT_CONFIG(tooltip)
235 downButton->setText(QCoreApplication::translate(context: "qdesigner_internal::Dialog", key: "Down", disambiguation: nullptr));
236 } // retranslateUi
237
238};
239
240} // namespace qdesigner_internal
241
242namespace qdesigner_internal {
243namespace Ui {
244 class Dialog: public Ui_Dialog {};
245} // namespace Ui
246} // namespace qdesigner_internal
247
248QT_END_NAMESPACE
249
250#endif // UI_STRINGLISTEDITOR_H
251

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