|
1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1"> |
|
2 <class>FindDialog</class> |
|
3 <comment>********************************************************************* |
|
4 ** |
|
5 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
6 ** All rights reserved. |
|
7 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
8 ** |
|
9 ** This file is part of the test suite of the Qt Toolkit. |
|
10 ** |
|
11 ** $QT_BEGIN_LICENSE:LGPL$ |
|
12 ** No Commercial Usage |
|
13 ** This file contains pre-release code and may not be distributed. |
|
14 ** You may use this file in accordance with the terms and conditions |
|
15 ** contained in the Technology Preview License Agreement accompanying |
|
16 ** this package. |
|
17 ** |
|
18 ** GNU Lesser General Public License Usage |
|
19 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
20 ** General Public License version 2.1 as published by the Free Software |
|
21 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
22 ** packaging of this file. Please review the following information to |
|
23 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
24 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
25 ** |
|
26 ** In addition, as a special exception, Nokia gives you certain additional |
|
27 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
28 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
29 ** |
|
30 ** If you have questions regarding the use of this file, please contact |
|
31 ** Nokia at qt-info@nokia.com. |
|
32 ** |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** |
|
39 ** |
|
40 ** $QT_END_LICENSE$ |
|
41 ** |
|
42 *********************************************************************</comment> |
|
43 <widget class="QDialog"> |
|
44 <property name="name"> |
|
45 <cstring>FindDialog</cstring> |
|
46 </property> |
|
47 <property name="geometry"> |
|
48 <rect> |
|
49 <x>0</x> |
|
50 <y>0</y> |
|
51 <width>285</width> |
|
52 <height>189</height> |
|
53 </rect> |
|
54 </property> |
|
55 <property name="caption"> |
|
56 <string>Find Text</string> |
|
57 </property> |
|
58 <grid> |
|
59 <property name="name"> |
|
60 <cstring>unnamed</cstring> |
|
61 </property> |
|
62 <property name="margin"> |
|
63 <number>11</number> |
|
64 </property> |
|
65 <property name="spacing"> |
|
66 <number>6</number> |
|
67 </property> |
|
68 <widget class="QLayoutWidget" row="0" column="0" rowspan="1" colspan="2"> |
|
69 <property name="name"> |
|
70 <cstring>Layout1</cstring> |
|
71 </property> |
|
72 <hbox> |
|
73 <property name="name"> |
|
74 <cstring>unnamed</cstring> |
|
75 </property> |
|
76 <property name="margin"> |
|
77 <number>0</number> |
|
78 </property> |
|
79 <property name="spacing"> |
|
80 <number>6</number> |
|
81 </property> |
|
82 <widget class="QLabel"> |
|
83 <property name="name"> |
|
84 <cstring>TextLabel1</cstring> |
|
85 </property> |
|
86 <property name="text"> |
|
87 <string>F&ind:</string> |
|
88 </property> |
|
89 <property name="buddy" stdset="0"> |
|
90 <cstring>comboFind</cstring> |
|
91 </property> |
|
92 </widget> |
|
93 <widget class="QComboBox"> |
|
94 <property name="name"> |
|
95 <cstring>comboFind</cstring> |
|
96 </property> |
|
97 <property name="sizePolicy"> |
|
98 <sizepolicy> |
|
99 <hsizetype>7</hsizetype> |
|
100 <vsizetype>0</vsizetype> |
|
101 <horstretch>0</horstretch> |
|
102 <verstretch>0</verstretch> |
|
103 </sizepolicy> |
|
104 </property> |
|
105 <property name="editable"> |
|
106 <bool>true</bool> |
|
107 </property> |
|
108 </widget> |
|
109 </hbox> |
|
110 </widget> |
|
111 <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> |
|
112 <property name="name"> |
|
113 <cstring>Layout2</cstring> |
|
114 </property> |
|
115 <hbox> |
|
116 <property name="name"> |
|
117 <cstring>unnamed</cstring> |
|
118 </property> |
|
119 <property name="margin"> |
|
120 <number>0</number> |
|
121 </property> |
|
122 <property name="spacing"> |
|
123 <number>6</number> |
|
124 </property> |
|
125 <spacer> |
|
126 <property name="name"> |
|
127 <cstring>Spacer1</cstring> |
|
128 </property> |
|
129 <property name="orientation"> |
|
130 <enum>Horizontal</enum> |
|
131 </property> |
|
132 <property name="sizeType"> |
|
133 <enum>Expanding</enum> |
|
134 </property> |
|
135 <property name="sizeHint"> |
|
136 <size> |
|
137 <width>20</width> |
|
138 <height>20</height> |
|
139 </size> |
|
140 </property> |
|
141 </spacer> |
|
142 <widget class="QPushButton"> |
|
143 <property name="name"> |
|
144 <cstring>PushButton1</cstring> |
|
145 </property> |
|
146 <property name="text"> |
|
147 <string>&Find</string> |
|
148 </property> |
|
149 <property name="default"> |
|
150 <bool>true</bool> |
|
151 </property> |
|
152 </widget> |
|
153 <widget class="QPushButton"> |
|
154 <property name="name"> |
|
155 <cstring>PushButton2</cstring> |
|
156 </property> |
|
157 <property name="text"> |
|
158 <string>&Close</string> |
|
159 </property> |
|
160 </widget> |
|
161 </hbox> |
|
162 </widget> |
|
163 <widget class="QButtonGroup" row="1" column="1"> |
|
164 <property name="name"> |
|
165 <cstring>ButtonGroup2</cstring> |
|
166 </property> |
|
167 <property name="title"> |
|
168 <string>Direction</string> |
|
169 </property> |
|
170 <vbox> |
|
171 <property name="name"> |
|
172 <cstring>unnamed</cstring> |
|
173 </property> |
|
174 <property name="margin"> |
|
175 <number>11</number> |
|
176 </property> |
|
177 <property name="spacing"> |
|
178 <number>6</number> |
|
179 </property> |
|
180 <widget class="QRadioButton"> |
|
181 <property name="name"> |
|
182 <cstring>radioForward</cstring> |
|
183 </property> |
|
184 <property name="text"> |
|
185 <string>Forwar&d</string> |
|
186 </property> |
|
187 <property name="checked"> |
|
188 <bool>true</bool> |
|
189 </property> |
|
190 </widget> |
|
191 <widget class="QRadioButton"> |
|
192 <property name="name"> |
|
193 <cstring>radioBackward</cstring> |
|
194 </property> |
|
195 <property name="text"> |
|
196 <string>Bac&kward</string> |
|
197 </property> |
|
198 </widget> |
|
199 </vbox> |
|
200 </widget> |
|
201 <widget class="QButtonGroup" row="1" column="0"> |
|
202 <property name="name"> |
|
203 <cstring>ButtonGroup1</cstring> |
|
204 </property> |
|
205 <property name="title"> |
|
206 <string>Options</string> |
|
207 </property> |
|
208 <vbox> |
|
209 <property name="name"> |
|
210 <cstring>unnamed</cstring> |
|
211 </property> |
|
212 <property name="margin"> |
|
213 <number>11</number> |
|
214 </property> |
|
215 <property name="spacing"> |
|
216 <number>6</number> |
|
217 </property> |
|
218 <widget class="QCheckBox"> |
|
219 <property name="name"> |
|
220 <cstring>checkWords</cstring> |
|
221 </property> |
|
222 <property name="text"> |
|
223 <string>&Whole words only</string> |
|
224 </property> |
|
225 </widget> |
|
226 <widget class="QCheckBox"> |
|
227 <property name="name"> |
|
228 <cstring>checkCase</cstring> |
|
229 </property> |
|
230 <property name="text"> |
|
231 <string>Case &sensitive</string> |
|
232 </property> |
|
233 </widget> |
|
234 <widget class="QCheckBox"> |
|
235 <property name="name"> |
|
236 <cstring>checkBegin</cstring> |
|
237 </property> |
|
238 <property name="text"> |
|
239 <string>Start at &Beginning</string> |
|
240 </property> |
|
241 </widget> |
|
242 </vbox> |
|
243 </widget> |
|
244 </grid> |
|
245 </widget> |
|
246 <connections> |
|
247 <connection> |
|
248 <sender>PushButton1</sender> |
|
249 <signal>clicked()</signal> |
|
250 <receiver>FindDialog</receiver> |
|
251 <slot>doFind()</slot> |
|
252 </connection> |
|
253 <connection> |
|
254 <sender>PushButton2</sender> |
|
255 <signal>clicked()</signal> |
|
256 <receiver>FindDialog</receiver> |
|
257 <slot>reject()</slot> |
|
258 </connection> |
|
259 </connections> |
|
260 <tabstops> |
|
261 <tabstop>comboFind</tabstop> |
|
262 <tabstop>checkWords</tabstop> |
|
263 <tabstop>checkCase</tabstop> |
|
264 <tabstop>checkBegin</tabstop> |
|
265 <tabstop>radioForward</tabstop> |
|
266 <tabstop>radioBackward</tabstop> |
|
267 <tabstop>PushButton1</tabstop> |
|
268 <tabstop>PushButton2</tabstop> |
|
269 </tabstops> |
|
270 <includes> |
|
271 <include location="global" impldecl="in implementation">qlineedit.h</include> |
|
272 <include location="local" impldecl="in implementation">../interfaces/editorinterface.h</include> |
|
273 <include location="local" impldecl="in implementation">finddialog.ui.h</include> |
|
274 </includes> |
|
275 <forwards> |
|
276 <forward>struct EditorInterface;</forward> |
|
277 </forwards> |
|
278 <variables> |
|
279 <variable>EditorInterface *editor;</variable> |
|
280 <variable>QObject *formWindow;</variable> |
|
281 </variables> |
|
282 <slots> |
|
283 <slot>init()</slot> |
|
284 <slot>destroy()</slot> |
|
285 <slot>doFind()</slot> |
|
286 <slot>setEditor( EditorInterface * e, QObject * fw )</slot> |
|
287 </slots> |
|
288 <layoutdefaults spacing="6" margin="11"/> |
|
289 </UI> |