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 'tablewidgeteditor.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_TABLEWIDGETEDITOR_H |
40 | #define UI_TABLEWIDGETEDITOR_H |
41 | |
42 | #include <QtCore/QVariant> |
43 | #include <QtWidgets/QApplication> |
44 | #include <QtWidgets/QDialog> |
45 | #include <QtWidgets/QDialogButtonBox> |
46 | #include <QtWidgets/QHBoxLayout> |
47 | #include <QtWidgets/QHeaderView> |
48 | #include <QtWidgets/QPushButton> |
49 | #include <QtWidgets/QSpacerItem> |
50 | #include <QtWidgets/QTabWidget> |
51 | #include <QtWidgets/QTableWidget> |
52 | #include <QtWidgets/QVBoxLayout> |
53 | #include <QtWidgets/QWidget> |
54 | |
55 | QT_BEGIN_NAMESPACE |
56 | |
57 | namespace qdesigner_internal { |
58 | |
59 | class Ui_TableWidgetEditor |
60 | { |
61 | public: |
62 | QVBoxLayout *verticalLayout; |
63 | QTabWidget *tabWidget; |
64 | QWidget *itemsTab; |
65 | QVBoxLayout *verticalLayout_2; |
66 | QWidget *widget; |
67 | QVBoxLayout *verticalLayout_3; |
68 | QTableWidget *tableWidget; |
69 | QHBoxLayout *buttonsLayout; |
70 | QSpacerItem *horizontalSpacer; |
71 | QPushButton *showPropertiesButton; |
72 | QDialogButtonBox *buttonBox; |
73 | |
74 | void setupUi(QDialog *qdesigner_internal__TableWidgetEditor) |
75 | { |
76 | if (qdesigner_internal__TableWidgetEditor->objectName().isEmpty()) |
77 | qdesigner_internal__TableWidgetEditor->setObjectName(QString::fromUtf8(str: "qdesigner_internal__TableWidgetEditor" )); |
78 | qdesigner_internal__TableWidgetEditor->resize(w: 550, h: 360); |
79 | verticalLayout = new QVBoxLayout(qdesigner_internal__TableWidgetEditor); |
80 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
81 | tabWidget = new QTabWidget(qdesigner_internal__TableWidgetEditor); |
82 | tabWidget->setObjectName(QString::fromUtf8(str: "tabWidget" )); |
83 | itemsTab = new QWidget(); |
84 | itemsTab->setObjectName(QString::fromUtf8(str: "itemsTab" )); |
85 | verticalLayout_2 = new QVBoxLayout(itemsTab); |
86 | verticalLayout_2->setObjectName(QString::fromUtf8(str: "verticalLayout_2" )); |
87 | widget = new QWidget(itemsTab); |
88 | widget->setObjectName(QString::fromUtf8(str: "widget" )); |
89 | verticalLayout_3 = new QVBoxLayout(widget); |
90 | verticalLayout_3->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); |
91 | verticalLayout_3->setObjectName(QString::fromUtf8(str: "verticalLayout_3" )); |
92 | tableWidget = new QTableWidget(widget); |
93 | tableWidget->setObjectName(QString::fromUtf8(str: "tableWidget" )); |
94 | |
95 | verticalLayout_3->addWidget(tableWidget); |
96 | |
97 | buttonsLayout = new QHBoxLayout(); |
98 | buttonsLayout->setObjectName(QString::fromUtf8(str: "buttonsLayout" )); |
99 | horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
100 | |
101 | buttonsLayout->addItem(horizontalSpacer); |
102 | |
103 | showPropertiesButton = new QPushButton(widget); |
104 | showPropertiesButton->setObjectName(QString::fromUtf8(str: "showPropertiesButton" )); |
105 | |
106 | buttonsLayout->addWidget(showPropertiesButton); |
107 | |
108 | |
109 | verticalLayout_3->addLayout(layout: buttonsLayout); |
110 | |
111 | |
112 | verticalLayout_2->addWidget(widget); |
113 | |
114 | tabWidget->addTab(widget: itemsTab, QString()); |
115 | |
116 | verticalLayout->addWidget(tabWidget); |
117 | |
118 | buttonBox = new QDialogButtonBox(qdesigner_internal__TableWidgetEditor); |
119 | buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox" )); |
120 | buttonBox->setOrientation(Qt::Horizontal); |
121 | buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
122 | |
123 | verticalLayout->addWidget(buttonBox); |
124 | |
125 | |
126 | retranslateUi(qdesigner_internal__TableWidgetEditor); |
127 | QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: qdesigner_internal__TableWidgetEditor, SLOT(accept())); |
128 | QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: qdesigner_internal__TableWidgetEditor, SLOT(reject())); |
129 | |
130 | tabWidget->setCurrentIndex(0); |
131 | |
132 | |
133 | QMetaObject::connectSlotsByName(o: qdesigner_internal__TableWidgetEditor); |
134 | } // setupUi |
135 | |
136 | void retranslateUi(QDialog *qdesigner_internal__TableWidgetEditor) |
137 | { |
138 | qdesigner_internal__TableWidgetEditor->setWindowTitle(QCoreApplication::translate(context: "qdesigner_internal::TableWidgetEditor" , key: "Edit Table Widget" , disambiguation: nullptr)); |
139 | #if QT_CONFIG(tooltip) |
140 | tableWidget->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::TableWidgetEditor" , key: "Table Items" , disambiguation: nullptr)); |
141 | #endif // QT_CONFIG(tooltip) |
142 | showPropertiesButton->setText(QCoreApplication::translate(context: "qdesigner_internal::TableWidgetEditor" , key: "Properties &>>" , disambiguation: nullptr)); |
143 | tabWidget->setTabText(index: tabWidget->indexOf(widget: itemsTab), text: QCoreApplication::translate(context: "qdesigner_internal::TableWidgetEditor" , key: "&Items" , disambiguation: nullptr)); |
144 | } // retranslateUi |
145 | |
146 | }; |
147 | |
148 | } // namespace qdesigner_internal |
149 | |
150 | namespace qdesigner_internal { |
151 | namespace Ui { |
152 | class TableWidgetEditor: public Ui_TableWidgetEditor {}; |
153 | } // namespace Ui |
154 | } // namespace qdesigner_internal |
155 | |
156 | QT_END_NAMESPACE |
157 | |
158 | #endif // UI_TABLEWIDGETEDITOR_H |
159 | |