Debian Codegraph @

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

raw
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 autotests 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 'listwidgeteditor.ui'
33 **
34 ** Created by: Qt User Interface Compiler version 5.12.0
35 **
36 ** WARNING! All changes made in this file will be lost when recompiling UI file!
37 ********************************************************************************/
38
39 #ifndef LISTWIDGETEDITOR_H
40 #define LISTWIDGETEDITOR_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/QListWidget>
51 #include <QtWidgets/QSpacerItem>
52 #include <QtWidgets/QToolButton>
53 #include <QtWidgets/QVBoxLayout>
54 #include "iconselector_p.h"
55
56 QT_BEGIN_NAMESPACE
57
58 namespace qdesigner_internal {
59
60 class Ui_ListWidgetEditor
61 {
62 public:
63 QVBoxLayout *vboxLayout;
64 QGroupBox *groupBox;
65 QGridLayout *gridLayout;
66 QListWidget *listWidget;
67 QHBoxLayout *horizontalLayout_2;
68 QToolButton *newItemButton;
69 QToolButton *deleteItemButton;
70 QSpacerItem *spacerItem;
71 QToolButton *moveItemUpButton;
72 QToolButton *moveItemDownButton;
73 QHBoxLayout *horizontalLayout;
74 QLabel *label;
75 qdesigner_internal::IconSelector *itemIconSelector;
76 QSpacerItem *horizontalSpacer;
77 QDialogButtonBox *buttonBox;
78
79 void setupUi(QDialog *qdesigner_internal__ListWidgetEditor)
80 {
81 if (qdesigner_internal__ListWidgetEditor->objectName().isEmpty())
82 qdesigner_internal__ListWidgetEditor->setObjectName(QString::fromUtf8("qdesigner_internal__ListWidgetEditor"));
83 qdesigner_internal__ListWidgetEditor->resize(223, 245);
84 vboxLayout = new QVBoxLayout(qdesigner_internal__ListWidgetEditor);
85 #ifndef Q_OS_MAC
86 vboxLayout->setSpacing(6);
87 #endif
88 #ifndef Q_OS_MAC
89 vboxLayout->setContentsMargins(9, 9, 9, 9);
90 #endif
91 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
92 groupBox = new QGroupBox(qdesigner_internal__ListWidgetEditor);
93 groupBox->setObjectName(QString::fromUtf8("groupBox"));
94 gridLayout = new QGridLayout(groupBox);
95 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
96 listWidget = new QListWidget(groupBox);
97 listWidget->setObjectName(QString::fromUtf8("listWidget"));
98
99 gridLayout->addWidget(listWidget, 0, 0, 1, 1);
100
101 horizontalLayout_2 = new QHBoxLayout();
102 horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
103 newItemButton = new QToolButton(groupBox);
104 newItemButton->setObjectName(QString::fromUtf8("newItemButton"));
105
106 horizontalLayout_2->addWidget(newItemButton);
107
108 deleteItemButton = new QToolButton(groupBox);
109 deleteItemButton->setObjectName(QString::fromUtf8("deleteItemButton"));
110
111 horizontalLayout_2->addWidget(deleteItemButton);
112
113 spacerItem = new QSpacerItem(16, 10, QSizePolicy::Expanding, QSizePolicy::Minimum);
114
115 horizontalLayout_2->addItem(spacerItem);
116
117 moveItemUpButton = new QToolButton(groupBox);
118 moveItemUpButton->setObjectName(QString::fromUtf8("moveItemUpButton"));
119
120 horizontalLayout_2->addWidget(moveItemUpButton);
121
122 moveItemDownButton = new QToolButton(groupBox);
123 moveItemDownButton->setObjectName(QString::fromUtf8("moveItemDownButton"));
124
125 horizontalLayout_2->addWidget(moveItemDownButton);
126
127
128 gridLayout->addLayout(horizontalLayout_2, 1, 0, 1, 1);
129
130 horizontalLayout = new QHBoxLayout();
131 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
132 label = new QLabel(groupBox);
133 label->setObjectName(QString::fromUtf8("label"));
134
135 horizontalLayout->addWidget(label);
136
137 itemIconSelector = new qdesigner_internal::IconSelector(groupBox);
138 itemIconSelector->setObjectName(QString::fromUtf8("itemIconSelector"));
139
140 horizontalLayout->addWidget(itemIconSelector);
141
142 horizontalSpacer = new QSpacerItem(108, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
143
144 horizontalLayout->addItem(horizontalSpacer);
145
146
147 gridLayout->addLayout(horizontalLayout, 2, 0, 1, 1);
148
149
150 vboxLayout->addWidget(groupBox);
151
152 buttonBox = new QDialogButtonBox(qdesigner_internal__ListWidgetEditor);
153 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
154 buttonBox->setOrientation(Qt::Horizontal);
155 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
156
157 vboxLayout->addWidget(buttonBox);
158
159 buttonBox->raise();
160 groupBox->raise();
161 QWidget::setTabOrder(listWidget, newItemButton);
162 QWidget::setTabOrder(newItemButton, deleteItemButton);
163 QWidget::setTabOrder(deleteItemButton, moveItemUpButton);
164 QWidget::setTabOrder(moveItemUpButton, moveItemDownButton);
165
166 retranslateUi(qdesigner_internal__ListWidgetEditor);
167 QObject::connect(buttonBox, SIGNAL(accepted()), qdesigner_internal__ListWidgetEditor, SLOT(accept()));
168 QObject::connect(buttonBox, SIGNAL(rejected()), qdesigner_internal__ListWidgetEditor, SLOT(reject()));
169
170 QMetaObject::connectSlotsByName(qdesigner_internal__ListWidgetEditor);
171 } // setupUi
172
173 void retranslateUi(QDialog *qdesigner_internal__ListWidgetEditor)
174 {
175 qdesigner_internal__ListWidgetEditor->setWindowTitle(QCoreApplication::translate("qdesigner_internal::ListWidgetEditor", "Dialog", nullptr));
176 groupBox->setTitle(QCoreApplication::translate("qdesigner_internal::ListWidgetEditor", "Items List", nullptr));
177 #if QT_CONFIG(tooltip)
178 listWidget->setToolTip(QCoreApplication::translate("qdesigner_internal::ListWidgetEditor", "Items List", nullptr));
179 #endif // QT_CONFIG(tooltip)
180 #if QT_CONFIG(tooltip)
181 newItemButton->setToolTip(QCoreApplication::translate("qdesigner_internal::ListWidgetEditor", "New Item", nullptr));
182 #endif // QT_CONFIG(tooltip)
183 newItemButton->setText(QCoreApplication::translate("qdesigner_internal::ListWidgetEditor", "&New", nullptr));
184 #if QT_CONFIG(tooltip)
185 deleteItemButton->setToolTip(QCoreApplication::translate("qdesigner_internal::ListWidgetEditor", "Delete Item", nullptr));
186 #endif // QT_CONFIG(tooltip)
187 deleteItemButton->setText(QCoreApplication::translate("qdesigner_internal::ListWidgetEditor", "&Delete", nullptr));
188 #if QT_CONFIG(tooltip)
189 moveItemUpButton->setToolTip(QCoreApplication::translate("qdesigner_internal::ListWidgetEditor", "Move Item Up", nullptr));
190 #endif // QT_CONFIG(tooltip)
191 moveItemUpButton->setText(QCoreApplication::translate("qdesigner_internal::ListWidgetEditor", "U", nullptr));
192 #if QT_CONFIG(tooltip)
193 moveItemDownButton->setToolTip(QCoreApplication::translate("qdesigner_internal::ListWidgetEditor", "Move Item Down", nullptr));
194 #endif // QT_CONFIG(tooltip)
195 moveItemDownButton->setText(QCoreApplication::translate("qdesigner_internal::ListWidgetEditor", "D", nullptr));
196 label->setText(QCoreApplication::translate("qdesigner_internal::ListWidgetEditor", "Icon", nullptr));
197 } // retranslateUi
198
199 };
200
201 } // namespace qdesigner_internal
202
203 namespace qdesigner_internal {
204 namespace Ui {
205 class ListWidgetEditor: public Ui_ListWidgetEditor {};
206 } // namespace Ui
207 } // namespace qdesigner_internal
208
209 QT_END_NAMESPACE
210
211 #endif // LISTWIDGETEDITOR_H