Debian Codegraph @

tests/auto/tools/uic/baseline/translatedialog.ui.h

raw
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 'translatedialog.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 TRANSLATEDIALOG_H
40 #define TRANSLATEDIALOG_H
41
42 #include <QtCore/QVariant>
43 #include <QtWidgets/QApplication>
44 #include <QtWidgets/QCheckBox>
45 #include <QtWidgets/QDialog>
46 #include <QtWidgets/QGridLayout>
47 #include <QtWidgets/QGroupBox>
48 #include <QtWidgets/QHBoxLayout>
49 #include <QtWidgets/QLabel>
50 #include <QtWidgets/QLineEdit>
51 #include <QtWidgets/QPushButton>
52 #include <QtWidgets/QSpacerItem>
53 #include <QtWidgets/QVBoxLayout>
54
55 QT_BEGIN_NAMESPACE
56
57 class Ui_TranslateDialog
58 {
59 public:
60 QHBoxLayout *hboxLayout;
61 QVBoxLayout *vboxLayout;
62 QGridLayout *gridLayout;
63 QLineEdit *ledTranslateTo;
64 QLabel *findWhat;
65 QLabel *translateTo;
66 QLineEdit *ledFindWhat;
67 QGroupBox *groupBox;
68 QVBoxLayout *vboxLayout1;
69 QCheckBox *ckMatchCase;
70 QCheckBox *ckMarkFinished;
71 QSpacerItem *spacerItem;
72 QVBoxLayout *vboxLayout2;
73 QPushButton *findNxt;
74 QPushButton *translate;
75 QPushButton *translateAll;
76 QPushButton *cancel;
77 QSpacerItem *spacerItem1;
78
79 void setupUi(QDialog *TranslateDialog)
80 {
81 if (TranslateDialog->objectName().isEmpty())
82 TranslateDialog->setObjectName(QString::fromUtf8("TranslateDialog"));
83 TranslateDialog->resize(407, 145);
84 QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum);
85 sizePolicy.setHorizontalStretch(0);
86 sizePolicy.setVerticalStretch(0);
87 sizePolicy.setHeightForWidth(TranslateDialog->sizePolicy().hasHeightForWidth());
88 TranslateDialog->setSizePolicy(sizePolicy);
89 hboxLayout = new QHBoxLayout(TranslateDialog);
90 hboxLayout->setSpacing(6);
91 hboxLayout->setContentsMargins(11, 11, 11, 11);
92 hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
93 hboxLayout->setContentsMargins(9, 9, 9, 9);
94 vboxLayout = new QVBoxLayout();
95 vboxLayout->setSpacing(6);
96 vboxLayout->setObjectName(QString::fromUtf8("vboxLayout"));
97 vboxLayout->setContentsMargins(0, 0, 0, 0);
98 gridLayout = new QGridLayout();
99 gridLayout->setSpacing(6);
100 gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
101 gridLayout->setHorizontalSpacing(6);
102 gridLayout->setVerticalSpacing(6);
103 gridLayout->setContentsMargins(0, 0, 0, 0);
104 ledTranslateTo = new QLineEdit(TranslateDialog);
105 ledTranslateTo->setObjectName(QString::fromUtf8("ledTranslateTo"));
106
107 gridLayout->addWidget(ledTranslateTo, 1, 1, 1, 1);
108
109 findWhat = new QLabel(TranslateDialog);
110 findWhat->setObjectName(QString::fromUtf8("findWhat"));
111
112 gridLayout->addWidget(findWhat, 0, 0, 1, 1);
113
114 translateTo = new QLabel(TranslateDialog);
115 translateTo->setObjectName(QString::fromUtf8("translateTo"));
116
117 gridLayout->addWidget(translateTo, 1, 0, 1, 1);
118
119 ledFindWhat = new QLineEdit(TranslateDialog);
120 ledFindWhat->setObjectName(QString::fromUtf8("ledFindWhat"));
121
122 gridLayout->addWidget(ledFindWhat, 0, 1, 1, 1);
123
124
125 vboxLayout->addLayout(gridLayout);
126
127 groupBox = new QGroupBox(TranslateDialog);
128 groupBox->setObjectName(QString::fromUtf8("groupBox"));
129 vboxLayout1 = new QVBoxLayout(groupBox);
130 vboxLayout1->setSpacing(6);
131 vboxLayout1->setContentsMargins(11, 11, 11, 11);
132 vboxLayout1->setObjectName(QString::fromUtf8("vboxLayout1"));
133 ckMatchCase = new QCheckBox(groupBox);
134 ckMatchCase->setObjectName(QString::fromUtf8("ckMatchCase"));
135
136 vboxLayout1->addWidget(ckMatchCase);
137
138 ckMarkFinished = new QCheckBox(groupBox);
139 ckMarkFinished->setObjectName(QString::fromUtf8("ckMarkFinished"));
140
141 vboxLayout1->addWidget(ckMarkFinished);
142
143 spacerItem = new QSpacerItem(20, 40, QSizePolicy::Minimum, QSizePolicy::Expanding);
144
145 vboxLayout1->addItem(spacerItem);
146
147
148 vboxLayout->addWidget(groupBox);
149
150
151 hboxLayout->addLayout(vboxLayout);
152
153 vboxLayout2 = new QVBoxLayout();
154 vboxLayout2->setSpacing(6);
155 vboxLayout2->setObjectName(QString::fromUtf8("vboxLayout2"));
156 vboxLayout2->setContentsMargins(0, 0, 0, 0);
157 findNxt = new QPushButton(TranslateDialog);
158 findNxt->setObjectName(QString::fromUtf8("findNxt"));
159 findNxt->setFlat(false);
160
161 vboxLayout2->addWidget(findNxt);
162
163 translate = new QPushButton(TranslateDialog);
164 translate->setObjectName(QString::fromUtf8("translate"));
165
166 vboxLayout2->addWidget(translate);
167
168 translateAll = new QPushButton(TranslateDialog);
169 translateAll->setObjectName(QString::fromUtf8("translateAll"));
170
171 vboxLayout2->addWidget(translateAll);
172
173 cancel = new QPushButton(TranslateDialog);
174 cancel->setObjectName(QString::fromUtf8("cancel"));
175
176 vboxLayout2->addWidget(cancel);
177
178 spacerItem1 = new QSpacerItem(20, 51, QSizePolicy::Minimum, QSizePolicy::Expanding);
179
180 vboxLayout2->addItem(spacerItem1);
181
182
183 hboxLayout->addLayout(vboxLayout2);
184
185 #if QT_CONFIG(shortcut)
186 findWhat->setBuddy(ledFindWhat);
187 translateTo->setBuddy(ledTranslateTo);
188 #endif // QT_CONFIG(shortcut)
189 QWidget::setTabOrder(ledFindWhat, ledTranslateTo);
190 QWidget::setTabOrder(ledTranslateTo, findNxt);
191 QWidget::setTabOrder(findNxt, translate);
192 QWidget::setTabOrder(translate, translateAll);
193 QWidget::setTabOrder(translateAll, cancel);
194 QWidget::setTabOrder(cancel, ckMatchCase);
195 QWidget::setTabOrder(ckMatchCase, ckMarkFinished);
196
197 retranslateUi(TranslateDialog);
198 QObject::connect(cancel, SIGNAL(clicked()), TranslateDialog, SLOT(reject()));
199
200 findNxt->setDefault(true);
201
202
203 QMetaObject::connectSlotsByName(TranslateDialog);
204 } // setupUi
205
206 void retranslateUi(QDialog *TranslateDialog)
207 {
208 TranslateDialog->setWindowTitle(QCoreApplication::translate("TranslateDialog", "Qt Linguist", nullptr));
209 #if QT_CONFIG(whatsthis)
210 TranslateDialog->setWhatsThis(QCoreApplication::translate("TranslateDialog", "This window allows you to search for some text in the translation source file.", nullptr));
211 #endif // QT_CONFIG(whatsthis)
212 #if QT_CONFIG(whatsthis)
213 ledTranslateTo->setWhatsThis(QCoreApplication::translate("TranslateDialog", "Type in the text to search for.", nullptr));
214 #endif // QT_CONFIG(whatsthis)
215 findWhat->setText(QCoreApplication::translate("TranslateDialog", "Find &source text:", nullptr));
216 translateTo->setText(QCoreApplication::translate("TranslateDialog", "&Translate to:", nullptr));
217 #if QT_CONFIG(whatsthis)
218 ledFindWhat->setWhatsThis(QCoreApplication::translate("TranslateDialog", "Type in the text to search for.", nullptr));
219 #endif // QT_CONFIG(whatsthis)
220 groupBox->setTitle(QCoreApplication::translate("TranslateDialog", "Search options", nullptr));
221 #if QT_CONFIG(whatsthis)
222 ckMatchCase->setWhatsThis(QCoreApplication::translate("TranslateDialog", "Texts such as 'TeX' and 'tex' are considered as different when checked.", nullptr));
223 #endif // QT_CONFIG(whatsthis)
224 ckMatchCase->setText(QCoreApplication::translate("TranslateDialog", "Match &case", nullptr));
225 ckMarkFinished->setText(QCoreApplication::translate("TranslateDialog", "Mark new translation as &finished", nullptr));
226 #if QT_CONFIG(whatsthis)
227 findNxt->setWhatsThis(QCoreApplication::translate("TranslateDialog", "Click here to find the next occurrence of the text you typed in.", nullptr));
228 #endif // QT_CONFIG(whatsthis)
229 findNxt->setText(QCoreApplication::translate("TranslateDialog", "Find Next", nullptr));
230 translate->setText(QCoreApplication::translate("TranslateDialog", "Translate", nullptr));
231 translateAll->setText(QCoreApplication::translate("TranslateDialog", "Translate All", nullptr));
232 #if QT_CONFIG(whatsthis)
233 cancel->setWhatsThis(QCoreApplication::translate("TranslateDialog", "Click here to close this window.", nullptr));
234 #endif // QT_CONFIG(whatsthis)
235 cancel->setText(QCoreApplication::translate("TranslateDialog", "Cancel", nullptr));
236 } // retranslateUi
237
238 };
239
240 namespace Ui {
241 class TranslateDialog: public Ui_TranslateDialog {};
242 } // namespace Ui
243
244 QT_END_NAMESPACE
245
246 #endif // TRANSLATEDIALOG_H