Debian Codegraph @

tests/auto/tools/uic/baseline/tablewidgeteditor.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 'tablewidgeteditor.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 TABLEWIDGETEDITOR_H
40 #define TABLEWIDGETEDITOR_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/QHeaderView>
50 #include <QtWidgets/QLabel>
51 #include <QtWidgets/QListWidget>
52 #include <QtWidgets/QSpacerItem>
53 #include <QtWidgets/QTableWidget>
54 #include <QtWidgets/QToolButton>
55 #include <QtWidgets/QVBoxLayout>
56 #include <QtWidgets/QWidget>
57 #include "iconselector_p.h"
58
59 QT_BEGIN_NAMESPACE
60
61 namespace qdesigner_internal {
62
63 class Ui_TableWidgetEditor
64 {
65 public:
66 QGridLayout *gridLayout_4;
67 QGroupBox *itemsBox;
68 QGridLayout *gridLayout;
69 QTableWidget *tableWidget;
70 QHBoxLayout *horizontalLayout_5;
71 QLabel *label_3;
72 qdesigner_internal::IconSelector *itemIconSelector;
73 QSpacerItem *horizontalSpacer;
74 QDialogButtonBox *buttonBox;
75 QWidget *widget;
76 QVBoxLayout *verticalLayout;
77 QGroupBox *columnsBox;
78 QGridLayout *gridLayout_2;
79 QListWidget *columnsListWidget;
80 QHBoxLayout *horizontalLayout_3;
81 QToolButton *newColumnButton;
82 QToolButton *deleteColumnButton;
83 QSpacerItem *spacerItem;
84 QToolButton *moveColumnUpButton;
85 QToolButton *moveColumnDownButton;
86 QHBoxLayout *horizontalLayout_2;
87 QLabel *label;
88 qdesigner_internal::IconSelector *columnIconSelector;
89 QSpacerItem *spacerItem1;
90 QGroupBox *rowsBox;
91 QGridLayout *gridLayout_3;
92 QListWidget *rowsListWidget;
93 QHBoxLayout *horizontalLayout_4;
94 QToolButton *newRowButton;
95 QToolButton *deleteRowButton;
96 QSpacerItem *spacerItem2;
97 QToolButton *moveRowUpButton;
98 QToolButton *moveRowDownButton;
99 QHBoxLayout *horizontalLayout;
100 QLabel *label_2;
101 qdesigner_internal::IconSelector *rowIconSelector;
102 QSpacerItem *spacerItem3;
103
104 void setupUi(QDialog *qdesigner_internal__TableWidgetEditor)
105 {
106 if (qdesigner_internal__TableWidgetEditor->objectName().isEmpty())
107 qdesigner_internal__TableWidgetEditor->setObjectName(QString::fromUtf8("qdesigner_internal__TableWidgetEditor"));
108 qdesigner_internal__TableWidgetEditor->resize(591, 455);
109 gridLayout_4 = new QGridLayout(qdesigner_internal__TableWidgetEditor);
110 gridLayout_4->setObjectName(QString::fromUtf8("gridLayout_4"));
111 itemsBox = new QGroupBox(qdesigner_internal__TableWidgetEditor);
112 itemsBox->setObjectName(QString::fromUtf8("itemsBox"));
113 gridLayout = new QGridLayout(itemsBox);
114 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
115 tableWidget = new QTableWidget(itemsBox);
116 tableWidget->setObjectName(QString::fromUtf8("tableWidget"));
117
118 gridLayout->addWidget(tableWidget, 0, 0, 1, 1);
119
120 horizontalLayout_5 = new QHBoxLayout();
121 horizontalLayout_5->setObjectName(QString::fromUtf8("horizontalLayout_5"));
122 label_3 = new QLabel(itemsBox);
123 label_3->setObjectName(QString::fromUtf8("label_3"));
124
125 horizontalLayout_5->addWidget(label_3);
126
127 itemIconSelector = new qdesigner_internal::IconSelector(itemsBox);
128 itemIconSelector->setObjectName(QString::fromUtf8("itemIconSelector"));
129
130 horizontalLayout_5->addWidget(itemIconSelector);
131
132 horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum);
133
134 horizontalLayout_5->addItem(horizontalSpacer);
135
136
137 gridLayout->addLayout(horizontalLayout_5, 1, 0, 1, 1);
138
139
140 gridLayout_4->addWidget(itemsBox, 0, 0, 1, 1);
141
142 buttonBox = new QDialogButtonBox(qdesigner_internal__TableWidgetEditor);
143 buttonBox->setObjectName(QString::fromUtf8("buttonBox"));
144 buttonBox->setOrientation(Qt::Horizontal);
145 buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok);
146
147 gridLayout_4->addWidget(buttonBox, 1, 0, 1, 2);
148
149 widget = new QWidget(qdesigner_internal__TableWidgetEditor);
150 widget->setObjectName(QString::fromUtf8("widget"));
151 QSizePolicy sizePolicy(QSizePolicy::Fixed, QSizePolicy::Preferred);
152 sizePolicy.setHorizontalStretch(0);
153 sizePolicy.setVerticalStretch(0);
154 sizePolicy.setHeightForWidth(widget->sizePolicy().hasHeightForWidth());
155 widget->setSizePolicy(sizePolicy);
156 verticalLayout = new QVBoxLayout(widget);
157 verticalLayout->setContentsMargins(0, 0, 0, 0);
158 verticalLayout->setObjectName(QString::fromUtf8("verticalLayout"));
159 columnsBox = new QGroupBox(widget);
160 columnsBox->setObjectName(QString::fromUtf8("columnsBox"));
161 gridLayout_2 = new QGridLayout(columnsBox);
162 gridLayout_2->setObjectName(QString::fromUtf8("gridLayout_2"));
163 columnsListWidget = new QListWidget(columnsBox);
164 columnsListWidget->setObjectName(QString::fromUtf8("columnsListWidget"));
165 QSizePolicy sizePolicy1(QSizePolicy::Ignored, QSizePolicy::Expanding);
166 sizePolicy1.setHorizontalStretch(0);
167 sizePolicy1.setVerticalStretch(0);
168 sizePolicy1.setHeightForWidth(columnsListWidget->sizePolicy().hasHeightForWidth());
169 columnsListWidget->setSizePolicy(sizePolicy1);
170 columnsListWidget->setFocusPolicy(Qt::TabFocus);
171
172 gridLayout_2->addWidget(columnsListWidget, 0, 0, 1, 1);
173
174 horizontalLayout_3 = new QHBoxLayout();
175 horizontalLayout_3->setObjectName(QString::fromUtf8("horizontalLayout_3"));
176 newColumnButton = new QToolButton(columnsBox);
177 newColumnButton->setObjectName(QString::fromUtf8("newColumnButton"));
178
179 horizontalLayout_3->addWidget(newColumnButton);
180
181 deleteColumnButton = new QToolButton(columnsBox);
182 deleteColumnButton->setObjectName(QString::fromUtf8("deleteColumnButton"));
183
184 horizontalLayout_3->addWidget(deleteColumnButton);
185
186 spacerItem = new QSpacerItem(0, 23, QSizePolicy::Expanding, QSizePolicy::Minimum);
187
188 horizontalLayout_3->addItem(spacerItem);
189
190 moveColumnUpButton = new QToolButton(columnsBox);
191 moveColumnUpButton->setObjectName(QString::fromUtf8("moveColumnUpButton"));
192
193 horizontalLayout_3->addWidget(moveColumnUpButton);
194
195 moveColumnDownButton = new QToolButton(columnsBox);
196 moveColumnDownButton->setObjectName(QString::fromUtf8("moveColumnDownButton"));
197
198 horizontalLayout_3->addWidget(moveColumnDownButton);
199
200
201 gridLayout_2->addLayout(horizontalLayout_3, 1, 0, 1, 1);
202
203 horizontalLayout_2 = new QHBoxLayout();
204 horizontalLayout_2->setObjectName(QString::fromUtf8("horizontalLayout_2"));
205 label = new QLabel(columnsBox);
206 label->setObjectName(QString::fromUtf8("label"));
207
208 horizontalLayout_2->addWidget(label);
209
210 columnIconSelector = new qdesigner_internal::IconSelector(columnsBox);
211 columnIconSelector->setObjectName(QString::fromUtf8("columnIconSelector"));
212
213 horizontalLayout_2->addWidget(columnIconSelector);
214
215 spacerItem1 = new QSpacerItem(0, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
216
217 horizontalLayout_2->addItem(spacerItem1);
218
219
220 gridLayout_2->addLayout(horizontalLayout_2, 2, 0, 1, 1);
221
222
223 verticalLayout->addWidget(columnsBox);
224
225 rowsBox = new QGroupBox(widget);
226 rowsBox->setObjectName(QString::fromUtf8("rowsBox"));
227 gridLayout_3 = new QGridLayout(rowsBox);
228 gridLayout_3->setObjectName(QString::fromUtf8("gridLayout_3"));
229 rowsListWidget = new QListWidget(rowsBox);
230 rowsListWidget->setObjectName(QString::fromUtf8("rowsListWidget"));
231 sizePolicy1.setHeightForWidth(rowsListWidget->sizePolicy().hasHeightForWidth());
232 rowsListWidget->setSizePolicy(sizePolicy1);
233 rowsListWidget->setFocusPolicy(Qt::TabFocus);
234
235 gridLayout_3->addWidget(rowsListWidget, 0, 0, 1, 1);
236
237 horizontalLayout_4 = new QHBoxLayout();
238 horizontalLayout_4->setObjectName(QString::fromUtf8("horizontalLayout_4"));
239 newRowButton = new QToolButton(rowsBox);
240 newRowButton->setObjectName(QString::fromUtf8("newRowButton"));
241
242 horizontalLayout_4->addWidget(newRowButton);
243
244 deleteRowButton = new QToolButton(rowsBox);
245 deleteRowButton->setObjectName(QString::fromUtf8("deleteRowButton"));
246
247 horizontalLayout_4->addWidget(deleteRowButton);
248
249 spacerItem2 = new QSpacerItem(0, 23, QSizePolicy::Expanding, QSizePolicy::Minimum);
250
251 horizontalLayout_4->addItem(spacerItem2);
252
253 moveRowUpButton = new QToolButton(rowsBox);
254 moveRowUpButton->setObjectName(QString::fromUtf8("moveRowUpButton"));
255
256 horizontalLayout_4->addWidget(moveRowUpButton);
257
258 moveRowDownButton = new QToolButton(rowsBox);
259 moveRowDownButton->setObjectName(QString::fromUtf8("moveRowDownButton"));
260
261 horizontalLayout_4->addWidget(moveRowDownButton);
262
263
264 gridLayout_3->addLayout(horizontalLayout_4, 1, 0, 1, 1);
265
266 horizontalLayout = new QHBoxLayout();
267 horizontalLayout->setObjectName(QString::fromUtf8("horizontalLayout"));
268 label_2 = new QLabel(rowsBox);
269 label_2->setObjectName(QString::fromUtf8("label_2"));
270
271 horizontalLayout->addWidget(label_2);
272
273 rowIconSelector = new qdesigner_internal::IconSelector(rowsBox);
274 rowIconSelector->setObjectName(QString::fromUtf8("rowIconSelector"));
275
276 horizontalLayout->addWidget(rowIconSelector);
277
278 spacerItem3 = new QSpacerItem(0, 21, QSizePolicy::Expanding, QSizePolicy::Minimum);
279
280 horizontalLayout->addItem(spacerItem3);
281
282
283 gridLayout_3->addLayout(horizontalLayout, 2, 0, 1, 1);
284
285
286 verticalLayout->addWidget(rowsBox);
287
288
289 gridLayout_4->addWidget(widget, 0, 1, 1, 1);
290
291 itemsBox->raise();
292 buttonBox->raise();
293 widget->raise();
294 QWidget::setTabOrder(tableWidget, columnsListWidget);
295 QWidget::setTabOrder(columnsListWidget, newColumnButton);
296 QWidget::setTabOrder(newColumnButton, deleteColumnButton);
297 QWidget::setTabOrder(deleteColumnButton, moveColumnUpButton);
298 QWidget::setTabOrder(moveColumnUpButton, moveColumnDownButton);
299 QWidget::setTabOrder(moveColumnDownButton, rowsListWidget);
300 QWidget::setTabOrder(rowsListWidget, newRowButton);
301 QWidget::setTabOrder(newRowButton, deleteRowButton);
302 QWidget::setTabOrder(deleteRowButton, moveRowUpButton);
303 QWidget::setTabOrder(moveRowUpButton, moveRowDownButton);
304
305 retranslateUi(qdesigner_internal__TableWidgetEditor);
306 QObject::connect(buttonBox, SIGNAL(accepted()), qdesigner_internal__TableWidgetEditor, SLOT(accept()));
307 QObject::connect(buttonBox, SIGNAL(rejected()), qdesigner_internal__TableWidgetEditor, SLOT(reject()));
308
309 QMetaObject::connectSlotsByName(qdesigner_internal__TableWidgetEditor);
310 } // setupUi
311
312 void retranslateUi(QDialog *qdesigner_internal__TableWidgetEditor)
313 {
314 qdesigner_internal__TableWidgetEditor->setWindowTitle(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Edit Table Widget", nullptr));
315 itemsBox->setTitle(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Table Items", nullptr));
316 #if QT_CONFIG(tooltip)
317 tableWidget->setToolTip(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Table Items", nullptr));
318 #endif // QT_CONFIG(tooltip)
319 label_3->setText(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Icon", nullptr));
320 columnsBox->setTitle(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Columns", nullptr));
321 #if QT_CONFIG(tooltip)
322 columnsListWidget->setToolTip(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Table Columns", nullptr));
323 #endif // QT_CONFIG(tooltip)
324 #if QT_CONFIG(tooltip)
325 newColumnButton->setToolTip(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "New Column", nullptr));
326 #endif // QT_CONFIG(tooltip)
327 newColumnButton->setText(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "New", nullptr));
328 #if QT_CONFIG(tooltip)
329 deleteColumnButton->setToolTip(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Delete Column", nullptr));
330 #endif // QT_CONFIG(tooltip)
331 deleteColumnButton->setText(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Delete", nullptr));
332 #if QT_CONFIG(tooltip)
333 moveColumnUpButton->setToolTip(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Move Column Up", nullptr));
334 #endif // QT_CONFIG(tooltip)
335 moveColumnUpButton->setText(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "U", nullptr));
336 #if QT_CONFIG(tooltip)
337 moveColumnDownButton->setToolTip(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Move Column Down", nullptr));
338 #endif // QT_CONFIG(tooltip)
339 moveColumnDownButton->setText(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "D", nullptr));
340 label->setText(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Icon", nullptr));
341 rowsBox->setTitle(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Rows", nullptr));
342 #if QT_CONFIG(tooltip)
343 rowsListWidget->setToolTip(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Table Rows", nullptr));
344 #endif // QT_CONFIG(tooltip)
345 #if QT_CONFIG(tooltip)
346 newRowButton->setToolTip(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "New Row", nullptr));
347 #endif // QT_CONFIG(tooltip)
348 newRowButton->setText(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "New", nullptr));
349 #if QT_CONFIG(tooltip)
350 deleteRowButton->setToolTip(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Delete Row", nullptr));
351 #endif // QT_CONFIG(tooltip)
352 deleteRowButton->setText(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Delete", nullptr));
353 #if QT_CONFIG(tooltip)
354 moveRowUpButton->setToolTip(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Move Row Up", nullptr));
355 #endif // QT_CONFIG(tooltip)
356 moveRowUpButton->setText(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "U", nullptr));
357 #if QT_CONFIG(tooltip)
358 moveRowDownButton->setToolTip(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Move Row Down", nullptr));
359 #endif // QT_CONFIG(tooltip)
360 moveRowDownButton->setText(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "D", nullptr));
361 label_2->setText(QCoreApplication::translate("qdesigner_internal::TableWidgetEditor", "Icon", nullptr));
362 } // retranslateUi
363
364 };
365
366 } // namespace qdesigner_internal
367
368 namespace qdesigner_internal {
369 namespace Ui {
370 class TableWidgetEditor: public Ui_TableWidgetEditor {};
371 } // namespace Ui
372 } // namespace qdesigner_internal
373
374 QT_END_NAMESPACE
375
376 #endif // TABLEWIDGETEDITOR_H