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