1 | /******************************************************************************** |
2 | ** Form generated from reading UI file 'qttoolbardialog.ui' |
3 | ** |
4 | ** Created by: Qt User Interface Compiler version 5.15.9 |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
7 | ********************************************************************************/ |
8 | |
9 | #ifndef UI_QTTOOLBARDIALOG_H |
10 | #define UI_QTTOOLBARDIALOG_H |
11 | |
12 | #include <QtCore/QVariant> |
13 | #include <QtWidgets/QApplication> |
14 | #include <QtWidgets/QDialog> |
15 | #include <QtWidgets/QDialogButtonBox> |
16 | #include <QtWidgets/QGridLayout> |
17 | #include <QtWidgets/QHBoxLayout> |
18 | #include <QtWidgets/QHeaderView> |
19 | #include <QtWidgets/QLabel> |
20 | #include <QtWidgets/QListWidget> |
21 | #include <QtWidgets/QSpacerItem> |
22 | #include <QtWidgets/QToolButton> |
23 | #include <QtWidgets/QTreeWidget> |
24 | #include <QtWidgets/QVBoxLayout> |
25 | |
26 | QT_BEGIN_NAMESPACE |
27 | |
28 | class Ui_QtToolBarDialog |
29 | { |
30 | public: |
31 | QGridLayout *gridLayout; |
32 | QTreeWidget *actionTree; |
33 | QLabel *label; |
34 | QHBoxLayout *hboxLayout; |
35 | QLabel *label_2; |
36 | QToolButton *newButton; |
37 | QToolButton *removeButton; |
38 | QToolButton *renameButton; |
39 | QVBoxLayout *vboxLayout; |
40 | QToolButton *upButton; |
41 | QToolButton *leftButton; |
42 | QToolButton *rightButton; |
43 | QToolButton *downButton; |
44 | QSpacerItem *spacerItem; |
45 | QListWidget *currentToolBarList; |
46 | QLabel *label_3; |
47 | QListWidget *toolBarList; |
48 | QDialogButtonBox *buttonBox; |
49 | |
50 | void setupUi(QDialog *QtToolBarDialog) |
51 | { |
52 | if (QtToolBarDialog->objectName().isEmpty()) |
53 | QtToolBarDialog->setObjectName(QString::fromUtf8(str: "QtToolBarDialog" )); |
54 | QtToolBarDialog->resize(w: 583, h: 508); |
55 | gridLayout = new QGridLayout(QtToolBarDialog); |
56 | #ifndef Q_OS_MAC |
57 | gridLayout->setSpacing(6); |
58 | #endif |
59 | gridLayout->setContentsMargins(left: 8, top: 8, right: 8, bottom: 8); |
60 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
61 | actionTree = new QTreeWidget(QtToolBarDialog); |
62 | actionTree->setObjectName(QString::fromUtf8(str: "actionTree" )); |
63 | |
64 | gridLayout->addWidget(actionTree, row: 1, column: 0, rowSpan: 3, columnSpan: 1); |
65 | |
66 | label = new QLabel(QtToolBarDialog); |
67 | label->setObjectName(QString::fromUtf8(str: "label" )); |
68 | |
69 | gridLayout->addWidget(label, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
70 | |
71 | hboxLayout = new QHBoxLayout(); |
72 | #ifndef Q_OS_MAC |
73 | hboxLayout->setSpacing(6); |
74 | #endif |
75 | hboxLayout->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); |
76 | hboxLayout->setObjectName(QString::fromUtf8(str: "hboxLayout" )); |
77 | label_2 = new QLabel(QtToolBarDialog); |
78 | label_2->setObjectName(QString::fromUtf8(str: "label_2" )); |
79 | |
80 | hboxLayout->addWidget(label_2); |
81 | |
82 | newButton = new QToolButton(QtToolBarDialog); |
83 | newButton->setObjectName(QString::fromUtf8(str: "newButton" )); |
84 | |
85 | hboxLayout->addWidget(newButton); |
86 | |
87 | removeButton = new QToolButton(QtToolBarDialog); |
88 | removeButton->setObjectName(QString::fromUtf8(str: "removeButton" )); |
89 | |
90 | hboxLayout->addWidget(removeButton); |
91 | |
92 | renameButton = new QToolButton(QtToolBarDialog); |
93 | renameButton->setObjectName(QString::fromUtf8(str: "renameButton" )); |
94 | |
95 | hboxLayout->addWidget(renameButton); |
96 | |
97 | |
98 | gridLayout->addLayout(hboxLayout, row: 0, column: 1, rowSpan: 1, columnSpan: 2); |
99 | |
100 | vboxLayout = new QVBoxLayout(); |
101 | #ifndef Q_OS_MAC |
102 | vboxLayout->setSpacing(6); |
103 | #endif |
104 | vboxLayout->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); |
105 | vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout" )); |
106 | upButton = new QToolButton(QtToolBarDialog); |
107 | upButton->setObjectName(QString::fromUtf8(str: "upButton" )); |
108 | QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed); |
109 | sizePolicy.setHorizontalStretch(0); |
110 | sizePolicy.setVerticalStretch(0); |
111 | sizePolicy.setHeightForWidth(upButton->sizePolicy().hasHeightForWidth()); |
112 | upButton->setSizePolicy(sizePolicy); |
113 | |
114 | vboxLayout->addWidget(upButton); |
115 | |
116 | leftButton = new QToolButton(QtToolBarDialog); |
117 | leftButton->setObjectName(QString::fromUtf8(str: "leftButton" )); |
118 | sizePolicy.setHeightForWidth(leftButton->sizePolicy().hasHeightForWidth()); |
119 | leftButton->setSizePolicy(sizePolicy); |
120 | |
121 | vboxLayout->addWidget(leftButton); |
122 | |
123 | rightButton = new QToolButton(QtToolBarDialog); |
124 | rightButton->setObjectName(QString::fromUtf8(str: "rightButton" )); |
125 | sizePolicy.setHeightForWidth(rightButton->sizePolicy().hasHeightForWidth()); |
126 | rightButton->setSizePolicy(sizePolicy); |
127 | |
128 | vboxLayout->addWidget(rightButton); |
129 | |
130 | downButton = new QToolButton(QtToolBarDialog); |
131 | downButton->setObjectName(QString::fromUtf8(str: "downButton" )); |
132 | sizePolicy.setHeightForWidth(downButton->sizePolicy().hasHeightForWidth()); |
133 | downButton->setSizePolicy(sizePolicy); |
134 | |
135 | vboxLayout->addWidget(downButton); |
136 | |
137 | spacerItem = new QSpacerItem(29, 16, QSizePolicy::Minimum, QSizePolicy::Expanding); |
138 | |
139 | vboxLayout->addItem(spacerItem); |
140 | |
141 | |
142 | gridLayout->addLayout(vboxLayout, row: 3, column: 1, rowSpan: 1, columnSpan: 1); |
143 | |
144 | currentToolBarList = new QListWidget(QtToolBarDialog); |
145 | currentToolBarList->setObjectName(QString::fromUtf8(str: "currentToolBarList" )); |
146 | |
147 | gridLayout->addWidget(currentToolBarList, row: 3, column: 2, rowSpan: 1, columnSpan: 1); |
148 | |
149 | label_3 = new QLabel(QtToolBarDialog); |
150 | label_3->setObjectName(QString::fromUtf8(str: "label_3" )); |
151 | |
152 | gridLayout->addWidget(label_3, row: 2, column: 1, rowSpan: 1, columnSpan: 2); |
153 | |
154 | toolBarList = new QListWidget(QtToolBarDialog); |
155 | toolBarList->setObjectName(QString::fromUtf8(str: "toolBarList" )); |
156 | |
157 | gridLayout->addWidget(toolBarList, row: 1, column: 1, rowSpan: 1, columnSpan: 2); |
158 | |
159 | buttonBox = new QDialogButtonBox(QtToolBarDialog); |
160 | buttonBox->setObjectName(QString::fromUtf8(str: "buttonBox" )); |
161 | buttonBox->setStandardButtons(QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::RestoreDefaults); |
162 | |
163 | gridLayout->addWidget(buttonBox, row: 5, column: 0, rowSpan: 1, columnSpan: 3); |
164 | |
165 | QWidget::setTabOrder(newButton, removeButton); |
166 | QWidget::setTabOrder(removeButton, renameButton); |
167 | QWidget::setTabOrder(renameButton, toolBarList); |
168 | QWidget::setTabOrder(toolBarList, upButton); |
169 | QWidget::setTabOrder(upButton, leftButton); |
170 | QWidget::setTabOrder(leftButton, rightButton); |
171 | QWidget::setTabOrder(rightButton, downButton); |
172 | QWidget::setTabOrder(downButton, currentToolBarList); |
173 | |
174 | retranslateUi(QtToolBarDialog); |
175 | |
176 | QMetaObject::connectSlotsByName(o: QtToolBarDialog); |
177 | } // setupUi |
178 | |
179 | void retranslateUi(QDialog *QtToolBarDialog) |
180 | { |
181 | QtToolBarDialog->setWindowTitle(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Customize Toolbars" , disambiguation: nullptr)); |
182 | QTreeWidgetItem *___qtreewidgetitem = actionTree->headerItem(); |
183 | ___qtreewidgetitem->setText(column: 0, atext: QCoreApplication::translate(context: "QtToolBarDialog" , key: "1" , disambiguation: nullptr)); |
184 | label->setText(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Actions" , disambiguation: nullptr)); |
185 | label_2->setText(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Toolbars" , disambiguation: nullptr)); |
186 | #if QT_CONFIG(tooltip) |
187 | newButton->setToolTip(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Add new toolbar" , disambiguation: nullptr)); |
188 | #endif // QT_CONFIG(tooltip) |
189 | newButton->setText(QCoreApplication::translate(context: "QtToolBarDialog" , key: "New" , disambiguation: nullptr)); |
190 | #if QT_CONFIG(tooltip) |
191 | removeButton->setToolTip(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Remove selected toolbar" , disambiguation: nullptr)); |
192 | #endif // QT_CONFIG(tooltip) |
193 | removeButton->setText(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Remove" , disambiguation: nullptr)); |
194 | #if QT_CONFIG(tooltip) |
195 | renameButton->setToolTip(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Rename toolbar" , disambiguation: nullptr)); |
196 | #endif // QT_CONFIG(tooltip) |
197 | renameButton->setText(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Rename" , disambiguation: nullptr)); |
198 | #if QT_CONFIG(tooltip) |
199 | upButton->setToolTip(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Move action up" , disambiguation: nullptr)); |
200 | #endif // QT_CONFIG(tooltip) |
201 | upButton->setText(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Up" , disambiguation: nullptr)); |
202 | #if QT_CONFIG(tooltip) |
203 | leftButton->setToolTip(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Remove action from toolbar" , disambiguation: nullptr)); |
204 | #endif // QT_CONFIG(tooltip) |
205 | leftButton->setText(QCoreApplication::translate(context: "QtToolBarDialog" , key: "<-" , disambiguation: nullptr)); |
206 | #if QT_CONFIG(tooltip) |
207 | rightButton->setToolTip(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Add action to toolbar" , disambiguation: nullptr)); |
208 | #endif // QT_CONFIG(tooltip) |
209 | rightButton->setText(QCoreApplication::translate(context: "QtToolBarDialog" , key: "->" , disambiguation: nullptr)); |
210 | #if QT_CONFIG(tooltip) |
211 | downButton->setToolTip(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Move action down" , disambiguation: nullptr)); |
212 | #endif // QT_CONFIG(tooltip) |
213 | downButton->setText(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Down" , disambiguation: nullptr)); |
214 | label_3->setText(QCoreApplication::translate(context: "QtToolBarDialog" , key: "Current Toolbar Actions" , disambiguation: nullptr)); |
215 | } // retranslateUi |
216 | |
217 | }; |
218 | |
219 | namespace Ui { |
220 | class QtToolBarDialog: public Ui_QtToolBarDialog {}; |
221 | } // namespace Ui |
222 | |
223 | QT_END_NAMESPACE |
224 | |
225 | #endif // UI_QTTOOLBARDIALOG_H |
226 | |