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 'treewidgeteditor.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_TREEWIDGETEDITOR_H |
40 | #define UI_TREEWIDGETEDITOR_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/QToolButton> |
52 | #include <QtWidgets/QTreeWidget> |
53 | #include <QtWidgets/QVBoxLayout> |
54 | #include <QtWidgets/QWidget> |
55 | |
56 | QT_BEGIN_NAMESPACE |
57 | |
58 | namespace qdesigner_internal { |
59 | |
60 | class Ui_TreeWidgetEditor |
61 | { |
62 | public: |
63 | QVBoxLayout *verticalLayout; |
64 | QTabWidget *tabWidget; |
65 | QWidget *itemsTab; |
66 | QVBoxLayout *verticalLayout_3; |
67 | QWidget *widget; |
68 | QVBoxLayout *verticalLayout_2; |
69 | QTreeWidget *treeWidget; |
70 | QHBoxLayout *buttonsLayout; |
71 | QToolButton *newItemButton; |
72 | QToolButton *newSubItemButton; |
73 | QToolButton *deleteItemButton; |
74 | QSpacerItem *spacerItem; |
75 | QToolButton *moveItemLeftButton; |
76 | QToolButton *moveItemRightButton; |
77 | QToolButton *moveItemUpButton; |
78 | QToolButton *moveItemDownButton; |
79 | QSpacerItem *horizontalSpacer; |
80 | QPushButton *showPropertiesButton; |
81 | QDialogButtonBox *buttonBox; |
82 | |
83 | void setupUi(QDialog *qdesigner_internal__TreeWidgetEditor) |
84 | { |
85 | if (qdesigner_internal__TreeWidgetEditor->objectName().isEmpty()) |
86 | qdesigner_internal__TreeWidgetEditor->setObjectName(QString::fromUtf8(str: "qdesigner_internal__TreeWidgetEditor" )); |
87 | qdesigner_internal__TreeWidgetEditor->resize(w: 700, h: 360); |
88 | verticalLayout = new QVBoxLayout(qdesigner_internal__TreeWidgetEditor); |
89 | verticalLayout->setObjectName(QString::fromUtf8(str: "verticalLayout" )); |
90 | tabWidget = new QTabWidget(qdesigner_internal__TreeWidgetEditor); |
91 | tabWidget->setObjectName(QString::fromUtf8(str: "tabWidget" )); |
92 | itemsTab = new QWidget(); |
93 | itemsTab->setObjectName(QString::fromUtf8(str: "itemsTab" )); |
94 | verticalLayout_3 = new QVBoxLayout(itemsTab); |
95 | verticalLayout_3->setObjectName(QString::fromUtf8(str: "verticalLayout_3" )); |
96 | verticalLayout_3->setContentsMargins(left: 9, top: 9, right: 9, bottom: -1); |
97 | widget = new QWidget(itemsTab); |
98 | widget->setObjectName(QString::fromUtf8(str: "widget" )); |
99 | verticalLayout_2 = new QVBoxLayout(widget); |
100 | verticalLayout_2->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); |
101 | verticalLayout_2->setObjectName(QString::fromUtf8(str: "verticalLayout_2" )); |
102 | treeWidget = new QTreeWidget(widget); |
103 | treeWidget->setObjectName(QString::fromUtf8(str: "treeWidget" )); |
104 | treeWidget->setFocusPolicy(Qt::WheelFocus); |
105 | |
106 | verticalLayout_2->addWidget(treeWidget); |
107 | |
108 | buttonsLayout = new QHBoxLayout(); |
109 | buttonsLayout->setObjectName(QString::fromUtf8(str: "buttonsLayout" )); |
110 | newItemButton = new QToolButton(widget); |
111 | newItemButton->setObjectName(QString::fromUtf8(str: "newItemButton" )); |
112 | |
113 | buttonsLayout->addWidget(newItemButton); |
114 | |
115 | newSubItemButton = new QToolButton(widget); |
116 | newSubItemButton->setObjectName(QString::fromUtf8(str: "newSubItemButton" )); |
117 | |
118 | buttonsLayout->addWidget(newSubItemButton); |
119 | |
120 | deleteItemButton = new QToolButton(widget); |
121 | deleteItemButton->setObjectName(QString::fromUtf8(str: "deleteItemButton" )); |
122 | |
123 | buttonsLayout->addWidget(deleteItemButton); |
124 | |
125 | spacerItem = new QSpacerItem(28, 23, QSizePolicy::Expanding, QSizePolicy::Minimum); |
126 | |
127 | buttonsLayout->addItem(spacerItem); |
128 | |
129 | moveItemLeftButton = new QToolButton(widget); |
130 | moveItemLeftButton->setObjectName(QString::fromUtf8(str: "moveItemLeftButton" )); |
131 | |
132 | buttonsLayout->addWidget(moveItemLeftButton); |
133 | |
134 | moveItemRightButton = new QToolButton(widget); |
135 | moveItemRightButton->setObjectName(QString::fromUtf8(str: "moveItemRightButton" )); |
136 | |
137 | buttonsLayout->addWidget(moveItemRightButton); |
138 | |
139 | moveItemUpButton = new QToolButton(widget); |
140 | moveItemUpButton->setObjectName(QString::fromUtf8(str: "moveItemUpButton" )); |
141 | |
142 | buttonsLayout->addWidget(moveItemUpButton); |
143 | |
144 | moveItemDownButton = new QToolButton(widget); |
145 | moveItemDownButton->setObjectName(QString::fromUtf8(str: "moveItemDownButton" )); |
146 | |
147 | buttonsLayout->addWidget(moveItemDownButton); |
148 | |
149 | horizontalSpacer = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
150 | |
151 | buttonsLayout->addItem(horizontalSpacer); |
152 | |
153 | showPropertiesButton = new QPushButton(widget); |
154 | showPropertiesButton->setObjectName(QString::fromUtf8(str: "showPropertiesButton" )); |
155 | |
156 | buttonsLayout->addWidget(showPropertiesButton); |
157 | |
158 | |
159 | verticalLayout_2->addLayout(layout: buttonsLayout); |
160 | |
161 | |
162 | verticalLayout_3->addWidget(widget); |
163 | |
164 | tabWidget->addTab(widget: itemsTab, QString()); |
165 | |
166 | verticalLayout->addWidget(tabWidget); |
167 | |
168 | buttonBox = new QDialogButtonBox(qdesigner_internal__TreeWidgetEditor); |
169 | buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox" )); |
170 | buttonBox->setOrientation(Qt::Horizontal); |
171 | buttonBox->setStandardButtons(QDialogButtonBox::Cancel|QDialogButtonBox::Ok); |
172 | |
173 | verticalLayout->addWidget(buttonBox); |
174 | |
175 | |
176 | retranslateUi(qdesigner_internal__TreeWidgetEditor); |
177 | QObject::connect(sender: buttonBox, SIGNAL(accepted()), receiver: qdesigner_internal__TreeWidgetEditor, SLOT(accept())); |
178 | QObject::connect(sender: buttonBox, SIGNAL(rejected()), receiver: qdesigner_internal__TreeWidgetEditor, SLOT(reject())); |
179 | |
180 | tabWidget->setCurrentIndex(0); |
181 | |
182 | |
183 | QMetaObject::connectSlotsByName(o: qdesigner_internal__TreeWidgetEditor); |
184 | } // setupUi |
185 | |
186 | void retranslateUi(QDialog *qdesigner_internal__TreeWidgetEditor) |
187 | { |
188 | qdesigner_internal__TreeWidgetEditor->setWindowTitle(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "Edit Tree Widget" , disambiguation: nullptr)); |
189 | QTreeWidgetItem *___qtreewidgetitem = treeWidget->headerItem(); |
190 | ___qtreewidgetitem->setText(column: 0, atext: QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "1" , disambiguation: nullptr)); |
191 | #if QT_CONFIG(tooltip) |
192 | treeWidget->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "Tree Items" , disambiguation: nullptr)); |
193 | #endif // QT_CONFIG(tooltip) |
194 | #if QT_CONFIG(tooltip) |
195 | newItemButton->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "New Item" , disambiguation: nullptr)); |
196 | #endif // QT_CONFIG(tooltip) |
197 | newItemButton->setText(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "&New" , disambiguation: nullptr)); |
198 | #if QT_CONFIG(tooltip) |
199 | newSubItemButton->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "New Subitem" , disambiguation: nullptr)); |
200 | #endif // QT_CONFIG(tooltip) |
201 | newSubItemButton->setText(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "New &Subitem" , disambiguation: nullptr)); |
202 | #if QT_CONFIG(tooltip) |
203 | deleteItemButton->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "Delete Item" , disambiguation: nullptr)); |
204 | #endif // QT_CONFIG(tooltip) |
205 | deleteItemButton->setText(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "&Delete" , disambiguation: nullptr)); |
206 | #if QT_CONFIG(tooltip) |
207 | moveItemLeftButton->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "Move Item Left (before Parent Item)" , disambiguation: nullptr)); |
208 | #endif // QT_CONFIG(tooltip) |
209 | moveItemLeftButton->setText(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "L" , disambiguation: nullptr)); |
210 | #if QT_CONFIG(tooltip) |
211 | moveItemRightButton->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "Move Item Right (as a First Subitem of the Next Sibling Item)" , disambiguation: nullptr)); |
212 | #endif // QT_CONFIG(tooltip) |
213 | moveItemRightButton->setText(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "R" , disambiguation: nullptr)); |
214 | #if QT_CONFIG(tooltip) |
215 | moveItemUpButton->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "Move Item Up" , disambiguation: nullptr)); |
216 | #endif // QT_CONFIG(tooltip) |
217 | moveItemUpButton->setText(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "U" , disambiguation: nullptr)); |
218 | #if QT_CONFIG(tooltip) |
219 | moveItemDownButton->setToolTip(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "Move Item Down" , disambiguation: nullptr)); |
220 | #endif // QT_CONFIG(tooltip) |
221 | moveItemDownButton->setText(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "D" , disambiguation: nullptr)); |
222 | showPropertiesButton->setText(QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "Properties &>>" , disambiguation: nullptr)); |
223 | tabWidget->setTabText(index: tabWidget->indexOf(widget: itemsTab), text: QCoreApplication::translate(context: "qdesigner_internal::TreeWidgetEditor" , key: "&Items" , disambiguation: nullptr)); |
224 | } // retranslateUi |
225 | |
226 | }; |
227 | |
228 | } // namespace qdesigner_internal |
229 | |
230 | namespace qdesigner_internal { |
231 | namespace Ui { |
232 | class TreeWidgetEditor: public Ui_TreeWidgetEditor {}; |
233 | } // namespace Ui |
234 | } // namespace qdesigner_internal |
235 | |
236 | QT_END_NAMESPACE |
237 | |
238 | #endif // UI_TREEWIDGETEDITOR_H |
239 | |