| 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 autotests 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.12.0 |
| 35 |
** |
| 36 |
** WARNING! All changes made in this file will be lost when recompiling UI file! |
| 37 |
********************************************************************************/ |
| 38 |
|
| 39 |
#ifndef BATCHTRANSLATION_H |
| 40 |
#define 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_databaseTranslationDialog |
| 57 |
{ |
| 58 |
public: |
| 59 |
QVBoxLayout *vboxLayout; |
| 60 |
QGroupBox *groupBox; |
| 61 |
QVBoxLayout *vboxLayout1; |
| 62 |
QCheckBox *ckOnlyUntranslated; |
| 63 |
QCheckBox *ckMarkFinished; |
| 64 |
QGroupBox *groupBox_2; |
| 65 |
QVBoxLayout *vboxLayout2; |
| 66 |
QHBoxLayout *hboxLayout; |
| 67 |
QListView *phrasebookList; |
| 68 |
QVBoxLayout *vboxLayout3; |
| 69 |
QPushButton *moveUpButton; |
| 70 |
QPushButton *moveDownButton; |
| 71 |
QSpacerItem *spacerItem; |
| 72 |
QLabel *label; |
| 73 |
QHBoxLayout *hboxLayout1; |
| 74 |
QSpacerItem *spacerItem1; |
| 75 |
QPushButton *runButton; |
| 76 |
QPushButton *cancelButton; |
| 77 |
|
| 78 |
void setupUi(QDialog *databaseTranslationDialog) |
| 79 |
{ |
| 80 |
if (databaseTranslationDialog->objectName().isEmpty()) |
| 81 |
databaseTranslationDialog->setObjectName(QString::fromUtf8("databaseTranslationDialog")); |
| 82 |
databaseTranslationDialog->resize(425, 370); |
| 83 |
vboxLayout = new QVBoxLayout(databaseTranslationDialog); |
| 84 |
#ifndef Q_OS_MAC |
| 85 |
vboxLayout->setSpacing(6); |
| 86 |
#endif |
| 87 |
#ifndef Q_OS_MAC |
| 88 |
vboxLayout->setContentsMargins(9, 9, 9, 9); |
| 89 |
#endif |
| 90 |
vboxLayout->setObjectName(QString::fromUtf8("vboxLayout")); |
| 91 |
groupBox = new QGroupBox(databaseTranslationDialog); |
| 92 |
groupBox->setObjectName(QString::fromUtf8("groupBox")); |
| 93 |
QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum); |
| 94 |
sizePolicy.setHorizontalStretch(0); |
| 95 |
sizePolicy.setVerticalStretch(0); |
| 96 |
sizePolicy.setHeightForWidth(groupBox->sizePolicy().hasHeightForWidth()); |
| 97 |
groupBox->setSizePolicy(sizePolicy); |
| 98 |
vboxLayout1 = new QVBoxLayout(groupBox); |
| 99 |
#ifndef Q_OS_MAC |
| 100 |
vboxLayout1->setSpacing(6); |
| 101 |
#endif |
| 102 |
#ifndef Q_OS_MAC |
| 103 |
vboxLayout1->setContentsMargins(9, 9, 9, 9); |
| 104 |
#endif |
| 105 |
vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1")); |
| 106 |
ckOnlyUntranslated = new QCheckBox(groupBox); |
| 107 |
ckOnlyUntranslated->setObjectName(QString::fromUtf8("ckOnlyUntranslated")); |
| 108 |
ckOnlyUntranslated->setChecked(true); |
| 109 |
|
| 110 |
vboxLayout1->addWidget(ckOnlyUntranslated); |
| 111 |
|
| 112 |
ckMarkFinished = new QCheckBox(groupBox); |
| 113 |
ckMarkFinished->setObjectName(QString::fromUtf8("ckMarkFinished")); |
| 114 |
ckMarkFinished->setChecked(true); |
| 115 |
|
| 116 |
vboxLayout1->addWidget(ckMarkFinished); |
| 117 |
|
| 118 |
|
| 119 |
vboxLayout->addWidget(groupBox); |
| 120 |
|
| 121 |
groupBox_2 = new QGroupBox(databaseTranslationDialog); |
| 122 |
groupBox_2->setObjectName(QString::fromUtf8("groupBox_2")); |
| 123 |
QSizePolicy sizePolicy1(QSizePolicy::Preferred, QSizePolicy::Minimum); |
| 124 |
sizePolicy1.setHorizontalStretch(0); |
| 125 |
sizePolicy1.setVerticalStretch(0); |
| 126 |
sizePolicy1.setHeightForWidth(groupBox_2->sizePolicy().hasHeightForWidth()); |
| 127 |
groupBox_2->setSizePolicy(sizePolicy1); |
| 128 |
vboxLayout2 = new QVBoxLayout(groupBox_2); |
| 129 |
#ifndef Q_OS_MAC |
| 130 |
vboxLayout2->setSpacing(6); |
| 131 |
#endif |
| 132 |
#ifndef Q_OS_MAC |
| 133 |
vboxLayout2->setContentsMargins(9, 9, 9, 9); |
| 134 |
#endif |
| 135 |
vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2")); |
| 136 |
hboxLayout = new QHBoxLayout(); |
| 137 |
#ifndef Q_OS_MAC |
| 138 |
hboxLayout->setSpacing(6); |
| 139 |
#endif |
| 140 |
#ifndef Q_OS_MAC |
| 141 |
hboxLayout->setContentsMargins(0, 0, 0, 0); |
| 142 |
#endif |
| 143 |
hboxLayout->setObjectName(QString::fromUtf8("hboxLayout")); |
| 144 |
phrasebookList = new QListView(groupBox_2); |
| 145 |
phrasebookList->setObjectName(QString::fromUtf8("phrasebookList")); |
| 146 |
phrasebookList->setUniformItemSizes(true); |
| 147 |
|
| 148 |
hboxLayout->addWidget(phrasebookList); |
| 149 |
|
| 150 |
vboxLayout3 = new QVBoxLayout(); |
| 151 |
#ifndef Q_OS_MAC |
| 152 |
vboxLayout3->setSpacing(6); |
| 153 |
#endif |
| 154 |
vboxLayout3->setContentsMargins(0, 0, 0, 0); |
| 155 |
vboxLayout3->setObjectName(QString::fromUtf8("vboxLayout3")); |
| 156 |
moveUpButton = new QPushButton(groupBox_2); |
| 157 |
moveUpButton->setObjectName(QString::fromUtf8("moveUpButton")); |
| 158 |
|
| 159 |
vboxLayout3->addWidget(moveUpButton); |
| 160 |
|
| 161 |
moveDownButton = new QPushButton(groupBox_2); |
| 162 |
moveDownButton->setObjectName(QString::fromUtf8("moveDownButton")); |
| 163 |
|
| 164 |
vboxLayout3->addWidget(moveDownButton); |
| 165 |
|
| 166 |
spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding); |
| 167 |
|
| 168 |
vboxLayout3->addItem(spacerItem); |
| 169 |
|
| 170 |
|
| 171 |
hboxLayout->addLayout(vboxLayout3); |
| 172 |
|
| 173 |
|
| 174 |
vboxLayout2->addLayout(hboxLayout); |
| 175 |
|
| 176 |
label = new QLabel(groupBox_2); |
| 177 |
label->setObjectName(QString::fromUtf8("label")); |
| 178 |
label->setWordWrap(true); |
| 179 |
|
| 180 |
vboxLayout2->addWidget(label); |
| 181 |
|
| 182 |
|
| 183 |
vboxLayout->addWidget(groupBox_2); |
| 184 |
|
| 185 |
hboxLayout1 = new QHBoxLayout(); |
| 186 |
#ifndef Q_OS_MAC |
| 187 |
hboxLayout1->setSpacing(6); |
| 188 |
#endif |
| 189 |
hboxLayout1->setContentsMargins(0, 0, 0, 0); |
| 190 |
hboxLayout1->setObjectName(QString::fromUtf8("hboxLayout1")); |
| 191 |
spacerItem1 = new QSpacerItem(40, 20, QSizePolicy::Expanding, QSizePolicy::Minimum); |
| 192 |
|
| 193 |
hboxLayout1->addItem(spacerItem1); |
| 194 |
|
| 195 |
runButton = new QPushButton(databaseTranslationDialog); |
| 196 |
runButton->setObjectName(QString::fromUtf8("runButton")); |
| 197 |
|
| 198 |
hboxLayout1->addWidget(runButton); |
| 199 |
|
| 200 |
cancelButton = new QPushButton(databaseTranslationDialog); |
| 201 |
cancelButton->setObjectName(QString::fromUtf8("cancelButton")); |
| 202 |
|
| 203 |
hboxLayout1->addWidget(cancelButton); |
| 204 |
|
| 205 |
|
| 206 |
vboxLayout->addLayout(hboxLayout1); |
| 207 |
|
| 208 |
|
| 209 |
retranslateUi(databaseTranslationDialog); |
| 210 |
|
| 211 |
QMetaObject::connectSlotsByName(databaseTranslationDialog); |
| 212 |
} // setupUi |
| 213 |
|
| 214 |
void retranslateUi(QDialog *databaseTranslationDialog) |
| 215 |
{ |
| 216 |
databaseTranslationDialog->setWindowTitle(QCoreApplication::translate("databaseTranslationDialog", "Qt Linguist - Batch Translation", nullptr)); |
| 217 |
groupBox->setTitle(QCoreApplication::translate("databaseTranslationDialog", "Options", nullptr)); |
| 218 |
ckOnlyUntranslated->setText(QCoreApplication::translate("databaseTranslationDialog", "Only translate entries with no translation", nullptr)); |
| 219 |
ckMarkFinished->setText(QCoreApplication::translate("databaseTranslationDialog", "Set translated entries to finished", nullptr)); |
| 220 |
groupBox_2->setTitle(QCoreApplication::translate("databaseTranslationDialog", "Phrase book preference", nullptr)); |
| 221 |
moveUpButton->setText(QCoreApplication::translate("databaseTranslationDialog", "Move up", nullptr)); |
| 222 |
moveDownButton->setText(QCoreApplication::translate("databaseTranslationDialog", "Move down", nullptr)); |
| 223 |
label->setText(QCoreApplication::translate("databaseTranslationDialog", "The batch translator will search through the selected phrasebooks in the order given above.", nullptr)); |
| 224 |
runButton->setText(QCoreApplication::translate("databaseTranslationDialog", "&Run", nullptr)); |
| 225 |
cancelButton->setText(QCoreApplication::translate("databaseTranslationDialog", "&Cancel", nullptr)); |
| 226 |
} // retranslateUi |
| 227 |
|
| 228 |
}; |
| 229 |
|
| 230 |
namespace Ui { |
| 231 |
class databaseTranslationDialog: public Ui_databaseTranslationDialog {}; |
| 232 |
} // namespace Ui |
| 233 |
|
| 234 |
QT_END_NAMESPACE |
| 235 |
|
| 236 |
#endif // BATCHTRANSLATION_H |