1 | /* |
2 | ********************************************************************* |
3 | ** |
4 | ** Copyright (C) 2016 The Qt Company Ltd. |
5 | ** Contact: https://www.qt.io/licensing/ |
6 | ** |
7 | ** This file is part of the Qt Linguist of the Qt Toolkit. |
8 | ** |
9 | ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ |
10 | ** Commercial License Usage |
11 | ** Licensees holding valid commercial Qt licenses may use this file in |
12 | ** accordance with the commercial license agreement provided with the |
13 | ** Software or, alternatively, in accordance with the terms contained in |
14 | ** a written agreement between you and The Qt Company. For licensing terms |
15 | ** and conditions see https://www.qt.io/terms-conditions. For further |
16 | ** information use the contact form at https://www.qt.io/contact-us. |
17 | ** |
18 | ** GNU General Public License Usage |
19 | ** Alternatively, this file may be used under the terms of the GNU |
20 | ** General Public License version 3 as published by the Free Software |
21 | ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT |
22 | ** included in the packaging of this file. Please review the following |
23 | ** information to ensure the GNU General Public License requirements will |
24 | ** be met: https://www.gnu.org/licenses/gpl-3.0.html. |
25 | ** |
26 | ** $QT_END_LICENSE$ |
27 | ** |
28 | ********************************************************************* |
29 | */ |
30 | |
31 | /******************************************************************************** |
32 | ** Form generated from reading UI file 'batchtranslation.ui' |
33 | ** |
34 | ** Created by: Qt User Interface Compiler version 5.15.9 |
35 | ** |
36 | ** WARNING! All changes made in this file will be lost when recompiling UI file! |
37 | ********************************************************************************/ |
38 | |
39 | #ifndef UI_BATCHTRANSLATION_H |
40 | #define UI_BATCHTRANSLATION_H |
41 | |
42 | #include <QtCore/QVariant> |
43 | #include <QtWidgets/QApplication> |
44 | #include <QtWidgets/QCheckBox> |
45 | #include <QtWidgets/QDialog> |
46 | #include <QtWidgets/QGroupBox> |
47 | #include <QtWidgets/QHBoxLayout> |
48 | #include <QtWidgets/QLabel> |
49 | #include <QtWidgets/QListView> |
50 | #include <QtWidgets/QPushButton> |
51 | #include <QtWidgets/QSpacerItem> |
52 | #include <QtWidgets/QVBoxLayout> |
53 | |
54 | QT_BEGIN_NAMESPACE |
55 | |
56 | class Ui_BatchTranslationDialog |
57 | { |
58 | public: |
59 | QVBoxLayout *vboxLayout; |
60 | QGroupBox *groupBox; |
61 | QVBoxLayout *vboxLayout1; |
62 | QCheckBox *ckMarkFinished; |
63 | QCheckBox *ckTranslateTranslated; |
64 | QCheckBox *ckTranslateFinished; |
65 | QGroupBox *groupBox_2; |
66 | QVBoxLayout *vboxLayout2; |
67 | QHBoxLayout *hboxLayout; |
68 | QListView *phrasebookList; |
69 | QVBoxLayout *vboxLayout3; |
70 | QPushButton *moveUpButton; |
71 | QPushButton *moveDownButton; |
72 | QSpacerItem *spacerItem; |
73 | QLabel *label; |
74 | QHBoxLayout *hboxLayout1; |
75 | QSpacerItem *spacerItem1; |
76 | QPushButton *runButton; |
77 | QPushButton *cancelButton; |
78 | |
79 | void setupUi(QDialog *batchTranslationDialog) |
80 | { |
81 | if (batchTranslationDialog->objectName().isEmpty()) |
82 | batchTranslationDialog->setObjectName(QString::fromUtf8(str: "batchTranslationDialog" )); |
83 | batchTranslationDialog->resize(w: 437, h: 492); |
84 | vboxLayout = new QVBoxLayout(batchTranslationDialog); |
85 | #ifndef Q_OS_MAC |
86 | vboxLayout->setSpacing(6); |
87 | #endif |
88 | #ifndef Q_OS_MAC |
89 | vboxLayout->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9); |
90 | #endif |
91 | vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout" )); |
92 | groupBox = new QGroupBox(batchTranslationDialog); |
93 | groupBox->setObjectName(QString::fromUtf8(str: "groupBox" )); |
94 | QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum); |
95 | sizePolicy.setHorizontalStretch(0); |
96 | sizePolicy.setVerticalStretch(0); |
97 | sizePolicy.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth()); |
98 | groupBox->setSizePolicy(sizePolicy); |
99 | vboxLayout1 = new QVBoxLayout(groupBox); |
100 | #ifndef Q_OS_MAC |
101 | vboxLayout1->setSpacing(6); |
102 | #endif |
103 | #ifndef Q_OS_MAC |
104 | vboxLayout1->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9); |
105 | #endif |
106 | vboxLayout1->setObjectName(QString::fromUtf8(str: "vboxLayout1" )); |
107 | ckMarkFinished = new QCheckBox(groupBox); |
108 | ckMarkFinished->setObjectName(QString::fromUtf8(str: "ckMarkFinished" )); |
109 | ckMarkFinished->setChecked(true); |
110 | |
111 | vboxLayout1->addWidget(ckMarkFinished); |
112 | |
113 | ckTranslateTranslated = new QCheckBox(groupBox); |
114 | ckTranslateTranslated->setObjectName(QString::fromUtf8(str: "ckTranslateTranslated" )); |
115 | ckTranslateTranslated->setChecked(false); |
116 | |
117 | vboxLayout1->addWidget(ckTranslateTranslated); |
118 | |
119 | ckTranslateFinished = new QCheckBox(groupBox); |
120 | ckTranslateFinished->setObjectName(QString::fromUtf8(str: "ckTranslateFinished" )); |
121 | |
122 | vboxLayout1->addWidget(ckTranslateFinished); |
123 | |
124 | |
125 | vboxLayout->addWidget(groupBox); |
126 | |
127 | groupBox_2 = new QGroupBox(batchTranslationDialog); |
128 | groupBox_2->setObjectName(QString::fromUtf8(str: "groupBox_2" )); |
129 | QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Minimum); |
130 | sizePolicy1.setHorizontalStretch(0); |
131 | sizePolicy1.setVerticalStretch(0); |
132 | sizePolicy1.setHeightForWidth(groupBox_2->sizePolicy().hasHeightForWidth()); |
133 | groupBox_2->setSizePolicy(sizePolicy1); |
134 | vboxLayout2 = new QVBoxLayout(groupBox_2); |
135 | #ifndef Q_OS_MAC |
136 | vboxLayout2->setSpacing(6); |
137 | #endif |
138 | #ifndef Q_OS_MAC |
139 | vboxLayout2->setContentsMargins(left: 9, top: 9, right: 9, bottom: 9); |
140 | #endif |
141 | vboxLayout2->setObjectName(QString::fromUtf8(str: "vboxLayout2" )); |
142 | hboxLayout = new QHBoxLayout(); |
143 | #ifndef Q_OS_MAC |
144 | hboxLayout->setSpacing(6); |
145 | #endif |
146 | #ifndef Q_OS_MAC |
147 | hboxLayout->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); |
148 | #endif |
149 | hboxLayout->setObjectName(QString::fromUtf8(str: "hboxLayout" )); |
150 | phrasebookList = new QListView(groupBox_2); |
151 | phrasebookList->setObjectName(QString::fromUtf8(str: "phrasebookList" )); |
152 | phrasebookList->setUniformItemSizes(true); |
153 | |
154 | hboxLayout->addWidget(phrasebookList); |
155 | |
156 | vboxLayout3 = new QVBoxLayout(); |
157 | #ifndef Q_OS_MAC |
158 | vboxLayout3->setSpacing(6); |
159 | #endif |
160 | vboxLayout3->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); |
161 | vboxLayout3->setObjectName(QString::fromUtf8(str: "vboxLayout3" )); |
162 | moveUpButton = new QPushButton(groupBox_2); |
163 | moveUpButton->setObjectName(QString::fromUtf8(str: "moveUpButton" )); |
164 | |
165 | vboxLayout3->addWidget(moveUpButton); |
166 | |
167 | moveDownButton = new QPushButton(groupBox_2); |
168 | moveDownButton->setObjectName(QString::fromUtf8(str: "moveDownButton" )); |
169 | |
170 | vboxLayout3->addWidget(moveDownButton); |
171 | |
172 | spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
173 | |
174 | vboxLayout3->addItem(spacerItem); |
175 | |
176 | |
177 | hboxLayout->addLayout(layout: vboxLayout3); |
178 | |
179 | |
180 | vboxLayout2->addLayout(layout: hboxLayout); |
181 | |
182 | label = new QLabel(groupBox_2); |
183 | label->setObjectName(QString::fromUtf8(str: "label" )); |
184 | label->setWordWrap(true); |
185 | |
186 | vboxLayout2->addWidget(label); |
187 | |
188 | |
189 | vboxLayout->addWidget(groupBox_2); |
190 | |
191 | hboxLayout1 = new QHBoxLayout(); |
192 | #ifndef Q_OS_MAC |
193 | hboxLayout1->setSpacing(6); |
194 | #endif |
195 | hboxLayout1->setContentsMargins(left: 0, top: 0, right: 0, bottom: 0); |
196 | hboxLayout1->setObjectName(QString::fromUtf8(str: "hboxLayout1" )); |
197 | spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
198 | |
199 | hboxLayout1->addItem(spacerItem1); |
200 | |
201 | runButton = new QPushButton(batchTranslationDialog); |
202 | runButton->setObjectName(QString::fromUtf8(str: "runButton" )); |
203 | |
204 | hboxLayout1->addWidget(runButton); |
205 | |
206 | cancelButton = new QPushButton(batchTranslationDialog); |
207 | cancelButton->setObjectName(QString::fromUtf8(str: "cancelButton" )); |
208 | |
209 | hboxLayout1->addWidget(cancelButton); |
210 | |
211 | |
212 | vboxLayout->addLayout(layout: hboxLayout1); |
213 | |
214 | |
215 | retranslateUi(batchTranslationDialog); |
216 | QObject::connect(sender: cancelButton, SIGNAL(clicked()), receiver: batchTranslationDialog, SLOT(reject())); |
217 | |
218 | QMetaObject::connectSlotsByName(o: batchTranslationDialog); |
219 | } // setupUi |
220 | |
221 | void retranslateUi(QDialog *batchTranslationDialog) |
222 | { |
223 | batchTranslationDialog->setWindowTitle(QCoreApplication::translate(context: "BatchTranslationDialog" , key: "Qt Linguist - Batch Translation" , disambiguation: nullptr)); |
224 | groupBox->setTitle(QCoreApplication::translate(context: "BatchTranslationDialog" , key: "Options" , disambiguation: nullptr)); |
225 | #if QT_CONFIG(tooltip) |
226 | ckMarkFinished->setToolTip(QString()); |
227 | #endif // QT_CONFIG(tooltip) |
228 | ckMarkFinished->setText(QCoreApplication::translate(context: "BatchTranslationDialog" , key: "Set translated entries to finished" , disambiguation: nullptr)); |
229 | ckTranslateTranslated->setText(QCoreApplication::translate(context: "BatchTranslationDialog" , key: "Retranslate entries with existing translation" , disambiguation: nullptr)); |
230 | #if QT_CONFIG(tooltip) |
231 | ckTranslateFinished->setToolTip(QCoreApplication::translate(context: "BatchTranslationDialog" , key: "Note that the modified entries will be reset to unfinished if 'Set translated entries to finished' above is unchecked" , disambiguation: nullptr)); |
232 | #endif // QT_CONFIG(tooltip) |
233 | ckTranslateFinished->setText(QCoreApplication::translate(context: "BatchTranslationDialog" , key: "Translate also finished entries" , disambiguation: nullptr)); |
234 | groupBox_2->setTitle(QCoreApplication::translate(context: "BatchTranslationDialog" , key: "Phrase book preference" , disambiguation: nullptr)); |
235 | moveUpButton->setText(QCoreApplication::translate(context: "BatchTranslationDialog" , key: "Move up" , disambiguation: nullptr)); |
236 | moveDownButton->setText(QCoreApplication::translate(context: "BatchTranslationDialog" , key: "Move down" , disambiguation: nullptr)); |
237 | label->setText(QCoreApplication::translate(context: "BatchTranslationDialog" , key: "The batch translator will search through the selected phrase books in the order given above" , disambiguation: nullptr)); |
238 | runButton->setText(QCoreApplication::translate(context: "BatchTranslationDialog" , key: "&Run" , disambiguation: nullptr)); |
239 | cancelButton->setText(QCoreApplication::translate(context: "BatchTranslationDialog" , key: "Cancel" , disambiguation: nullptr)); |
240 | } // retranslateUi |
241 | |
242 | }; |
243 | |
244 | namespace Ui { |
245 | class BatchTranslationDialog: public Ui_BatchTranslationDialog {}; |
246 | } // namespace Ui |
247 | |
248 | QT_END_NAMESPACE |
249 | |
250 | #endif // UI_BATCHTRANSLATION_H |
251 | |