1 | <!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
---|
2 | <class>HelpDialogBase</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="QWidget">
|
---|
29 | <property name="name">
|
---|
30 | <cstring>HelpDialogBase</cstring>
|
---|
31 | </property>
|
---|
32 | <property name="geometry">
|
---|
33 | <rect>
|
---|
34 | <x>0</x>
|
---|
35 | <y>0</y>
|
---|
36 | <width>268</width>
|
---|
37 | <height>448</height>
|
---|
38 | </rect>
|
---|
39 | </property>
|
---|
40 | <property name="caption">
|
---|
41 | <string>Help</string>
|
---|
42 | </property>
|
---|
43 | <property name="whatsThis" stdset="0">
|
---|
44 | <string><b>Help</b><p>Choose the topic you want help on from the contents list, or search the index for keywords.</p></string>
|
---|
45 | </property>
|
---|
46 | <vbox>
|
---|
47 | <property name="name">
|
---|
48 | <cstring>unnamed</cstring>
|
---|
49 | </property>
|
---|
50 | <property name="margin">
|
---|
51 | <number>0</number>
|
---|
52 | </property>
|
---|
53 | <property name="spacing">
|
---|
54 | <number>6</number>
|
---|
55 | </property>
|
---|
56 | <widget class="QTabWidget">
|
---|
57 | <property name="name">
|
---|
58 | <cstring>tabWidget</cstring>
|
---|
59 | </property>
|
---|
60 | <property name="whatsThis" stdset="0">
|
---|
61 | <string>Displays help topics organized by category, index or bookmarks. Another tab inherits the full text search.</string>
|
---|
62 | </property>
|
---|
63 | <widget class="QWidget">
|
---|
64 | <property name="name">
|
---|
65 | <cstring>contentPage</cstring>
|
---|
66 | </property>
|
---|
67 | <attribute name="title">
|
---|
68 | <string>Con&tents</string>
|
---|
69 | </attribute>
|
---|
70 | <vbox>
|
---|
71 | <property name="name">
|
---|
72 | <cstring>unnamed</cstring>
|
---|
73 | </property>
|
---|
74 | <property name="margin">
|
---|
75 | <number>5</number>
|
---|
76 | </property>
|
---|
77 | <property name="spacing">
|
---|
78 | <number>6</number>
|
---|
79 | </property>
|
---|
80 | <widget class="QListView">
|
---|
81 | <column>
|
---|
82 | <property name="text">
|
---|
83 | <string>Column 1</string>
|
---|
84 | </property>
|
---|
85 | <property name="clickable">
|
---|
86 | <bool>true</bool>
|
---|
87 | </property>
|
---|
88 | <property name="resizable">
|
---|
89 | <bool>true</bool>
|
---|
90 | </property>
|
---|
91 | </column>
|
---|
92 | <property name="name">
|
---|
93 | <cstring>listContents</cstring>
|
---|
94 | </property>
|
---|
95 | <property name="rootIsDecorated">
|
---|
96 | <bool>true</bool>
|
---|
97 | </property>
|
---|
98 | <property name="whatsThis" stdset="0">
|
---|
99 | <string><b>Help topics organized by category.</b><p>Double-click an item to see the topics in that category. To view a topic, just double-click it.</p></string>
|
---|
100 | </property>
|
---|
101 | </widget>
|
---|
102 | </vbox>
|
---|
103 | </widget>
|
---|
104 | <widget class="QWidget">
|
---|
105 | <property name="name">
|
---|
106 | <cstring>Widget8</cstring>
|
---|
107 | </property>
|
---|
108 | <attribute name="title">
|
---|
109 | <string>&Index</string>
|
---|
110 | </attribute>
|
---|
111 | <vbox>
|
---|
112 | <property name="name">
|
---|
113 | <cstring>unnamed</cstring>
|
---|
114 | </property>
|
---|
115 | <property name="margin">
|
---|
116 | <number>5</number>
|
---|
117 | </property>
|
---|
118 | <property name="spacing">
|
---|
119 | <number>6</number>
|
---|
120 | </property>
|
---|
121 | <widget class="QLabel">
|
---|
122 | <property name="name">
|
---|
123 | <cstring>TextLabel1</cstring>
|
---|
124 | </property>
|
---|
125 | <property name="text">
|
---|
126 | <string>&Look For:</string>
|
---|
127 | </property>
|
---|
128 | <property name="buddy" stdset="0">
|
---|
129 | <cstring>editIndex</cstring>
|
---|
130 | </property>
|
---|
131 | </widget>
|
---|
132 | <widget class="QLineEdit">
|
---|
133 | <property name="name">
|
---|
134 | <cstring>editIndex</cstring>
|
---|
135 | </property>
|
---|
136 | <property name="toolTip" stdset="0">
|
---|
137 | <string>Enter keyword</string>
|
---|
138 | </property>
|
---|
139 | <property name="whatsThis" stdset="0">
|
---|
140 | <string><b>Enter a keyword.</b><p>The list will select an item that matches the entered string best.</p></string>
|
---|
141 | </property>
|
---|
142 | </widget>
|
---|
143 | <widget class="QListBox">
|
---|
144 | <property name="name">
|
---|
145 | <cstring>listIndex</cstring>
|
---|
146 | </property>
|
---|
147 | <property name="whatsThis" stdset="0">
|
---|
148 | <string><b>List of available help topics.</b><p>Double-click on an item to open its help page. If more than one is found, you must specify which page you want.</p></string>
|
---|
149 | </property>
|
---|
150 | </widget>
|
---|
151 | </vbox>
|
---|
152 | </widget>
|
---|
153 | <widget class="QWidget">
|
---|
154 | <property name="name">
|
---|
155 | <cstring>Widget9</cstring>
|
---|
156 | </property>
|
---|
157 | <attribute name="title">
|
---|
158 | <string>&Bookmarks</string>
|
---|
159 | </attribute>
|
---|
160 | <vbox>
|
---|
161 | <property name="name">
|
---|
162 | <cstring>unnamed</cstring>
|
---|
163 | </property>
|
---|
164 | <property name="margin">
|
---|
165 | <number>5</number>
|
---|
166 | </property>
|
---|
167 | <property name="spacing">
|
---|
168 | <number>6</number>
|
---|
169 | </property>
|
---|
170 | <widget class="QListView">
|
---|
171 | <column>
|
---|
172 | <property name="text">
|
---|
173 | <string>Column 1</string>
|
---|
174 | </property>
|
---|
175 | <property name="clickable">
|
---|
176 | <bool>true</bool>
|
---|
177 | </property>
|
---|
178 | <property name="resizable">
|
---|
179 | <bool>true</bool>
|
---|
180 | </property>
|
---|
181 | </column>
|
---|
182 | <property name="name">
|
---|
183 | <cstring>listBookmarks</cstring>
|
---|
184 | </property>
|
---|
185 | <property name="whatsThis" stdset="0">
|
---|
186 | <string>Displays the list of bookmarks.</string>
|
---|
187 | </property>
|
---|
188 | </widget>
|
---|
189 | <widget class="QLayoutWidget">
|
---|
190 | <property name="name">
|
---|
191 | <cstring>Layout3</cstring>
|
---|
192 | </property>
|
---|
193 | <hbox>
|
---|
194 | <property name="name">
|
---|
195 | <cstring>unnamed</cstring>
|
---|
196 | </property>
|
---|
197 | <property name="margin">
|
---|
198 | <number>0</number>
|
---|
199 | </property>
|
---|
200 | <property name="spacing">
|
---|
201 | <number>6</number>
|
---|
202 | </property>
|
---|
203 | <spacer>
|
---|
204 | <property name="name">
|
---|
205 | <cstring>Spacer1</cstring>
|
---|
206 | </property>
|
---|
207 | <property name="orientation">
|
---|
208 | <enum>Horizontal</enum>
|
---|
209 | </property>
|
---|
210 | <property name="sizeType">
|
---|
211 | <enum>Expanding</enum>
|
---|
212 | </property>
|
---|
213 | <property name="sizeHint">
|
---|
214 | <size>
|
---|
215 | <width>20</width>
|
---|
216 | <height>20</height>
|
---|
217 | </size>
|
---|
218 | </property>
|
---|
219 | </spacer>
|
---|
220 | <widget class="QPushButton">
|
---|
221 | <property name="name">
|
---|
222 | <cstring>buttonAdd</cstring>
|
---|
223 | </property>
|
---|
224 | <property name="text">
|
---|
225 | <string>&New</string>
|
---|
226 | </property>
|
---|
227 | <property name="toolTip" stdset="0">
|
---|
228 | <string>Add new bookmark</string>
|
---|
229 | </property>
|
---|
230 | <property name="whatsThis" stdset="0">
|
---|
231 | <string>Add the currently displayed page as a new bookmark.</string>
|
---|
232 | </property>
|
---|
233 | </widget>
|
---|
234 | <widget class="QPushButton">
|
---|
235 | <property name="name">
|
---|
236 | <cstring>buttonRemove</cstring>
|
---|
237 | </property>
|
---|
238 | <property name="text">
|
---|
239 | <string>&Delete</string>
|
---|
240 | </property>
|
---|
241 | <property name="toolTip" stdset="0">
|
---|
242 | <string>Delete bookmark</string>
|
---|
243 | </property>
|
---|
244 | <property name="whatsThis" stdset="0">
|
---|
245 | <string>Delete the selected bookmark.</string>
|
---|
246 | </property>
|
---|
247 | </widget>
|
---|
248 | </hbox>
|
---|
249 | </widget>
|
---|
250 | </vbox>
|
---|
251 | </widget>
|
---|
252 | <widget class="QWidget">
|
---|
253 | <property name="name">
|
---|
254 | <cstring>searchTab</cstring>
|
---|
255 | </property>
|
---|
256 | <attribute name="title">
|
---|
257 | <string>&Search</string>
|
---|
258 | </attribute>
|
---|
259 | <grid>
|
---|
260 | <property name="name">
|
---|
261 | <cstring>unnamed</cstring>
|
---|
262 | </property>
|
---|
263 | <property name="margin">
|
---|
264 | <number>5</number>
|
---|
265 | </property>
|
---|
266 | <property name="spacing">
|
---|
267 | <number>6</number>
|
---|
268 | </property>
|
---|
269 | <spacer row="3" column="0">
|
---|
270 | <property name="name">
|
---|
271 | <cstring>Spacer3</cstring>
|
---|
272 | </property>
|
---|
273 | <property name="orientation">
|
---|
274 | <enum>Vertical</enum>
|
---|
275 | </property>
|
---|
276 | <property name="sizeType">
|
---|
277 | <enum>Fixed</enum>
|
---|
278 | </property>
|
---|
279 | <property name="sizeHint">
|
---|
280 | <size>
|
---|
281 | <width>20</width>
|
---|
282 | <height>20</height>
|
---|
283 | </size>
|
---|
284 | </property>
|
---|
285 | </spacer>
|
---|
286 | <widget class="QLabel" row="0" column="0">
|
---|
287 | <property name="name">
|
---|
288 | <cstring>TextLabel1_2</cstring>
|
---|
289 | </property>
|
---|
290 | <property name="text">
|
---|
291 | <string>Searching f&or:</string>
|
---|
292 | </property>
|
---|
293 | <property name="buddy" stdset="0">
|
---|
294 | <cstring>termsEdit</cstring>
|
---|
295 | </property>
|
---|
296 | </widget>
|
---|
297 | <widget class="QLineEdit" row="1" column="0">
|
---|
298 | <property name="name">
|
---|
299 | <cstring>termsEdit</cstring>
|
---|
300 | </property>
|
---|
301 | <property name="toolTip" stdset="0">
|
---|
302 | <string>Enter searchword(s).</string>
|
---|
303 | </property>
|
---|
304 | <property name="whatsThis" stdset="0">
|
---|
305 | <string><b>Enter search word(s).</b><p>Enter here the word(s) you are looking for. The words may contain wildcards (*). For a sequence of words quote them.</p></string>
|
---|
306 | </property>
|
---|
307 | </widget>
|
---|
308 | <widget class="QListBox" row="5" column="0">
|
---|
309 | <property name="name">
|
---|
310 | <cstring>resultBox</cstring>
|
---|
311 | </property>
|
---|
312 | <property name="whatsThis" stdset="0">
|
---|
313 | <string><b>Found documents</b><p>This list contains all found documents from the last search. The documents are ordered, i.e. the first document has the most matches.</p></string>
|
---|
314 | </property>
|
---|
315 | </widget>
|
---|
316 | <widget class="QLabel" row="4" column="0">
|
---|
317 | <property name="name">
|
---|
318 | <cstring>TextLabel2</cstring>
|
---|
319 | </property>
|
---|
320 | <property name="text">
|
---|
321 | <string>Found &Documents:</string>
|
---|
322 | </property>
|
---|
323 | <property name="buddy" stdset="0">
|
---|
324 | <cstring>resultBox</cstring>
|
---|
325 | </property>
|
---|
326 | </widget>
|
---|
327 | <widget class="QLayoutWidget" row="2" column="0">
|
---|
328 | <property name="name">
|
---|
329 | <cstring>Layout2</cstring>
|
---|
330 | </property>
|
---|
331 | <hbox>
|
---|
332 | <property name="name">
|
---|
333 | <cstring>unnamed</cstring>
|
---|
334 | </property>
|
---|
335 | <widget class="QPushButton">
|
---|
336 | <property name="name">
|
---|
337 | <cstring>helpButton</cstring>
|
---|
338 | </property>
|
---|
339 | <property name="text">
|
---|
340 | <string>He&lp</string>
|
---|
341 | </property>
|
---|
342 | <property name="toolTip" stdset="0">
|
---|
343 | <string>Display the help page.</string>
|
---|
344 | </property>
|
---|
345 | <property name="whatsThis" stdset="0">
|
---|
346 | <string>Display the help page for the full text search.</string>
|
---|
347 | </property>
|
---|
348 | </widget>
|
---|
349 | <spacer>
|
---|
350 | <property name="name">
|
---|
351 | <cstring>Spacer2</cstring>
|
---|
352 | </property>
|
---|
353 | <property name="orientation">
|
---|
354 | <enum>Horizontal</enum>
|
---|
355 | </property>
|
---|
356 | <property name="sizeType">
|
---|
357 | <enum>Expanding</enum>
|
---|
358 | </property>
|
---|
359 | <property name="sizeHint">
|
---|
360 | <size>
|
---|
361 | <width>61</width>
|
---|
362 | <height>21</height>
|
---|
363 | </size>
|
---|
364 | </property>
|
---|
365 | </spacer>
|
---|
366 | <widget class="QPushButton">
|
---|
367 | <property name="name">
|
---|
368 | <cstring>searchButton</cstring>
|
---|
369 | </property>
|
---|
370 | <property name="text">
|
---|
371 | <string>&Search</string>
|
---|
372 | </property>
|
---|
373 | <property name="toolTip" stdset="0">
|
---|
374 | <string>Start searching.</string>
|
---|
375 | </property>
|
---|
376 | <property name="whatsThis" stdset="0">
|
---|
377 | <string>Pressing this button starts the search.</string>
|
---|
378 | </property>
|
---|
379 | </widget>
|
---|
380 | </hbox>
|
---|
381 | </widget>
|
---|
382 | </grid>
|
---|
383 | </widget>
|
---|
384 | </widget>
|
---|
385 | <widget class="QFrame">
|
---|
386 | <property name="name">
|
---|
387 | <cstring>framePrepare</cstring>
|
---|
388 | </property>
|
---|
389 | <property name="frameShape">
|
---|
390 | <enum>StyledPanel</enum>
|
---|
391 | </property>
|
---|
392 | <property name="frameShadow">
|
---|
393 | <enum>Raised</enum>
|
---|
394 | </property>
|
---|
395 | <hbox>
|
---|
396 | <property name="name">
|
---|
397 | <cstring>unnamed</cstring>
|
---|
398 | </property>
|
---|
399 | <property name="margin">
|
---|
400 | <number>3</number>
|
---|
401 | </property>
|
---|
402 | <property name="spacing">
|
---|
403 | <number>6</number>
|
---|
404 | </property>
|
---|
405 | <widget class="QLabel">
|
---|
406 | <property name="name">
|
---|
407 | <cstring>labelPrepare</cstring>
|
---|
408 | </property>
|
---|
409 | <property name="text">
|
---|
410 | <string>Preparing...</string>
|
---|
411 | </property>
|
---|
412 | </widget>
|
---|
413 | <widget class="QProgressBar">
|
---|
414 | <property name="name">
|
---|
415 | <cstring>progressPrepare</cstring>
|
---|
416 | </property>
|
---|
417 | </widget>
|
---|
418 | </hbox>
|
---|
419 | </widget>
|
---|
420 | </vbox>
|
---|
421 | </widget>
|
---|
422 | <connections>
|
---|
423 | <connection>
|
---|
424 | <sender>buttonAdd</sender>
|
---|
425 | <signal>clicked()</signal>
|
---|
426 | <receiver>HelpDialogBase</receiver>
|
---|
427 | <slot>addBookmark()</slot>
|
---|
428 | </connection>
|
---|
429 | <connection>
|
---|
430 | <sender>buttonRemove</sender>
|
---|
431 | <signal>clicked()</signal>
|
---|
432 | <receiver>HelpDialogBase</receiver>
|
---|
433 | <slot>removeBookmark()</slot>
|
---|
434 | </connection>
|
---|
435 | <connection>
|
---|
436 | <sender>termsEdit</sender>
|
---|
437 | <signal>returnPressed()</signal>
|
---|
438 | <receiver>searchButton</receiver>
|
---|
439 | <slot>animateClick()</slot>
|
---|
440 | </connection>
|
---|
441 | <connection>
|
---|
442 | <sender>helpButton</sender>
|
---|
443 | <signal>clicked()</signal>
|
---|
444 | <receiver>HelpDialogBase</receiver>
|
---|
445 | <slot>showSearchHelp()</slot>
|
---|
446 | </connection>
|
---|
447 | <connection>
|
---|
448 | <sender>searchButton</sender>
|
---|
449 | <signal>clicked()</signal>
|
---|
450 | <receiver>HelpDialogBase</receiver>
|
---|
451 | <slot>startSearch()</slot>
|
---|
452 | </connection>
|
---|
453 | <connection>
|
---|
454 | <sender>resultBox</sender>
|
---|
455 | <signal>returnPressed(QListBoxItem*)</signal>
|
---|
456 | <receiver>HelpDialogBase</receiver>
|
---|
457 | <slot>showResultPage(QListBoxItem*)</slot>
|
---|
458 | </connection>
|
---|
459 | <connection>
|
---|
460 | <sender>resultBox</sender>
|
---|
461 | <signal>mouseButtonClicked(int, QListBoxItem*, const QPoint &)</signal>
|
---|
462 | <receiver>HelpDialogBase</receiver>
|
---|
463 | <slot>showResultPage(int, QListBoxItem*, const QPoint & )</slot>
|
---|
464 | </connection>
|
---|
465 | </connections>
|
---|
466 | <tabstops>
|
---|
467 | <tabstop>tabWidget</tabstop>
|
---|
468 | <tabstop>listContents</tabstop>
|
---|
469 | <tabstop>editIndex</tabstop>
|
---|
470 | <tabstop>listIndex</tabstop>
|
---|
471 | <tabstop>listBookmarks</tabstop>
|
---|
472 | <tabstop>buttonAdd</tabstop>
|
---|
473 | <tabstop>buttonRemove</tabstop>
|
---|
474 | <tabstop>termsEdit</tabstop>
|
---|
475 | <tabstop>searchButton</tabstop>
|
---|
476 | <tabstop>helpButton</tabstop>
|
---|
477 | <tabstop>resultBox</tabstop>
|
---|
478 | </tabstops>
|
---|
479 | <slots>
|
---|
480 | <slot access="protected">init()</slot>
|
---|
481 | <slot access="protected">destroy()</slot>
|
---|
482 | <slot access="protected">addBookmark()</slot>
|
---|
483 | <slot access="protected">currentBookmarkChanged( QListViewItem * )</slot>
|
---|
484 | <slot access="protected">currentIndexChanged( QListBoxItem * )</slot>
|
---|
485 | <slot access="protected">currentTabChanged( const QString & )</slot>
|
---|
486 | <slot access="protected">loadIndexFile()</slot>
|
---|
487 | <slot access="protected">currentContentsChanged( QListViewItem * )</slot>
|
---|
488 | <slot access="protected">removeBookmark()</slot>
|
---|
489 | <slot access="protected">searchInIndex( const QString & )</slot>
|
---|
490 | <slot access="protected">showTopic()</slot>
|
---|
491 | <slot access="protected">showTopic( int, QListBoxItem *, const QPoint & )</slot>
|
---|
492 | <slot access="protected">showSearchHelp()</slot>
|
---|
493 | <slot access="protected">startSearch()</slot>
|
---|
494 | <slot access="protected">showResultPage( QListBoxItem * )</slot>
|
---|
495 | <slot access="protected">showResultPage( int, QListBoxItem *, const QPoint & )</slot>
|
---|
496 | <slot access="protected">showResultPage( int, QListViewItem *, const QPoint & )</slot>
|
---|
497 | </slots>
|
---|
498 | <layoutdefaults spacing="6" margin="11"/>
|
---|
499 | </UI>
|
---|