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