1
/********************************************************************************
2
** Form generated from reading UI file 'qttoolbardialog.ui'
4
** Created by: Qt User Interface Compiler version 5.0.0
6
** WARNING! All changes made in this file will be lost when recompiling UI file!
7
********************************************************************************/
9
#ifndef QTTOOLBARDIALOG_H
10
#define QTTOOLBARDIALOG_H
12
#include <QtCore/QVariant>
13
#include <QtWidgets/QAction>
14
#include <QtWidgets/QApplication>
15
#include <QtWidgets/QButtonGroup>
16
#include <QtWidgets/QDialog>
17
#include <QtWidgets/QDialogButtonBox>
18
#include <QtWidgets/QGridLayout>
19
#include <QtWidgets/QHBoxLayout>
20
#include <QtWidgets/QHeaderView>
21
#include <QtWidgets/QLabel>
22
#include <QtWidgets/QListWidget>
23
#include <QtWidgets/QSpacerItem>
24
#include <QtWidgets/QToolButton>
25
#include <QtWidgets/QTreeWidget>
26
#include <QtWidgets/QVBoxLayout>
30
class Ui_QtToolBarDialog
33
QGridLayout *gridLayout;
34
QTreeWidget *actionTree;
36
QHBoxLayout *hboxLayout;
38
QToolButton *newButton;
39
QToolButton *removeButton;
40
QToolButton *renameButton;
41
QVBoxLayout *vboxLayout;
42
QToolButton *upButton;
43
QToolButton *leftButton;
44
QToolButton *rightButton;
45
QToolButton *downButton;
46
QSpacerItem *spacerItem;
47
QListWidget *currentToolBarList;
49
QListWidget *toolBarList;
50
QDialogButtonBox *buttonBox;
52
void setupUi(QDialog *QtToolBarDialog)
54
if (QtToolBarDialog->objectName().isEmpty())
55
QtToolBarDialog->setObjectName(QStringLiteral("QtToolBarDialog"));
56
QtToolBarDialog->resize(583, 508);
57
gridLayout = new QGridLayout(QtToolBarDialog);
59
gridLayout->setSpacing(6);
61
gridLayout->setContentsMargins(8, 8, 8, 8);
62
gridLayout->setObjectName(QStringLiteral("gridLayout"));
63
actionTree = new QTreeWidget(QtToolBarDialog);
64
actionTree->setObjectName(QStringLiteral("actionTree"));
66
gridLayout->addWidget(actionTree, 1, 0, 3, 1);
68
label = new QLabel(QtToolBarDialog);
69
label->setObjectName(QStringLiteral("label"));
71
gridLayout->addWidget(label, 0, 0, 1, 1);
73
hboxLayout = new QHBoxLayout();
75
hboxLayout->setSpacing(6);
77
hboxLayout->setContentsMargins(0, 0, 0, 0);
78
hboxLayout->setObjectName(QStringLiteral("hboxLayout"));
79
label_2 = new QLabel(QtToolBarDialog);
80
label_2->setObjectName(QStringLiteral("label_2"));
82
hboxLayout->addWidget(label_2);
84
newButton = new QToolButton(QtToolBarDialog);
85
newButton->setObjectName(QStringLiteral("newButton"));
87
hboxLayout->addWidget(newButton);
89
removeButton = new QToolButton(QtToolBarDialog);
90
removeButton->setObjectName(QStringLiteral("removeButton"));
92
hboxLayout->addWidget(removeButton);
94
renameButton = new QToolButton(QtToolBarDialog);
95
renameButton->setObjectName(QStringLiteral("renameButton"));
97
hboxLayout->addWidget(renameButton);
100
gridLayout->addLayout(hboxLayout, 0, 1, 1, 2);
102
vboxLayout = new QVBoxLayout();
104
vboxLayout->setSpacing(6);
106
vboxLayout->setContentsMargins(0, 0, 0, 0);
107
vboxLayout->setObjectName(QStringLiteral("vboxLayout"));
108
upButton = new QToolButton(QtToolBarDialog);
109
upButton->setObjectName(QStringLiteral("upButton"));
110
QSizePolicy sizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
111
sizePolicy.setHorizontalStretch(0);
112
sizePolicy.setVerticalStretch(0);
113
sizePolicy.setHeightForWidth(upButton->sizePolicy().hasHeightForWidth());
114
upButton->setSizePolicy(sizePolicy);
116
vboxLayout->addWidget(upButton);
118
leftButton = new QToolButton(QtToolBarDialog);
119
leftButton->setObjectName(QStringLiteral("leftButton"));
120
sizePolicy.setHeightForWidth(leftButton->sizePolicy().hasHeightForWidth());
121
leftButton->setSizePolicy(sizePolicy);
123
vboxLayout->addWidget(leftButton);
125
rightButton = new QToolButton(QtToolBarDialog);
126
rightButton->setObjectName(QStringLiteral("rightButton"));
127
sizePolicy.setHeightForWidth(rightButton->sizePolicy().hasHeightForWidth());
128
rightButton->setSizePolicy(sizePolicy);
130
vboxLayout->addWidget(rightButton);
132
downButton = new QToolButton(QtToolBarDialog);
133
downButton->setObjectName(QStringLiteral("downButton"));
134
sizePolicy.setHeightForWidth(downButton->sizePolicy().hasHeightForWidth());
135
downButton->setSizePolicy(sizePolicy);
137
vboxLayout->addWidget(downButton);
139
spacerItem = new QSpacerItem(29, 16, QSizePolicy::Minimum, QSizePolicy::Expanding);
141
vboxLayout->addItem(spacerItem);
144
gridLayout->addLayout(vboxLayout, 3, 1, 1, 1);
146
currentToolBarList = new QListWidget(QtToolBarDialog);
147
currentToolBarList->setObjectName(QStringLiteral("currentToolBarList"));
149
gridLayout->addWidget(currentToolBarList, 3, 2, 1, 1);
151
label_3 = new QLabel(QtToolBarDialog);
152
label_3->setObjectName(QStringLiteral("label_3"));
154
gridLayout->addWidget(label_3, 2, 1, 1, 2);
156
toolBarList = new QListWidget(QtToolBarDialog);
157
toolBarList->setObjectName(QStringLiteral("toolBarList"));
159
gridLayout->addWidget(toolBarList, 1, 1, 1, 2);
161
buttonBox = new QDialogButtonBox(QtToolBarDialog);
162
buttonBox->setObjectName(QStringLiteral("buttonBox"));
163
buttonBox->setStandardButtons(QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::RestoreDefaults);
165
gridLayout->addWidget(buttonBox, 5, 0, 1, 3);
167
QWidget::setTabOrder(newButton, removeButton);
168
QWidget::setTabOrder(removeButton, renameButton);
169
QWidget::setTabOrder(renameButton, toolBarList);
170
QWidget::setTabOrder(toolBarList, upButton);
171
QWidget::setTabOrder(upButton, leftButton);
172
QWidget::setTabOrder(leftButton, rightButton);
173
QWidget::setTabOrder(rightButton, downButton);
174
QWidget::setTabOrder(downButton, currentToolBarList);
176
retranslateUi(QtToolBarDialog);
178
QMetaObject::connectSlotsByName(QtToolBarDialog);
181
void retranslateUi(QDialog *QtToolBarDialog)
183
QtToolBarDialog->setWindowTitle(QApplication::translate("QtToolBarDialog", "Customize Toolbars", 0));
184
QTreeWidgetItem *___qtreewidgetitem = actionTree->headerItem();
185
___qtreewidgetitem->setText(0, QApplication::translate("QtToolBarDialog", "1", 0));
186
label->setText(QApplication::translate("QtToolBarDialog", "Actions", 0));
187
label_2->setText(QApplication::translate("QtToolBarDialog", "Toolbars", 0));
188
#ifndef QT_NO_TOOLTIP
189
newButton->setToolTip(QApplication::translate("QtToolBarDialog", "Add new toolbar", 0));
190
#endif // QT_NO_TOOLTIP
191
newButton->setText(QApplication::translate("QtToolBarDialog", "New", 0));
192
#ifndef QT_NO_TOOLTIP
193
removeButton->setToolTip(QApplication::translate("QtToolBarDialog", "Remove selected toolbar", 0));
194
#endif // QT_NO_TOOLTIP
195
removeButton->setText(QApplication::translate("QtToolBarDialog", "Remove", 0));
196
#ifndef QT_NO_TOOLTIP
197
renameButton->setToolTip(QApplication::translate("QtToolBarDialog", "Rename toolbar", 0));
198
#endif // QT_NO_TOOLTIP
199
renameButton->setText(QApplication::translate("QtToolBarDialog", "Rename", 0));
200
#ifndef QT_NO_TOOLTIP
201
upButton->setToolTip(QApplication::translate("QtToolBarDialog", "Move action up", 0));
202
#endif // QT_NO_TOOLTIP
203
upButton->setText(QApplication::translate("QtToolBarDialog", "Up", 0));
204
#ifndef QT_NO_TOOLTIP
205
leftButton->setToolTip(QApplication::translate("QtToolBarDialog", "Remove action from toolbar", 0));
206
#endif // QT_NO_TOOLTIP
207
leftButton->setText(QApplication::translate("QtToolBarDialog", "<-", 0));
208
#ifndef QT_NO_TOOLTIP
209
rightButton->setToolTip(QApplication::translate("QtToolBarDialog", "Add action to toolbar", 0));
210
#endif // QT_NO_TOOLTIP
211
rightButton->setText(QApplication::translate("QtToolBarDialog", "->", 0));
212
#ifndef QT_NO_TOOLTIP
213
downButton->setToolTip(QApplication::translate("QtToolBarDialog", "Move action down", 0));
214
#endif // QT_NO_TOOLTIP
215
downButton->setText(QApplication::translate("QtToolBarDialog", "Down", 0));
216
label_3->setText(QApplication::translate("QtToolBarDialog", "Current Toolbar Actions", 0));
222
class QtToolBarDialog: public Ui_QtToolBarDialog {};
227
#endif // QTTOOLBARDIALOG_H