|
1 /* |
|
2 ********************************************************************* |
|
3 ** |
|
4 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
5 ** All rights reserved. |
|
6 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
7 ** |
|
8 ** This file is part of the autotests of the Qt Toolkit. |
|
9 ** |
|
10 ** $QT_BEGIN_LICENSE:LGPL$ |
|
11 ** No Commercial Usage |
|
12 ** This file contains pre-release code and may not be distributed. |
|
13 ** You may use this file in accordance with the terms and conditions |
|
14 ** contained in the Technology Preview License Agreement accompanying |
|
15 ** this package. |
|
16 ** |
|
17 ** GNU Lesser General Public License Usage |
|
18 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
19 ** General Public License version 2.1 as published by the Free Software |
|
20 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
21 ** packaging of this file. Please review the following information to |
|
22 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
23 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
24 ** |
|
25 ** In addition, as a special exception, Nokia gives you certain additional |
|
26 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
27 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
28 ** |
|
29 ** If you have questions regarding the use of this file, please contact |
|
30 ** Nokia at qt-info@nokia.com. |
|
31 ** |
|
32 ** |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** |
|
39 ** $QT_END_LICENSE$ |
|
40 ** |
|
41 ********************************************************************* |
|
42 */ |
|
43 |
|
44 /******************************************************************************** |
|
45 ** Form generated from reading UI file 'batchtranslation.ui' |
|
46 ** |
|
47 ** Created: Fri Sep 4 10:17:12 2009 |
|
48 ** by: Qt User Interface Compiler version 4.6.0 |
|
49 ** |
|
50 ** WARNING! All changes made in this file will be lost when recompiling UI file! |
|
51 ********************************************************************************/ |
|
52 |
|
53 #ifndef BATCHTRANSLATION_H |
|
54 #define BATCHTRANSLATION_H |
|
55 |
|
56 #include <QtCore/QVariant> |
|
57 #include <QtGui/QAction> |
|
58 #include <QtGui/QApplication> |
|
59 #include <QtGui/QButtonGroup> |
|
60 #include <QtGui/QCheckBox> |
|
61 #include <QtGui/QDialog> |
|
62 #include <QtGui/QGroupBox> |
|
63 #include <QtGui/QHBoxLayout> |
|
64 #include <QtGui/QHeaderView> |
|
65 #include <QtGui/QLabel> |
|
66 #include <QtGui/QListView> |
|
67 #include <QtGui/QPushButton> |
|
68 #include <QtGui/QSpacerItem> |
|
69 #include <QtGui/QVBoxLayout> |
|
70 |
|
71 QT_BEGIN_NAMESPACE |
|
72 |
|
73 class Ui_databaseTranslationDialog |
|
74 { |
|
75 public: |
|
76 QVBoxLayout *vboxLayout; |
|
77 QGroupBox *groupBox; |
|
78 QVBoxLayout *vboxLayout1; |
|
79 QCheckBox *ckOnlyUntranslated; |
|
80 QCheckBox *ckMarkFinished; |
|
81 QGroupBox *groupBox_2; |
|
82 QVBoxLayout *vboxLayout2; |
|
83 QHBoxLayout *hboxLayout; |
|
84 QListView *phrasebookList; |
|
85 QVBoxLayout *vboxLayout3; |
|
86 QPushButton *moveUpButton; |
|
87 QPushButton *moveDownButton; |
|
88 QSpacerItem *spacerItem; |
|
89 QLabel *label; |
|
90 QHBoxLayout *hboxLayout1; |
|
91 QSpacerItem *spacerItem1; |
|
92 QPushButton *runButton; |
|
93 QPushButton *cancelButton; |
|
94 |
|
95 void setupUi(QDialog *databaseTranslationDialog) |
|
96 { |
|
97 if (databaseTranslationDialog->objectName().isEmpty()) |
|
98 databaseTranslationDialog->setObjectName(QString::fromUtf8("databaseTranslationDialog")); |
|
99 databaseTranslationDialog->resize(425, 370); |
|
100 vboxLayout = new QVBoxLayout(databaseTranslationDialog); |
|
101 #ifndef Q_OS_MAC |
|
102 vboxLayout->setSpacing(6); |
|
103 #endif |
|
104 #ifndef Q_OS_MAC |
|
105 vboxLayout->setContentsMargins(9, 9, 9, 9); |
|
106 #endif |
|
107 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
|
108 groupBox = new QGroupBox(databaseTranslationDialog); |
|
109 groupBox->setObjectName(QString::fromUtf8("groupBox")); |
|
110 QSizePolicy sizePolicy(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(4)); |
|
111 sizePolicy.setHorizontalStretch(0); |
|
112 sizePolicy.setVerticalStretch(0); |
|
113 sizePolicy.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth()); |
|
114 groupBox->setSizePolicy(sizePolicy); |
|
115 vboxLayout1 = new QVBoxLayout(groupBox); |
|
116 #ifndef Q_OS_MAC |
|
117 vboxLayout1->setSpacing(6); |
|
118 #endif |
|
119 #ifndef Q_OS_MAC |
|
120 vboxLayout1->setContentsMargins(9, 9, 9, 9); |
|
121 #endif |
|
122 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); |
|
123 ckOnlyUntranslated = new QCheckBox(groupBox); |
|
124 ckOnlyUntranslated->setObjectName(QString::fromUtf8("ckOnlyUntranslated")); |
|
125 ckOnlyUntranslated->setChecked(true); |
|
126 |
|
127 vboxLayout1->addWidget(ckOnlyUntranslated); |
|
128 |
|
129 ckMarkFinished = new QCheckBox(groupBox); |
|
130 ckMarkFinished->setObjectName(QString::fromUtf8("ckMarkFinished")); |
|
131 ckMarkFinished->setChecked(true); |
|
132 |
|
133 vboxLayout1->addWidget(ckMarkFinished); |
|
134 |
|
135 |
|
136 vboxLayout->addWidget(groupBox); |
|
137 |
|
138 groupBox_2 = new QGroupBox(databaseTranslationDialog); |
|
139 groupBox_2->setObjectName(QString::fromUtf8("groupBox_2")); |
|
140 QSizePolicy sizePolicy1(static_cast<QSizePolicy::Policy>(5), static_cast<QSizePolicy::Policy>(1)); |
|
141 sizePolicy1.setHorizontalStretch(0); |
|
142 sizePolicy1.setVerticalStretch(0); |
|
143 sizePolicy1.setHeightForWidth(groupBox_2->sizePolicy().hasHeightForWidth()); |
|
144 groupBox_2->setSizePolicy(sizePolicy1); |
|
145 vboxLayout2 = new QVBoxLayout(groupBox_2); |
|
146 #ifndef Q_OS_MAC |
|
147 vboxLayout2->setSpacing(6); |
|
148 #endif |
|
149 #ifndef Q_OS_MAC |
|
150 vboxLayout2->setContentsMargins(9, 9, 9, 9); |
|
151 #endif |
|
152 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); |
|
153 hboxLayout = new QHBoxLayout(); |
|
154 #ifndef Q_OS_MAC |
|
155 hboxLayout->setSpacing(6); |
|
156 #endif |
|
157 #ifndef Q_OS_MAC |
|
158 hboxLayout->setContentsMargins(0, 0, 0, 0); |
|
159 #endif |
|
160 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
|
161 phrasebookList = new QListView(groupBox_2); |
|
162 phrasebookList->setObjectName(QString::fromUtf8("phrasebookList")); |
|
163 phrasebookList->setUniformItemSizes(true); |
|
164 |
|
165 hboxLayout->addWidget(phrasebookList); |
|
166 |
|
167 vboxLayout3 = new QVBoxLayout(); |
|
168 #ifndef Q_OS_MAC |
|
169 vboxLayout3->setSpacing(6); |
|
170 #endif |
|
171 vboxLayout3->setContentsMargins(0, 0, 0, 0); |
|
172 vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3")); |
|
173 moveUpButton = new QPushButton(groupBox_2); |
|
174 moveUpButton->setObjectName(QString::fromUtf8("moveUpButton")); |
|
175 |
|
176 vboxLayout3->addWidget(moveUpButton); |
|
177 |
|
178 moveDownButton = new QPushButton(groupBox_2); |
|
179 moveDownButton->setObjectName(QString::fromUtf8("moveDownButton")); |
|
180 |
|
181 vboxLayout3->addWidget(moveDownButton); |
|
182 |
|
183 spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
|
184 |
|
185 vboxLayout3->addItem(spacerItem); |
|
186 |
|
187 |
|
188 hboxLayout->addLayout(vboxLayout3); |
|
189 |
|
190 |
|
191 vboxLayout2->addLayout(hboxLayout); |
|
192 |
|
193 label = new QLabel(groupBox_2); |
|
194 label->setObjectName(QString::fromUtf8("label")); |
|
195 label->setWordWrap(true); |
|
196 |
|
197 vboxLayout2->addWidget(label); |
|
198 |
|
199 |
|
200 vboxLayout->addWidget(groupBox_2); |
|
201 |
|
202 hboxLayout1 = new QHBoxLayout(); |
|
203 #ifndef Q_OS_MAC |
|
204 hboxLayout1->setSpacing(6); |
|
205 #endif |
|
206 hboxLayout1->setContentsMargins(0, 0, 0, 0); |
|
207 hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); |
|
208 spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
|
209 |
|
210 hboxLayout1->addItem(spacerItem1); |
|
211 |
|
212 runButton = new QPushButton(databaseTranslationDialog); |
|
213 runButton->setObjectName(QString::fromUtf8("runButton")); |
|
214 |
|
215 hboxLayout1->addWidget(runButton); |
|
216 |
|
217 cancelButton = new QPushButton(databaseTranslationDialog); |
|
218 cancelButton->setObjectName(QString::fromUtf8("cancelButton")); |
|
219 |
|
220 hboxLayout1->addWidget(cancelButton); |
|
221 |
|
222 |
|
223 vboxLayout->addLayout(hboxLayout1); |
|
224 |
|
225 |
|
226 retranslateUi(databaseTranslationDialog); |
|
227 |
|
228 QMetaObject::connectSlotsByName(databaseTranslationDialog); |
|
229 } // setupUi |
|
230 |
|
231 void retranslateUi(QDialog *databaseTranslationDialog) |
|
232 { |
|
233 databaseTranslationDialog->setWindowTitle(QApplication::translate("databaseTranslationDialog", "Qt Linguist - Batch Translation", 0, QApplication::UnicodeUTF8)); |
|
234 groupBox->setTitle(QApplication::translate("databaseTranslationDialog", "Options", 0, QApplication::UnicodeUTF8)); |
|
235 ckOnlyUntranslated->setText(QApplication::translate("databaseTranslationDialog", "Only translate entries with no translation", 0, QApplication::UnicodeUTF8)); |
|
236 ckMarkFinished->setText(QApplication::translate("databaseTranslationDialog", "Set translated entries to finished", 0, QApplication::UnicodeUTF8)); |
|
237 groupBox_2->setTitle(QApplication::translate("databaseTranslationDialog", "Phrase book preference", 0, QApplication::UnicodeUTF8)); |
|
238 moveUpButton->setText(QApplication::translate("databaseTranslationDialog", "Move up", 0, QApplication::UnicodeUTF8)); |
|
239 moveDownButton->setText(QApplication::translate("databaseTranslationDialog", "Move down", 0, QApplication::UnicodeUTF8)); |
|
240 label->setText(QApplication::translate("databaseTranslationDialog", "The batch translator will search through the selected phrasebooks in the order given above.", 0, QApplication::UnicodeUTF8)); |
|
241 runButton->setText(QApplication::translate("databaseTranslationDialog", "&Run", 0, QApplication::UnicodeUTF8)); |
|
242 cancelButton->setText(QApplication::translate("databaseTranslationDialog", "&Cancel", 0, QApplication::UnicodeUTF8)); |
|
243 } // retranslateUi |
|
244 |
|
245 }; |
|
246 |
|
247 namespace Ui { |
|
248 class databaseTranslationDialog: public Ui_databaseTranslationDialog {}; |
|
249 } // namespace Ui |
|
250 |
|
251 QT_END_NAMESPACE |
|
252 |
|
253 #endif // BATCHTRANSLATION_H |