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 'finddialog.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_FINDDIALOG_H |
40 | #define UI_FINDDIALOG_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_FindDialog |
58 | { |
59 | public: |
60 | QHBoxLayout *hboxLayout; |
61 | QVBoxLayout *vboxLayout; |
62 | QHBoxLayout *hboxLayout1; |
63 | QLabel *findWhat; |
64 | QLineEdit *led; |
65 | QGroupBox *groupBox; |
66 | QGridLayout *gridLayout; |
67 | QCheckBox *useRegExp; |
68 | QCheckBox *matchCase; |
69 | QCheckBox *sourceText; |
70 | QCheckBox *skipObsolete; |
71 | QCheckBox *; |
72 | QCheckBox *ignoreAccelerators; |
73 | QCheckBox *translations; |
74 | QVBoxLayout *vboxLayout1; |
75 | QPushButton *findNxt; |
76 | QPushButton *cancel; |
77 | QSpacerItem *spacerItem; |
78 | |
79 | void setupUi(QDialog *FindDialog) |
80 | { |
81 | if (FindDialog->objectName().isEmpty()) |
82 | FindDialog->setObjectName(QString::fromUtf8(str: "FindDialog" )); |
83 | FindDialog->resize(w: 414, h: 175); |
84 | QSizePolicy sizePolicy(QSizePolicy::Preferred, QSizePolicy::Maximum); |
85 | sizePolicy.setHorizontalStretch(0); |
86 | sizePolicy.setVerticalStretch(0); |
87 | sizePolicy.setHeightForWidth(FindDialog->sizePolicy().hasHeightForWidth()); |
88 | FindDialog->setSizePolicy(sizePolicy); |
89 | hboxLayout = new QHBoxLayout(FindDialog); |
90 | hboxLayout->setSpacing(6); |
91 | hboxLayout->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11); |
92 | hboxLayout->setObjectName(QString::fromUtf8(str: "hboxLayout" )); |
93 | hboxLayout->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11); |
94 | vboxLayout = new QVBoxLayout(); |
95 | vboxLayout->setSpacing(6); |
96 | vboxLayout->setObjectName(QString::fromUtf8(str: "vboxLayout" )); |
97 | hboxLayout1 = new QHBoxLayout(); |
98 | hboxLayout1->setSpacing(6); |
99 | hboxLayout1->setObjectName(QString::fromUtf8(str: "hboxLayout1" )); |
100 | findWhat = new QLabel(FindDialog); |
101 | findWhat->setObjectName(QString::fromUtf8(str: "findWhat" )); |
102 | |
103 | hboxLayout1->addWidget(findWhat); |
104 | |
105 | led = new QLineEdit(FindDialog); |
106 | led->setObjectName(QString::fromUtf8(str: "led" )); |
107 | |
108 | hboxLayout1->addWidget(led); |
109 | |
110 | |
111 | vboxLayout->addLayout(layout: hboxLayout1); |
112 | |
113 | groupBox = new QGroupBox(FindDialog); |
114 | groupBox->setObjectName(QString::fromUtf8(str: "groupBox" )); |
115 | gridLayout = new QGridLayout(groupBox); |
116 | gridLayout->setSpacing(6); |
117 | gridLayout->setContentsMargins(left: 11, top: 11, right: 11, bottom: 11); |
118 | gridLayout->setObjectName(QString::fromUtf8(str: "gridLayout" )); |
119 | useRegExp = new QCheckBox(groupBox); |
120 | useRegExp->setObjectName(QString::fromUtf8(str: "useRegExp" )); |
121 | |
122 | gridLayout->addWidget(useRegExp, row: 1, column: 1, rowSpan: 1, columnSpan: 1); |
123 | |
124 | matchCase = new QCheckBox(groupBox); |
125 | matchCase->setObjectName(QString::fromUtf8(str: "matchCase" )); |
126 | |
127 | gridLayout->addWidget(matchCase, row: 0, column: 1, rowSpan: 1, columnSpan: 1); |
128 | |
129 | sourceText = new QCheckBox(groupBox); |
130 | sourceText->setObjectName(QString::fromUtf8(str: "sourceText" )); |
131 | sourceText->setChecked(true); |
132 | |
133 | gridLayout->addWidget(sourceText, row: 1, column: 0, rowSpan: 1, columnSpan: 1); |
134 | |
135 | skipObsolete = new QCheckBox(groupBox); |
136 | skipObsolete->setObjectName(QString::fromUtf8(str: "skipObsolete" )); |
137 | |
138 | gridLayout->addWidget(skipObsolete, row: 3, column: 1, rowSpan: 1, columnSpan: 1); |
139 | |
140 | comments = new QCheckBox(groupBox); |
141 | comments->setObjectName(QString::fromUtf8(str: "comments" )); |
142 | comments->setChecked(true); |
143 | |
144 | gridLayout->addWidget(comments, row: 0, column: 0, rowSpan: 1, columnSpan: 1); |
145 | |
146 | ignoreAccelerators = new QCheckBox(groupBox); |
147 | ignoreAccelerators->setObjectName(QString::fromUtf8(str: "ignoreAccelerators" )); |
148 | ignoreAccelerators->setChecked(true); |
149 | |
150 | gridLayout->addWidget(ignoreAccelerators, row: 2, column: 1, rowSpan: 1, columnSpan: 1); |
151 | |
152 | translations = new QCheckBox(groupBox); |
153 | translations->setObjectName(QString::fromUtf8(str: "translations" )); |
154 | translations->setChecked(true); |
155 | |
156 | gridLayout->addWidget(translations, row: 2, column: 0, rowSpan: 1, columnSpan: 1); |
157 | |
158 | |
159 | vboxLayout->addWidget(groupBox); |
160 | |
161 | |
162 | hboxLayout->addLayout(layout: vboxLayout); |
163 | |
164 | vboxLayout1 = new QVBoxLayout(); |
165 | vboxLayout1->setSpacing(6); |
166 | vboxLayout1->setObjectName(QString::fromUtf8(str: "vboxLayout1" )); |
167 | findNxt = new QPushButton(FindDialog); |
168 | findNxt->setObjectName(QString::fromUtf8(str: "findNxt" )); |
169 | findNxt->setFlat(false); |
170 | |
171 | vboxLayout1->addWidget(findNxt); |
172 | |
173 | cancel = new QPushButton(FindDialog); |
174 | cancel->setObjectName(QString::fromUtf8(str: "cancel" )); |
175 | |
176 | vboxLayout1->addWidget(cancel); |
177 | |
178 | spacerItem = new QSpacerItem(20, 51, QSizePolicy::Minimum, QSizePolicy::Expanding); |
179 | |
180 | vboxLayout1->addItem(spacerItem); |
181 | |
182 | |
183 | hboxLayout->addLayout(layout: vboxLayout1); |
184 | |
185 | #if QT_CONFIG(shortcut) |
186 | findWhat->setBuddy(led); |
187 | #endif // QT_CONFIG(shortcut) |
188 | QWidget::setTabOrder(led, findNxt); |
189 | QWidget::setTabOrder(findNxt, cancel); |
190 | QWidget::setTabOrder(cancel, comments); |
191 | QWidget::setTabOrder(comments, sourceText); |
192 | QWidget::setTabOrder(sourceText, translations); |
193 | QWidget::setTabOrder(translations, matchCase); |
194 | |
195 | retranslateUi(FindDialog); |
196 | QObject::connect(sender: cancel, SIGNAL(clicked()), receiver: FindDialog, SLOT(reject())); |
197 | |
198 | findNxt->setDefault(true); |
199 | |
200 | |
201 | QMetaObject::connectSlotsByName(o: FindDialog); |
202 | } // setupUi |
203 | |
204 | void retranslateUi(QDialog *FindDialog) |
205 | { |
206 | FindDialog->setWindowTitle(QCoreApplication::translate(context: "FindDialog" , key: "Find" , disambiguation: nullptr)); |
207 | #if QT_CONFIG(whatsthis) |
208 | FindDialog->setWhatsThis(QCoreApplication::translate(context: "FindDialog" , key: "This window allows you to search for some text in the translation source file." , disambiguation: nullptr)); |
209 | #endif // QT_CONFIG(whatsthis) |
210 | findWhat->setText(QCoreApplication::translate(context: "FindDialog" , key: "&Find what:" , disambiguation: nullptr)); |
211 | #if QT_CONFIG(whatsthis) |
212 | led->setWhatsThis(QCoreApplication::translate(context: "FindDialog" , key: "Type in the text to search for." , disambiguation: nullptr)); |
213 | #endif // QT_CONFIG(whatsthis) |
214 | groupBox->setTitle(QCoreApplication::translate(context: "FindDialog" , key: "Options" , disambiguation: nullptr)); |
215 | #if QT_CONFIG(whatsthis) |
216 | useRegExp->setWhatsThis(QCoreApplication::translate(context: "FindDialog" , key: "Lets you use a Perl-compatible regular expression" , disambiguation: nullptr)); |
217 | #endif // QT_CONFIG(whatsthis) |
218 | useRegExp->setText(QCoreApplication::translate(context: "FindDialog" , key: "Regular &expression" , disambiguation: nullptr)); |
219 | #if QT_CONFIG(whatsthis) |
220 | matchCase->setWhatsThis(QCoreApplication::translate(context: "FindDialog" , key: "Texts such as 'TeX' and 'tex' are considered as different when checked." , disambiguation: nullptr)); |
221 | #endif // QT_CONFIG(whatsthis) |
222 | matchCase->setText(QCoreApplication::translate(context: "FindDialog" , key: "&Match case" , disambiguation: nullptr)); |
223 | #if QT_CONFIG(whatsthis) |
224 | sourceText->setWhatsThis(QCoreApplication::translate(context: "FindDialog" , key: "Source texts are searched when checked." , disambiguation: nullptr)); |
225 | #endif // QT_CONFIG(whatsthis) |
226 | sourceText->setText(QCoreApplication::translate(context: "FindDialog" , key: "&Source texts" , disambiguation: nullptr)); |
227 | #if QT_CONFIG(whatsthis) |
228 | skipObsolete->setWhatsThis(QCoreApplication::translate(context: "FindDialog" , key: "Obsoleted messages are skipped when checked." , disambiguation: nullptr)); |
229 | #endif // QT_CONFIG(whatsthis) |
230 | skipObsolete->setText(QCoreApplication::translate(context: "FindDialog" , key: "Skip &obsolete" , disambiguation: nullptr)); |
231 | #if QT_CONFIG(whatsthis) |
232 | comments->setWhatsThis(QCoreApplication::translate(context: "FindDialog" , key: "Comments and contexts are searched when checked." , disambiguation: nullptr)); |
233 | #endif // QT_CONFIG(whatsthis) |
234 | comments->setText(QCoreApplication::translate(context: "FindDialog" , key: "&Comments" , disambiguation: nullptr)); |
235 | ignoreAccelerators->setText(QCoreApplication::translate(context: "FindDialog" , key: "Ignore &accelerators" , disambiguation: nullptr)); |
236 | #if QT_CONFIG(whatsthis) |
237 | translations->setWhatsThis(QCoreApplication::translate(context: "FindDialog" , key: "Translations are searched when checked." , disambiguation: nullptr)); |
238 | #endif // QT_CONFIG(whatsthis) |
239 | translations->setText(QCoreApplication::translate(context: "FindDialog" , key: "&Translations" , disambiguation: nullptr)); |
240 | #if QT_CONFIG(whatsthis) |
241 | findNxt->setWhatsThis(QCoreApplication::translate(context: "FindDialog" , key: "Click here to find the next occurrence of the text you typed in." , disambiguation: nullptr)); |
242 | #endif // QT_CONFIG(whatsthis) |
243 | findNxt->setText(QCoreApplication::translate(context: "FindDialog" , key: "Find Next" , disambiguation: nullptr)); |
244 | #if QT_CONFIG(whatsthis) |
245 | cancel->setWhatsThis(QCoreApplication::translate(context: "FindDialog" , key: "Click here to close this window." , disambiguation: nullptr)); |
246 | #endif // QT_CONFIG(whatsthis) |
247 | cancel->setText(QCoreApplication::translate(context: "FindDialog" , key: "Cancel" , disambiguation: nullptr)); |
248 | } // retranslateUi |
249 | |
250 | }; |
251 | |
252 | namespace Ui { |
253 | class FindDialog: public Ui_FindDialog {}; |
254 | } // namespace Ui |
255 | |
256 | QT_END_NAMESPACE |
257 | |
258 | #endif // UI_FINDDIALOG_H |
259 | |