1 | <!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
---|
2 | <class>FindDialog</class>
|
---|
3 | <comment>*********************************************************************
|
---|
4 | ** Copyright (C) 2000-2007 Trolltech ASA. All rights reserved.
|
---|
5 | **
|
---|
6 | ** This file is part of Qt Assistant.
|
---|
7 | **
|
---|
8 | ** This file may be distributed and/or modified under the terms of the
|
---|
9 | ** GNU General Public License version 2 as published by the Free Software
|
---|
10 | ** Foundation and appearing in the file LICENSE.GPL included in the
|
---|
11 | ** packaging of this file.
|
---|
12 | **
|
---|
13 | ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
|
---|
14 | ** licenses may use this file in accordance with the Qt Commercial License
|
---|
15 | ** Agreement provided with the Software.
|
---|
16 | **
|
---|
17 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
---|
18 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
---|
19 | **
|
---|
20 | ** See http://www.trolltech.com/gpl/ for GPL licensing information.
|
---|
21 | ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
|
---|
22 | ** information about Qt Commercial License Agreements.
|
---|
23 | **
|
---|
24 | ** Contact info@trolltech.com if any conditions of this licensing are
|
---|
25 | ** not clear to you.
|
---|
26 | **
|
---|
27 | *********************************************************************</comment>
|
---|
28 | <widget class="QDialog">
|
---|
29 | <property name="name">
|
---|
30 | <cstring>FindDialog</cstring>
|
---|
31 | </property>
|
---|
32 | <property name="geometry">
|
---|
33 | <rect>
|
---|
34 | <x>0</x>
|
---|
35 | <y>0</y>
|
---|
36 | <width>362</width>
|
---|
37 | <height>156</height>
|
---|
38 | </rect>
|
---|
39 | </property>
|
---|
40 | <property name="caption">
|
---|
41 | <string>Qt Assistant - Find Text</string>
|
---|
42 | </property>
|
---|
43 | <vbox>
|
---|
44 | <property name="name">
|
---|
45 | <cstring>unnamed</cstring>
|
---|
46 | </property>
|
---|
47 | <property name="margin">
|
---|
48 | <number>0</number>
|
---|
49 | </property>
|
---|
50 | <widget class="QLayoutWidget">
|
---|
51 | <property name="name">
|
---|
52 | <cstring>Layout5</cstring>
|
---|
53 | </property>
|
---|
54 | <grid>
|
---|
55 | <property name="name">
|
---|
56 | <cstring>unnamed</cstring>
|
---|
57 | </property>
|
---|
58 | <property name="margin">
|
---|
59 | <number>11</number>
|
---|
60 | </property>
|
---|
61 | <widget class="QButtonGroup" row="1" column="1" rowspan="2" colspan="1">
|
---|
62 | <property name="name">
|
---|
63 | <cstring>ButtonGroup2</cstring>
|
---|
64 | </property>
|
---|
65 | <property name="title">
|
---|
66 | <string>&Direction</string>
|
---|
67 | </property>
|
---|
68 | <vbox>
|
---|
69 | <property name="name">
|
---|
70 | <cstring>unnamed</cstring>
|
---|
71 | </property>
|
---|
72 | <property name="margin">
|
---|
73 | <number>11</number>
|
---|
74 | </property>
|
---|
75 | <property name="spacing">
|
---|
76 | <number>6</number>
|
---|
77 | </property>
|
---|
78 | <widget class="QRadioButton">
|
---|
79 | <property name="name">
|
---|
80 | <cstring>radioForward</cstring>
|
---|
81 | </property>
|
---|
82 | <property name="text">
|
---|
83 | <string>Fo&rward</string>
|
---|
84 | </property>
|
---|
85 | <property name="checked">
|
---|
86 | <bool>true</bool>
|
---|
87 | </property>
|
---|
88 | </widget>
|
---|
89 | <widget class="QRadioButton">
|
---|
90 | <property name="name">
|
---|
91 | <cstring>radioBackward</cstring>
|
---|
92 | </property>
|
---|
93 | <property name="text">
|
---|
94 | <string>&Backward</string>
|
---|
95 | </property>
|
---|
96 | </widget>
|
---|
97 | </vbox>
|
---|
98 | </widget>
|
---|
99 | <widget class="QLayoutWidget" row="0" column="0" rowspan="1" colspan="2">
|
---|
100 | <property name="name">
|
---|
101 | <cstring>Layout1</cstring>
|
---|
102 | </property>
|
---|
103 | <hbox>
|
---|
104 | <property name="name">
|
---|
105 | <cstring>unnamed</cstring>
|
---|
106 | </property>
|
---|
107 | <property name="margin">
|
---|
108 | <number>0</number>
|
---|
109 | </property>
|
---|
110 | <property name="spacing">
|
---|
111 | <number>6</number>
|
---|
112 | </property>
|
---|
113 | <widget class="QLabel">
|
---|
114 | <property name="name">
|
---|
115 | <cstring>TextLabel1</cstring>
|
---|
116 | </property>
|
---|
117 | <property name="text">
|
---|
118 | <string>F&ind:</string>
|
---|
119 | </property>
|
---|
120 | <property name="buddy" stdset="0">
|
---|
121 | <cstring>comboFind</cstring>
|
---|
122 | </property>
|
---|
123 | </widget>
|
---|
124 | <widget class="QComboBox">
|
---|
125 | <property name="name">
|
---|
126 | <cstring>comboFind</cstring>
|
---|
127 | </property>
|
---|
128 | <property name="sizePolicy">
|
---|
129 | <sizepolicy>
|
---|
130 | <hsizetype>7</hsizetype>
|
---|
131 | <vsizetype>0</vsizetype>
|
---|
132 | <horstretch>0</horstretch>
|
---|
133 | <verstretch>0</verstretch>
|
---|
134 | </sizepolicy>
|
---|
135 | </property>
|
---|
136 | <property name="editable">
|
---|
137 | <bool>true</bool>
|
---|
138 | </property>
|
---|
139 | <property name="duplicatesEnabled">
|
---|
140 | <bool>false</bool>
|
---|
141 | </property>
|
---|
142 | </widget>
|
---|
143 | </hbox>
|
---|
144 | </widget>
|
---|
145 | <spacer row="2" column="2">
|
---|
146 | <property name="name">
|
---|
147 | <cstring>Spacer2</cstring>
|
---|
148 | </property>
|
---|
149 | <property name="orientation">
|
---|
150 | <enum>Vertical</enum>
|
---|
151 | </property>
|
---|
152 | <property name="sizeType">
|
---|
153 | <enum>Expanding</enum>
|
---|
154 | </property>
|
---|
155 | <property name="sizeHint">
|
---|
156 | <size>
|
---|
157 | <width>31</width>
|
---|
158 | <height>0</height>
|
---|
159 | </size>
|
---|
160 | </property>
|
---|
161 | </spacer>
|
---|
162 | <widget class="QPushButton" row="1" column="2">
|
---|
163 | <property name="name">
|
---|
164 | <cstring>PushButton2</cstring>
|
---|
165 | </property>
|
---|
166 | <property name="text">
|
---|
167 | <string>C&lose</string>
|
---|
168 | </property>
|
---|
169 | <property name="accel">
|
---|
170 | <string>Alt+L</string>
|
---|
171 | </property>
|
---|
172 | </widget>
|
---|
173 | <widget class="QButtonGroup" row="1" column="0" rowspan="2" colspan="1">
|
---|
174 | <property name="name">
|
---|
175 | <cstring>ButtonGroup1</cstring>
|
---|
176 | </property>
|
---|
177 | <property name="title">
|
---|
178 | <string>&Options</string>
|
---|
179 | </property>
|
---|
180 | <vbox>
|
---|
181 | <property name="name">
|
---|
182 | <cstring>unnamed</cstring>
|
---|
183 | </property>
|
---|
184 | <property name="margin">
|
---|
185 | <number>11</number>
|
---|
186 | </property>
|
---|
187 | <property name="spacing">
|
---|
188 | <number>6</number>
|
---|
189 | </property>
|
---|
190 | <widget class="QCheckBox">
|
---|
191 | <property name="name">
|
---|
192 | <cstring>checkWords</cstring>
|
---|
193 | </property>
|
---|
194 | <property name="text">
|
---|
195 | <string>&Whole words only</string>
|
---|
196 | </property>
|
---|
197 | </widget>
|
---|
198 | <widget class="QCheckBox">
|
---|
199 | <property name="name">
|
---|
200 | <cstring>checkCase</cstring>
|
---|
201 | </property>
|
---|
202 | <property name="text">
|
---|
203 | <string>&Case sensitive</string>
|
---|
204 | </property>
|
---|
205 | </widget>
|
---|
206 | </vbox>
|
---|
207 | </widget>
|
---|
208 | <widget class="QPushButton" row="0" column="2">
|
---|
209 | <property name="name">
|
---|
210 | <cstring>PushButton1</cstring>
|
---|
211 | </property>
|
---|
212 | <property name="text">
|
---|
213 | <string>&Find</string>
|
---|
214 | </property>
|
---|
215 | <property name="accel">
|
---|
216 | <string>Alt+F</string>
|
---|
217 | </property>
|
---|
218 | <property name="default">
|
---|
219 | <bool>true</bool>
|
---|
220 | </property>
|
---|
221 | </widget>
|
---|
222 | </grid>
|
---|
223 | </widget>
|
---|
224 | </vbox>
|
---|
225 | </widget>
|
---|
226 | <connections>
|
---|
227 | <connection>
|
---|
228 | <sender>PushButton1</sender>
|
---|
229 | <signal>clicked()</signal>
|
---|
230 | <receiver>FindDialog</receiver>
|
---|
231 | <slot>doFind()</slot>
|
---|
232 | </connection>
|
---|
233 | <connection>
|
---|
234 | <sender>PushButton2</sender>
|
---|
235 | <signal>clicked()</signal>
|
---|
236 | <receiver>FindDialog</receiver>
|
---|
237 | <slot>reject()</slot>
|
---|
238 | </connection>
|
---|
239 | </connections>
|
---|
240 | <tabstops>
|
---|
241 | <tabstop>comboFind</tabstop>
|
---|
242 | <tabstop>checkWords</tabstop>
|
---|
243 | <tabstop>checkCase</tabstop>
|
---|
244 | <tabstop>radioForward</tabstop>
|
---|
245 | <tabstop>radioBackward</tabstop>
|
---|
246 | <tabstop>PushButton1</tabstop>
|
---|
247 | <tabstop>PushButton2</tabstop>
|
---|
248 | </tabstops>
|
---|
249 | <includes>
|
---|
250 | <include location="global" impldecl="in implementation">qstatusbar.h</include>
|
---|
251 | <include location="global" impldecl="in implementation">qtextbrowser.h</include>
|
---|
252 | <include location="local" impldecl="in implementation">mainwindow.h</include>
|
---|
253 | <include location="local" impldecl="in implementation">tabbedbrowser.h</include>
|
---|
254 | <include location="local" impldecl="in implementation">finddialog.ui.h</include>
|
---|
255 | </includes>
|
---|
256 | <forwards>
|
---|
257 | <forward>class QTextBrowser;</forward>
|
---|
258 | <forward>class QStatusBar;</forward>
|
---|
259 | <forward>class MainWindow;</forward>
|
---|
260 | </forwards>
|
---|
261 | <variables>
|
---|
262 | <variable>QStatusBar *sb;</variable>
|
---|
263 | <variable>bool onceFound;</variable>
|
---|
264 | <variable>QString findExpr;</variable>
|
---|
265 | <variable>QTextBrowser *lastBrowser;</variable>
|
---|
266 | </variables>
|
---|
267 | <slots>
|
---|
268 | <slot access="protected">init()</slot>
|
---|
269 | <slot access="protected">destroy()</slot>
|
---|
270 | <slot>doFind()</slot>
|
---|
271 | <slot>doFind(bool)</slot>
|
---|
272 | <slot>statusMessage(const QString &message)</slot>
|
---|
273 | </slots>
|
---|
274 | <functions>
|
---|
275 | <function specifier="non virtual" returnType="MainWindow *">mainWindow()</function>
|
---|
276 | <function specifier="non virtual" returnType="bool">hasFindExpression()</function>
|
---|
277 | </functions>
|
---|
278 | <layoutdefaults spacing="6" margin="11"/>
|
---|
279 | </UI>
|
---|