00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef UI_DLGTOOLBARS_H
00011 #define UI_DLGTOOLBARS_H
00012
00013 #include <QtCore/QVariant>
00014 #include <QtGui/QAction>
00015 #include <QtGui/QApplication>
00016 #include <QtGui/QButtonGroup>
00017 #include <QtGui/QComboBox>
00018 #include <QtGui/QGridLayout>
00019 #include <QtGui/QHeaderView>
00020 #include <QtGui/QLabel>
00021 #include <QtGui/QPushButton>
00022 #include <QtGui/QSpacerItem>
00023 #include <QtGui/QTreeWidget>
00024 #include <QtGui/QVBoxLayout>
00025 #include <QtGui/QWidget>
00026
00027 namespace Gui {
00028 namespace Dialog {
00029
00030 class Ui_DlgCustomToolbars
00031 {
00032 public:
00033 QGridLayout *gridLayout;
00034 QLabel *label;
00035 QPushButton *moveActionRightButton;
00036 QSpacerItem *spacerItem;
00037 QSpacerItem *spacerItem1;
00038 QPushButton *moveActionLeftButton;
00039 QPushButton *moveActionDownButton;
00040 QPushButton *moveActionUpButton;
00041 QVBoxLayout *vboxLayout;
00042 QComboBox *categoryBox;
00043 QTreeWidget *commandTreeWidget;
00044 QVBoxLayout *vboxLayout1;
00045 QComboBox *workbenchBox;
00046 QTreeWidget *toolbarTreeWidget;
00047 QVBoxLayout *vboxLayout2;
00048 QSpacerItem *spacerItem2;
00049 QPushButton *newButton;
00050 QPushButton *renameButton;
00051 QPushButton *deleteButton;
00052 QSpacerItem *spacerItem3;
00053
00054 void setupUi(QWidget *Gui__Dialog__DlgCustomToolbars)
00055 {
00056 if (Gui__Dialog__DlgCustomToolbars->objectName().isEmpty())
00057 Gui__Dialog__DlgCustomToolbars->setObjectName(QString::fromUtf8("Gui__Dialog__DlgCustomToolbars"));
00058 Gui__Dialog__DlgCustomToolbars->resize(576, 318);
00059 gridLayout = new QGridLayout(Gui__Dialog__DlgCustomToolbars);
00060 #ifndef Q_OS_MAC
00061 gridLayout->setSpacing(6);
00062 #endif
00063 #ifndef Q_OS_MAC
00064 gridLayout->setMargin(9);
00065 #endif
00066 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
00067 label = new QLabel(Gui__Dialog__DlgCustomToolbars);
00068 label->setObjectName(QString::fromUtf8("label"));
00069
00070 gridLayout->addWidget(label, 6, 0, 1, 4);
00071
00072 moveActionRightButton = new QPushButton(Gui__Dialog__DlgCustomToolbars);
00073 moveActionRightButton->setObjectName(QString::fromUtf8("moveActionRightButton"));
00074 moveActionRightButton->setEnabled(true);
00075 moveActionRightButton->setMinimumSize(QSize(30, 30));
00076 const QIcon icon = QIcon(QString::fromUtf8(":/icons/button_right.xpm"));
00077 moveActionRightButton->setIcon(icon);
00078
00079 gridLayout->addWidget(moveActionRightButton, 1, 1, 1, 1);
00080
00081 spacerItem = new QSpacerItem(33, 57, QSizePolicy::Minimum, QSizePolicy::Expanding);
00082
00083 gridLayout->addItem(spacerItem, 5, 1, 1, 1);
00084
00085 spacerItem1 = new QSpacerItem(33, 58, QSizePolicy::Minimum, QSizePolicy::Expanding);
00086
00087 gridLayout->addItem(spacerItem1, 0, 1, 1, 1);
00088
00089 moveActionLeftButton = new QPushButton(Gui__Dialog__DlgCustomToolbars);
00090 moveActionLeftButton->setObjectName(QString::fromUtf8("moveActionLeftButton"));
00091 moveActionLeftButton->setEnabled(true);
00092 moveActionLeftButton->setMinimumSize(QSize(30, 30));
00093 const QIcon icon1 = QIcon(QString::fromUtf8(":/icons/button_left.xpm"));
00094 moveActionLeftButton->setIcon(icon1);
00095 moveActionLeftButton->setAutoDefault(true);
00096 moveActionLeftButton->setDefault(false);
00097
00098 gridLayout->addWidget(moveActionLeftButton, 2, 1, 1, 1);
00099
00100 moveActionDownButton = new QPushButton(Gui__Dialog__DlgCustomToolbars);
00101 moveActionDownButton->setObjectName(QString::fromUtf8("moveActionDownButton"));
00102 moveActionDownButton->setEnabled(true);
00103 moveActionDownButton->setMinimumSize(QSize(30, 30));
00104 const QIcon icon2 = QIcon(QString::fromUtf8(":/icons/button_down.xpm"));
00105 moveActionDownButton->setIcon(icon2);
00106 moveActionDownButton->setAutoDefault(true);
00107
00108 gridLayout->addWidget(moveActionDownButton, 4, 1, 1, 1);
00109
00110 moveActionUpButton = new QPushButton(Gui__Dialog__DlgCustomToolbars);
00111 moveActionUpButton->setObjectName(QString::fromUtf8("moveActionUpButton"));
00112 moveActionUpButton->setEnabled(true);
00113 moveActionUpButton->setMinimumSize(QSize(30, 30));
00114 const QIcon icon3 = QIcon(QString::fromUtf8(":/icons/button_up.xpm"));
00115 moveActionUpButton->setIcon(icon3);
00116
00117 gridLayout->addWidget(moveActionUpButton, 3, 1, 1, 1);
00118
00119 vboxLayout = new QVBoxLayout();
00120 #ifndef Q_OS_MAC
00121 vboxLayout->setSpacing(6);
00122 #endif
00123 vboxLayout->setMargin(0);
00124 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
00125 categoryBox = new QComboBox(Gui__Dialog__DlgCustomToolbars);
00126 categoryBox->setObjectName(QString::fromUtf8("categoryBox"));
00127
00128 vboxLayout->addWidget(categoryBox);
00129
00130 commandTreeWidget = new QTreeWidget(Gui__Dialog__DlgCustomToolbars);
00131 commandTreeWidget->setObjectName(QString::fromUtf8("commandTreeWidget"));
00132 commandTreeWidget->setRootIsDecorated(false);
00133
00134 vboxLayout->addWidget(commandTreeWidget);
00135
00136
00137 gridLayout->addLayout(vboxLayout, 0, 0, 6, 1);
00138
00139 vboxLayout1 = new QVBoxLayout();
00140 #ifndef Q_OS_MAC
00141 vboxLayout1->setSpacing(6);
00142 #endif
00143 vboxLayout1->setMargin(0);
00144 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
00145 workbenchBox = new QComboBox(Gui__Dialog__DlgCustomToolbars);
00146 workbenchBox->setObjectName(QString::fromUtf8("workbenchBox"));
00147
00148 vboxLayout1->addWidget(workbenchBox);
00149
00150 toolbarTreeWidget = new QTreeWidget(Gui__Dialog__DlgCustomToolbars);
00151 toolbarTreeWidget->setObjectName(QString::fromUtf8("toolbarTreeWidget"));
00152 toolbarTreeWidget->setColumnCount(0);
00153
00154 vboxLayout1->addWidget(toolbarTreeWidget);
00155
00156
00157 gridLayout->addLayout(vboxLayout1, 0, 2, 6, 1);
00158
00159 vboxLayout2 = new QVBoxLayout();
00160 #ifndef Q_OS_MAC
00161 vboxLayout2->setSpacing(6);
00162 #endif
00163 vboxLayout2->setMargin(0);
00164 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
00165 spacerItem2 = new QSpacerItem(20, 21, QSizePolicy::Minimum, QSizePolicy::Fixed);
00166
00167 vboxLayout2->addItem(spacerItem2);
00168
00169 newButton = new QPushButton(Gui__Dialog__DlgCustomToolbars);
00170 newButton->setObjectName(QString::fromUtf8("newButton"));
00171
00172 vboxLayout2->addWidget(newButton);
00173
00174 renameButton = new QPushButton(Gui__Dialog__DlgCustomToolbars);
00175 renameButton->setObjectName(QString::fromUtf8("renameButton"));
00176
00177 vboxLayout2->addWidget(renameButton);
00178
00179 deleteButton = new QPushButton(Gui__Dialog__DlgCustomToolbars);
00180 deleteButton->setObjectName(QString::fromUtf8("deleteButton"));
00181
00182 vboxLayout2->addWidget(deleteButton);
00183
00184 spacerItem3 = new QSpacerItem(20, 152, QSizePolicy::Minimum, QSizePolicy::Expanding);
00185
00186 vboxLayout2->addItem(spacerItem3);
00187
00188
00189 gridLayout->addLayout(vboxLayout2, 0, 3, 6, 1);
00190
00191
00192 retranslateUi(Gui__Dialog__DlgCustomToolbars);
00193
00194 QMetaObject::connectSlotsByName(Gui__Dialog__DlgCustomToolbars);
00195 }
00196
00197 void retranslateUi(QWidget *Gui__Dialog__DlgCustomToolbars)
00198 {
00199 Gui__Dialog__DlgCustomToolbars->setWindowTitle(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "Toolbars", 0, QApplication::UnicodeUTF8));
00200 label->setText(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:MS Shell Dlg 2; font-size:7.8pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><span style=\" font-weight:600;\">Note:</span> The changes become active the next time you load the appropriate workbench</p></body></html>", 0, QApplication::UnicodeUTF8));
00201 #ifndef QT_NO_TOOLTIP
00202 moveActionRightButton->setToolTip(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "Move right", 0, QApplication::UnicodeUTF8));
00203 #endif // QT_NO_TOOLTIP
00204 #ifndef QT_NO_WHATSTHIS
00205 moveActionRightButton->setWhatsThis(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "<b>Move the selected item one level down.</b><p>This will also change the level of the parent item.</p>", 0, QApplication::UnicodeUTF8));
00206 #endif // QT_NO_WHATSTHIS
00207 moveActionRightButton->setText(QString());
00208 #ifndef QT_NO_TOOLTIP
00209 moveActionLeftButton->setToolTip(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "Move left", 0, QApplication::UnicodeUTF8));
00210 #endif // QT_NO_TOOLTIP
00211 #ifndef QT_NO_WHATSTHIS
00212 moveActionLeftButton->setWhatsThis(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "<b>Move the selected item one level up.</b><p>This will also change the level of the parent item.</p>", 0, QApplication::UnicodeUTF8));
00213 #endif // QT_NO_WHATSTHIS
00214 moveActionLeftButton->setText(QString());
00215 #ifndef QT_NO_TOOLTIP
00216 moveActionDownButton->setToolTip(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "Move down", 0, QApplication::UnicodeUTF8));
00217 #endif // QT_NO_TOOLTIP
00218 #ifndef QT_NO_WHATSTHIS
00219 moveActionDownButton->setWhatsThis(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "<b>Move the selected item down.</b><p>The item will be moved within the hierarchy level.</p>", 0, QApplication::UnicodeUTF8));
00220 #endif // QT_NO_WHATSTHIS
00221 moveActionDownButton->setText(QString());
00222 #ifndef QT_NO_TOOLTIP
00223 moveActionUpButton->setToolTip(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "Move up", 0, QApplication::UnicodeUTF8));
00224 #endif // QT_NO_TOOLTIP
00225 #ifndef QT_NO_WHATSTHIS
00226 moveActionUpButton->setWhatsThis(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "<b>Move the selected item up.</b><p>The item will be moved within the hierarchy level.</p>", 0, QApplication::UnicodeUTF8));
00227 #endif // QT_NO_WHATSTHIS
00228 moveActionUpButton->setText(QString());
00229 newButton->setText(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "New...", 0, QApplication::UnicodeUTF8));
00230 renameButton->setText(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "Rename...", 0, QApplication::UnicodeUTF8));
00231 deleteButton->setText(QApplication::translate("Gui::Dialog::DlgCustomToolbars", "Delete", 0, QApplication::UnicodeUTF8));
00232 Q_UNUSED(Gui__Dialog__DlgCustomToolbars);
00233 }
00234
00235 };
00236
00237 }
00238 }
00239
00240 namespace Gui {
00241 namespace Dialog {
00242 namespace Ui {
00243 class DlgCustomToolbars: public Ui_DlgCustomToolbars {};
00244 }
00245 }
00246 }
00247
00248 #endif // UI_DLGTOOLBARS_H