|
1 <!DOCTYPE UI><UI version="3.0" stdsetdef="1"> |
|
2 <class>ReplaceDialog</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 autotests 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>ReplaceDialog</cstring> |
|
46 </property> |
|
47 <property name="geometry"> |
|
48 <rect> |
|
49 <x>0</x> |
|
50 <y>0</y> |
|
51 <width>286</width> |
|
52 <height>217</height> |
|
53 </rect> |
|
54 </property> |
|
55 <property name="caption"> |
|
56 <string>Replace 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>Layout3</cstring> |
|
71 </property> |
|
72 <grid> |
|
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" row="1" column="0"> |
|
83 <property name="name"> |
|
84 <cstring>TextLabel2</cstring> |
|
85 </property> |
|
86 <property name="text"> |
|
87 <string>R&eplace</string> |
|
88 </property> |
|
89 <property name="buddy" stdset="0"> |
|
90 <cstring>comboReplace</cstring> |
|
91 </property> |
|
92 </widget> |
|
93 <widget class="QLabel" row="0" column="0"> |
|
94 <property name="name"> |
|
95 <cstring>TextLabel1</cstring> |
|
96 </property> |
|
97 <property name="text"> |
|
98 <string>&Find</string> |
|
99 </property> |
|
100 <property name="buddy" stdset="0"> |
|
101 <cstring>comboFind</cstring> |
|
102 </property> |
|
103 </widget> |
|
104 <widget class="QComboBox" row="0" column="1"> |
|
105 <property name="name"> |
|
106 <cstring>comboFind</cstring> |
|
107 </property> |
|
108 <property name="sizePolicy"> |
|
109 <sizepolicy> |
|
110 <hsizetype>7</hsizetype> |
|
111 <vsizetype>0</vsizetype> |
|
112 <horstretch>0</horstretch> |
|
113 <verstretch>0</verstretch> |
|
114 </sizepolicy> |
|
115 </property> |
|
116 <property name="editable"> |
|
117 <bool>true</bool> |
|
118 </property> |
|
119 </widget> |
|
120 <widget class="QComboBox" row="1" column="1"> |
|
121 <property name="name"> |
|
122 <cstring>comboReplace</cstring> |
|
123 </property> |
|
124 <property name="sizePolicy"> |
|
125 <sizepolicy> |
|
126 <hsizetype>7</hsizetype> |
|
127 <vsizetype>0</vsizetype> |
|
128 <horstretch>0</horstretch> |
|
129 <verstretch>0</verstretch> |
|
130 </sizepolicy> |
|
131 </property> |
|
132 <property name="editable"> |
|
133 <bool>true</bool> |
|
134 </property> |
|
135 </widget> |
|
136 </grid> |
|
137 </widget> |
|
138 <widget class="QLayoutWidget" row="2" column="0" rowspan="1" colspan="2"> |
|
139 <property name="name"> |
|
140 <cstring>Layout5</cstring> |
|
141 </property> |
|
142 <hbox> |
|
143 <property name="name"> |
|
144 <cstring>unnamed</cstring> |
|
145 </property> |
|
146 <property name="margin"> |
|
147 <number>0</number> |
|
148 </property> |
|
149 <property name="spacing"> |
|
150 <number>6</number> |
|
151 </property> |
|
152 <spacer> |
|
153 <property name="name"> |
|
154 <cstring>Spacer1</cstring> |
|
155 </property> |
|
156 <property name="orientation"> |
|
157 <enum>Horizontal</enum> |
|
158 </property> |
|
159 <property name="sizeType"> |
|
160 <enum>Expanding</enum> |
|
161 </property> |
|
162 <property name="sizeHint"> |
|
163 <size> |
|
164 <width>20</width> |
|
165 <height>20</height> |
|
166 </size> |
|
167 </property> |
|
168 </spacer> |
|
169 <widget class="QPushButton"> |
|
170 <property name="name"> |
|
171 <cstring>buttonReplace</cstring> |
|
172 </property> |
|
173 <property name="text"> |
|
174 <string>&Replace</string> |
|
175 </property> |
|
176 <property name="default"> |
|
177 <bool>true</bool> |
|
178 </property> |
|
179 </widget> |
|
180 <widget class="QPushButton"> |
|
181 <property name="name"> |
|
182 <cstring>buttonReplaceAll</cstring> |
|
183 </property> |
|
184 <property name="text"> |
|
185 <string>Replace &All</string> |
|
186 </property> |
|
187 </widget> |
|
188 <widget class="QPushButton"> |
|
189 <property name="name"> |
|
190 <cstring>PushButton2</cstring> |
|
191 </property> |
|
192 <property name="text"> |
|
193 <string>&Close</string> |
|
194 </property> |
|
195 </widget> |
|
196 </hbox> |
|
197 </widget> |
|
198 <widget class="QButtonGroup" row="1" column="0"> |
|
199 <property name="name"> |
|
200 <cstring>ButtonGroup1</cstring> |
|
201 </property> |
|
202 <property name="title"> |
|
203 <string>Options</string> |
|
204 </property> |
|
205 <vbox> |
|
206 <property name="name"> |
|
207 <cstring>unnamed</cstring> |
|
208 </property> |
|
209 <property name="margin"> |
|
210 <number>11</number> |
|
211 </property> |
|
212 <property name="spacing"> |
|
213 <number>6</number> |
|
214 </property> |
|
215 <widget class="QCheckBox"> |
|
216 <property name="name"> |
|
217 <cstring>checkWords</cstring> |
|
218 </property> |
|
219 <property name="text"> |
|
220 <string>&Whole words only</string> |
|
221 </property> |
|
222 </widget> |
|
223 <widget class="QCheckBox"> |
|
224 <property name="name"> |
|
225 <cstring>checkCase</cstring> |
|
226 </property> |
|
227 <property name="text"> |
|
228 <string>Case &sensitive</string> |
|
229 </property> |
|
230 </widget> |
|
231 <widget class="QCheckBox"> |
|
232 <property name="name"> |
|
233 <cstring>checkBegin</cstring> |
|
234 </property> |
|
235 <property name="text"> |
|
236 <string>Start at &Beginning</string> |
|
237 </property> |
|
238 </widget> |
|
239 </vbox> |
|
240 </widget> |
|
241 <widget class="QButtonGroup" row="1" column="1"> |
|
242 <property name="name"> |
|
243 <cstring>ButtonGroup2</cstring> |
|
244 </property> |
|
245 <property name="title"> |
|
246 <string>Direction</string> |
|
247 </property> |
|
248 <vbox> |
|
249 <property name="name"> |
|
250 <cstring>unnamed</cstring> |
|
251 </property> |
|
252 <property name="margin"> |
|
253 <number>11</number> |
|
254 </property> |
|
255 <property name="spacing"> |
|
256 <number>6</number> |
|
257 </property> |
|
258 <widget class="QRadioButton"> |
|
259 <property name="name"> |
|
260 <cstring>radioForward</cstring> |
|
261 </property> |
|
262 <property name="text"> |
|
263 <string>Forwar&d</string> |
|
264 </property> |
|
265 <property name="checked"> |
|
266 <bool>true</bool> |
|
267 </property> |
|
268 </widget> |
|
269 <widget class="QRadioButton"> |
|
270 <property name="name"> |
|
271 <cstring>radioBackward</cstring> |
|
272 </property> |
|
273 <property name="text"> |
|
274 <string>Bac&kward</string> |
|
275 </property> |
|
276 </widget> |
|
277 </vbox> |
|
278 </widget> |
|
279 </grid> |
|
280 </widget> |
|
281 <connections> |
|
282 <connection> |
|
283 <sender>buttonReplace</sender> |
|
284 <signal>clicked()</signal> |
|
285 <receiver>ReplaceDialog</receiver> |
|
286 <slot>doReplace()</slot> |
|
287 </connection> |
|
288 <connection> |
|
289 <sender>buttonReplaceAll</sender> |
|
290 <signal>clicked()</signal> |
|
291 <receiver>ReplaceDialog</receiver> |
|
292 <slot>doReplaceAll()</slot> |
|
293 </connection> |
|
294 <connection> |
|
295 <sender>PushButton2</sender> |
|
296 <signal>clicked()</signal> |
|
297 <receiver>ReplaceDialog</receiver> |
|
298 <slot>reject()</slot> |
|
299 </connection> |
|
300 </connections> |
|
301 <tabstops> |
|
302 <tabstop>comboFind</tabstop> |
|
303 <tabstop>comboReplace</tabstop> |
|
304 <tabstop>checkWords</tabstop> |
|
305 <tabstop>checkCase</tabstop> |
|
306 <tabstop>checkBegin</tabstop> |
|
307 <tabstop>radioForward</tabstop> |
|
308 <tabstop>radioBackward</tabstop> |
|
309 <tabstop>buttonReplace</tabstop> |
|
310 <tabstop>buttonReplaceAll</tabstop> |
|
311 <tabstop>PushButton2</tabstop> |
|
312 </tabstops> |
|
313 <includes> |
|
314 <include location="local" impldecl="in implementation">../interfaces/editorinterface.h</include> |
|
315 <include location="global" impldecl="in implementation">qlineedit.h</include> |
|
316 <include location="local" impldecl="in implementation">replacedialog.ui.h</include> |
|
317 </includes> |
|
318 <forwards> |
|
319 <forward>struct EditorInterface;</forward> |
|
320 </forwards> |
|
321 <variables> |
|
322 <variable>EditorInterface *editor;</variable> |
|
323 <variable>QObject *formWindow;</variable> |
|
324 </variables> |
|
325 <slots> |
|
326 <slot>init()</slot> |
|
327 <slot>destroy()</slot> |
|
328 <slot>doReplace()</slot> |
|
329 <slot>doReplaceAll()</slot> |
|
330 <slot>setEditor( EditorInterface * e, QObject * fw )</slot> |
|
331 </slots> |
|
332 <layoutdefaults spacing="6" margin="11"/> |
|
333 </UI> |