| 1 |
/******************************************************************************** |
| 2 |
** Form generated from reading UI file 'qttoolbardialog.ui' |
| 3 |
** |
| 4 |
** Created by: Qt User Interface Compiler version 5.12.0 |
| 5 |
** |
| 6 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 7 |
********************************************************************************/ |
| 8 |
|
| 9 |
#ifndef QTTOOLBARDIALOG_H |
| 10 |
#define 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("QtToolBarDialog")); |
| 54 |
QtToolBarDialog->resize(583, 508); |
| 55 |
gridLayout = new QGridLayout(QtToolBarDialog); |
| 56 |
#ifndef Q_OS_MAC |
| 57 |
gridLayout->setSpacing(6); |
| 58 |
#endif |
| 59 |
gridLayout->setContentsMargins(8, 8, 8, 8); |
| 60 |
gridLayout->setObjectName(QString::fromUtf8("gridLayout")); |
| 61 |
actionTree = new QTreeWidget(QtToolBarDialog); |
| 62 |
actionTree->setObjectName(QString::fromUtf8("actionTree")); |
| 63 |
|
| 64 |
gridLayout->addWidget(actionTree, 1, 0, 3, 1); |
| 65 |
|
| 66 |
label = new QLabel(QtToolBarDialog); |
| 67 |
label->setObjectName(QString::fromUtf8("label")); |
| 68 |
|
| 69 |
gridLayout->addWidget(label, 0, 0, 1, 1); |
| 70 |
|
| 71 |
hboxLayout = new QHBoxLayout(); |
| 72 |
#ifndef Q_OS_MAC |
| 73 |
hboxLayout->setSpacing(6); |
| 74 |
#endif |
| 75 |
hboxLayout->setContentsMargins(0, 0, 0, 0); |
| 76 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
| 77 |
label_2 = new QLabel(QtToolBarDialog); |
| 78 |
label_2->setObjectName(QString::fromUtf8("label_2")); |
| 79 |
|
| 80 |
hboxLayout->addWidget(label_2); |
| 81 |
|
| 82 |
newButton = new QToolButton(QtToolBarDialog); |
| 83 |
newButton->setObjectName(QString::fromUtf8("newButton")); |
| 84 |
|
| 85 |
hboxLayout->addWidget(newButton); |
| 86 |
|
| 87 |
removeButton = new QToolButton(QtToolBarDialog); |
| 88 |
removeButton->setObjectName(QString::fromUtf8("removeButton")); |
| 89 |
|
| 90 |
hboxLayout->addWidget(removeButton); |
| 91 |
|
| 92 |
renameButton = new QToolButton(QtToolBarDialog); |
| 93 |
renameButton->setObjectName(QString::fromUtf8("renameButton")); |
| 94 |
|
| 95 |
hboxLayout->addWidget(renameButton); |
| 96 |
|
| 97 |
|
| 98 |
gridLayout->addLayout(hboxLayout, 0, 1, 1, 2); |
| 99 |
|
| 100 |
vboxLayout = new QVBoxLayout(); |
| 101 |
#ifndef Q_OS_MAC |
| 102 |
vboxLayout->setSpacing(6); |
| 103 |
#endif |
| 104 |
vboxLayout->setContentsMargins(0, 0, 0, 0); |
| 105 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
| 106 |
upButton = new QToolButton(QtToolBarDialog); |
| 107 |
upButton->setObjectName(QString::fromUtf8("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("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("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("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, 3, 1, 1, 1); |
| 143 |
|
| 144 |
currentToolBarList = new QListWidget(QtToolBarDialog); |
| 145 |
currentToolBarList->setObjectName(QString::fromUtf8("currentToolBarList")); |
| 146 |
|
| 147 |
gridLayout->addWidget(currentToolBarList, 3, 2, 1, 1); |
| 148 |
|
| 149 |
label_3 = new QLabel(QtToolBarDialog); |
| 150 |
label_3->setObjectName(QString::fromUtf8("label_3")); |
| 151 |
|
| 152 |
gridLayout->addWidget(label_3, 2, 1, 1, 2); |
| 153 |
|
| 154 |
toolBarList = new QListWidget(QtToolBarDialog); |
| 155 |
toolBarList->setObjectName(QString::fromUtf8("toolBarList")); |
| 156 |
|
| 157 |
gridLayout->addWidget(toolBarList, 1, 1, 1, 2); |
| 158 |
|
| 159 |
buttonBox = new QDialogButtonBox(QtToolBarDialog); |
| 160 |
buttonBox->setObjectName(QString::fromUtf8("buttonBox")); |
| 161 |
buttonBox->setStandardButtons(QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Ok|QDialogButtonBox::RestoreDefaults); |
| 162 |
|
| 163 |
gridLayout->addWidget(buttonBox, 5, 0, 1, 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(QtToolBarDialog); |
| 177 |
} // setupUi |
| 178 |
|
| 179 |
void retranslateUi(QDialog *QtToolBarDialog) |
| 180 |
{ |
| 181 |
QtToolBarDialog->setWindowTitle(QCoreApplication::translate("QtToolBarDialog", "Customize Toolbars", nullptr)); |
| 182 |
QTreeWidgetItem *___qtreewidgetitem = actionTree->headerItem(); |
| 183 |
___qtreewidgetitem->setText(0, QCoreApplication::translate("QtToolBarDialog", "1", nullptr)); |
| 184 |
label->setText(QCoreApplication::translate("QtToolBarDialog", "Actions", nullptr)); |
| 185 |
label_2->setText(QCoreApplication::translate("QtToolBarDialog", "Toolbars", nullptr)); |
| 186 |
#if QT_CONFIG(tooltip) |
| 187 |
newButton->setToolTip(QCoreApplication::translate("QtToolBarDialog", "Add new toolbar", nullptr)); |
| 188 |
#endif // QT_CONFIG(tooltip) |
| 189 |
newButton->setText(QCoreApplication::translate("QtToolBarDialog", "New", nullptr)); |
| 190 |
#if QT_CONFIG(tooltip) |
| 191 |
removeButton->setToolTip(QCoreApplication::translate("QtToolBarDialog", "Remove selected toolbar", nullptr)); |
| 192 |
#endif // QT_CONFIG(tooltip) |
| 193 |
removeButton->setText(QCoreApplication::translate("QtToolBarDialog", "Remove", nullptr)); |
| 194 |
#if QT_CONFIG(tooltip) |
| 195 |
renameButton->setToolTip(QCoreApplication::translate("QtToolBarDialog", "Rename toolbar", nullptr)); |
| 196 |
#endif // QT_CONFIG(tooltip) |
| 197 |
renameButton->setText(QCoreApplication::translate("QtToolBarDialog", "Rename", nullptr)); |
| 198 |
#if QT_CONFIG(tooltip) |
| 199 |
upButton->setToolTip(QCoreApplication::translate("QtToolBarDialog", "Move action up", nullptr)); |
| 200 |
#endif // QT_CONFIG(tooltip) |
| 201 |
upButton->setText(QCoreApplication::translate("QtToolBarDialog", "Up", nullptr)); |
| 202 |
#if QT_CONFIG(tooltip) |
| 203 |
leftButton->setToolTip(QCoreApplication::translate("QtToolBarDialog", "Remove action from toolbar", nullptr)); |
| 204 |
#endif // QT_CONFIG(tooltip) |
| 205 |
leftButton->setText(QCoreApplication::translate("QtToolBarDialog", "<-", nullptr)); |
| 206 |
#if QT_CONFIG(tooltip) |
| 207 |
rightButton->setToolTip(QCoreApplication::translate("QtToolBarDialog", "Add action to toolbar", nullptr)); |
| 208 |
#endif // QT_CONFIG(tooltip) |
| 209 |
rightButton->setText(QCoreApplication::translate("QtToolBarDialog", "->", nullptr)); |
| 210 |
#if QT_CONFIG(tooltip) |
| 211 |
downButton->setToolTip(QCoreApplication::translate("QtToolBarDialog", "Move action down", nullptr)); |
| 212 |
#endif // QT_CONFIG(tooltip) |
| 213 |
downButton->setText(QCoreApplication::translate("QtToolBarDialog", "Down", nullptr)); |
| 214 |
label_3->setText(QCoreApplication::translate("QtToolBarDialog", "Current Toolbar Actions", 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 // QTTOOLBARDIALOG_H |