|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0" stdsetdef="1"> |
|
3 <author></author> |
|
4 <comment>********************************************************************* |
|
5 ** |
|
6 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
7 ** All rights reserved. |
|
8 ** Contact: Nokia Corporation (qt-info@nokia.com) |
|
9 ** |
|
10 ** This file is part of the test suite of the Qt Toolkit. |
|
11 ** |
|
12 ** $QT_BEGIN_LICENSE:LGPL$ |
|
13 ** No Commercial Usage |
|
14 ** This file contains pre-release code and may not be distributed. |
|
15 ** You may use this file in accordance with the terms and conditions |
|
16 ** contained in the Technology Preview License Agreement accompanying |
|
17 ** this package. |
|
18 ** |
|
19 ** GNU Lesser General Public License Usage |
|
20 ** Alternatively, this file may be used under the terms of the GNU Lesser |
|
21 ** General Public License version 2.1 as published by the Free Software |
|
22 ** Foundation and appearing in the file LICENSE.LGPL included in the |
|
23 ** packaging of this file. Please review the following information to |
|
24 ** ensure the GNU Lesser General Public License version 2.1 requirements |
|
25 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
26 ** |
|
27 ** In addition, as a special exception, Nokia gives you certain additional |
|
28 ** rights. These rights are described in the Nokia Qt LGPL Exception |
|
29 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
30 ** |
|
31 ** If you have questions regarding the use of this file, please contact |
|
32 ** Nokia at qt-info@nokia.com. |
|
33 ** |
|
34 ** |
|
35 ** |
|
36 ** |
|
37 ** |
|
38 ** |
|
39 ** |
|
40 ** |
|
41 ** $QT_END_LICENSE$ |
|
42 ** |
|
43 *********************************************************************</comment> |
|
44 <exportmacro></exportmacro> |
|
45 <class>HelpDialogBase</class> |
|
46 <widget class="QWidget" name="HelpDialogBase"> |
|
47 <property name="geometry"> |
|
48 <rect> |
|
49 <x>0</x> |
|
50 <y>0</y> |
|
51 <width>268</width> |
|
52 <height>448</height> |
|
53 </rect> |
|
54 </property> |
|
55 <property name="windowTitle"> |
|
56 <string>Help</string> |
|
57 </property> |
|
58 <property name="whatsThis" stdset="0"> |
|
59 <string><b>Help</b><p>Choose the topic you want help on from the contents list, or search the index for keywords.</p></string> |
|
60 </property> |
|
61 <layout class="QVBoxLayout"> |
|
62 <property name="margin"> |
|
63 <number>0</number> |
|
64 </property> |
|
65 <property name="spacing"> |
|
66 <number>6</number> |
|
67 </property> |
|
68 <item> |
|
69 <widget class="QTabWidget" name="tabWidget"> |
|
70 <property name="whatsThis" stdset="0"> |
|
71 <string>Displays help topics organized by category, index or bookmarks. Another tab inherits the full text search.</string> |
|
72 </property> |
|
73 <widget class="QWidget" name="contentPage"> |
|
74 <attribute name="title"> |
|
75 <string>Con&tents</string> |
|
76 </attribute> |
|
77 <layout class="QVBoxLayout"> |
|
78 <property name="margin"> |
|
79 <number>5</number> |
|
80 </property> |
|
81 <property name="spacing"> |
|
82 <number>6</number> |
|
83 </property> |
|
84 <item> |
|
85 <widget class="Q3ListView" name="listContents"> |
|
86 <property name="rootIsDecorated"> |
|
87 <bool>true</bool> |
|
88 </property> |
|
89 <property name="whatsThis" stdset="0"> |
|
90 <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> |
|
91 </property> |
|
92 <column> |
|
93 <property name="text"> |
|
94 <string>Column 1</string> |
|
95 </property> |
|
96 <property name="clickable"> |
|
97 <bool>true</bool> |
|
98 </property> |
|
99 <property name="resizable"> |
|
100 <bool>true</bool> |
|
101 </property> |
|
102 </column> |
|
103 </widget> |
|
104 </item> |
|
105 </layout> |
|
106 </widget> |
|
107 <widget class="QWidget" name="Widget8"> |
|
108 <attribute name="title"> |
|
109 <string>&Index</string> |
|
110 </attribute> |
|
111 <layout class="QVBoxLayout"> |
|
112 <property name="margin"> |
|
113 <number>5</number> |
|
114 </property> |
|
115 <property name="spacing"> |
|
116 <number>6</number> |
|
117 </property> |
|
118 <item> |
|
119 <widget class="QLabel" name="TextLabel1"> |
|
120 <property name="text"> |
|
121 <string>&Look For:</string> |
|
122 </property> |
|
123 <property name="buddy" stdset="0"> |
|
124 <cstring>editIndex</cstring> |
|
125 </property> |
|
126 <property name="wordWrap"> |
|
127 <bool>false</bool> |
|
128 </property> |
|
129 </widget> |
|
130 </item> |
|
131 <item> |
|
132 <widget class="QLineEdit" name="editIndex"> |
|
133 <property name="toolTip" stdset="0"> |
|
134 <string>Enter keyword</string> |
|
135 </property> |
|
136 <property name="whatsThis" stdset="0"> |
|
137 <string><b>Enter a keyword.</b><p>The list will select an item that matches the entered string best.</p></string> |
|
138 </property> |
|
139 </widget> |
|
140 </item> |
|
141 <item> |
|
142 <widget class="Q3ListBox" name="listIndex"> |
|
143 <property name="whatsThis" stdset="0"> |
|
144 <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> |
|
145 </property> |
|
146 </widget> |
|
147 </item> |
|
148 </layout> |
|
149 </widget> |
|
150 <widget class="QWidget" name="Widget9"> |
|
151 <attribute name="title"> |
|
152 <string>&Bookmarks</string> |
|
153 </attribute> |
|
154 <layout class="QVBoxLayout"> |
|
155 <property name="margin"> |
|
156 <number>5</number> |
|
157 </property> |
|
158 <property name="spacing"> |
|
159 <number>6</number> |
|
160 </property> |
|
161 <item> |
|
162 <widget class="Q3ListView" name="listBookmarks"> |
|
163 <property name="whatsThis" stdset="0"> |
|
164 <string>Displays the list of bookmarks.</string> |
|
165 </property> |
|
166 <column> |
|
167 <property name="text"> |
|
168 <string>Column 1</string> |
|
169 </property> |
|
170 <property name="clickable"> |
|
171 <bool>true</bool> |
|
172 </property> |
|
173 <property name="resizable"> |
|
174 <bool>true</bool> |
|
175 </property> |
|
176 </column> |
|
177 </widget> |
|
178 </item> |
|
179 <item> |
|
180 <layout class="QHBoxLayout"> |
|
181 <property name="margin"> |
|
182 <number>0</number> |
|
183 </property> |
|
184 <property name="spacing"> |
|
185 <number>6</number> |
|
186 </property> |
|
187 <item> |
|
188 <spacer name="Spacer1"> |
|
189 <property name="sizeHint"> |
|
190 <size> |
|
191 <width>20</width> |
|
192 <height>20</height> |
|
193 </size> |
|
194 </property> |
|
195 <property name="sizeType"> |
|
196 <enum>QSizePolicy::Expanding</enum> |
|
197 </property> |
|
198 <property name="orientation"> |
|
199 <enum>Qt::Horizontal</enum> |
|
200 </property> |
|
201 </spacer> |
|
202 </item> |
|
203 <item> |
|
204 <widget class="QPushButton" name="buttonAdd"> |
|
205 <property name="text"> |
|
206 <string>&New</string> |
|
207 </property> |
|
208 <property name="toolTip" stdset="0"> |
|
209 <string>Add new bookmark</string> |
|
210 </property> |
|
211 <property name="whatsThis" stdset="0"> |
|
212 <string>Add the currently displayed page as a new bookmark.</string> |
|
213 </property> |
|
214 </widget> |
|
215 </item> |
|
216 <item> |
|
217 <widget class="QPushButton" name="buttonRemove"> |
|
218 <property name="text"> |
|
219 <string>&Delete</string> |
|
220 </property> |
|
221 <property name="toolTip" stdset="0"> |
|
222 <string>Delete bookmark</string> |
|
223 </property> |
|
224 <property name="whatsThis" stdset="0"> |
|
225 <string>Delete the selected bookmark.</string> |
|
226 </property> |
|
227 </widget> |
|
228 </item> |
|
229 </layout> |
|
230 </item> |
|
231 </layout> |
|
232 </widget> |
|
233 <widget class="QWidget" name="searchTab"> |
|
234 <attribute name="title"> |
|
235 <string>&Search</string> |
|
236 </attribute> |
|
237 <layout class="QGridLayout"> |
|
238 <property name="margin"> |
|
239 <number>5</number> |
|
240 </property> |
|
241 <property name="spacing"> |
|
242 <number>6</number> |
|
243 </property> |
|
244 <item row="3" column="0"> |
|
245 <spacer name="Spacer3"> |
|
246 <property name="sizeHint"> |
|
247 <size> |
|
248 <width>20</width> |
|
249 <height>20</height> |
|
250 </size> |
|
251 </property> |
|
252 <property name="sizeType"> |
|
253 <enum>QSizePolicy::Fixed</enum> |
|
254 </property> |
|
255 <property name="orientation"> |
|
256 <enum>Qt::Vertical</enum> |
|
257 </property> |
|
258 </spacer> |
|
259 </item> |
|
260 <item row="0" column="0"> |
|
261 <widget class="QLabel" name="TextLabel1_2"> |
|
262 <property name="text"> |
|
263 <string>Searching f&or:</string> |
|
264 </property> |
|
265 <property name="buddy" stdset="0"> |
|
266 <cstring>termsEdit</cstring> |
|
267 </property> |
|
268 <property name="wordWrap"> |
|
269 <bool>false</bool> |
|
270 </property> |
|
271 </widget> |
|
272 </item> |
|
273 <item row="1" column="0"> |
|
274 <widget class="QLineEdit" name="termsEdit"> |
|
275 <property name="toolTip" stdset="0"> |
|
276 <string>Enter searchword(s).</string> |
|
277 </property> |
|
278 <property name="whatsThis" stdset="0"> |
|
279 <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> |
|
280 </property> |
|
281 </widget> |
|
282 </item> |
|
283 <item row="5" column="0"> |
|
284 <widget class="Q3ListBox" name="resultBox"> |
|
285 <property name="whatsThis" stdset="0"> |
|
286 <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> |
|
287 </property> |
|
288 </widget> |
|
289 </item> |
|
290 <item row="4" column="0"> |
|
291 <widget class="QLabel" name="TextLabel2"> |
|
292 <property name="text"> |
|
293 <string>Found &Documents:</string> |
|
294 </property> |
|
295 <property name="buddy" stdset="0"> |
|
296 <cstring>resultBox</cstring> |
|
297 </property> |
|
298 <property name="wordWrap"> |
|
299 <bool>false</bool> |
|
300 </property> |
|
301 </widget> |
|
302 </item> |
|
303 <item row="2" column="0"> |
|
304 <layout class="QHBoxLayout"> |
|
305 <item> |
|
306 <widget class="QPushButton" name="helpButton"> |
|
307 <property name="text"> |
|
308 <string>He&lp</string> |
|
309 </property> |
|
310 <property name="toolTip" stdset="0"> |
|
311 <string>Display the help page.</string> |
|
312 </property> |
|
313 <property name="whatsThis" stdset="0"> |
|
314 <string>Display the help page for the full text search.</string> |
|
315 </property> |
|
316 </widget> |
|
317 </item> |
|
318 <item> |
|
319 <spacer name="Spacer2"> |
|
320 <property name="sizeHint"> |
|
321 <size> |
|
322 <width>61</width> |
|
323 <height>21</height> |
|
324 </size> |
|
325 </property> |
|
326 <property name="sizeType"> |
|
327 <enum>QSizePolicy::Expanding</enum> |
|
328 </property> |
|
329 <property name="orientation"> |
|
330 <enum>Qt::Horizontal</enum> |
|
331 </property> |
|
332 </spacer> |
|
333 </item> |
|
334 <item> |
|
335 <widget class="QPushButton" name="searchButton"> |
|
336 <property name="text"> |
|
337 <string>&Search</string> |
|
338 </property> |
|
339 <property name="toolTip" stdset="0"> |
|
340 <string>Start searching.</string> |
|
341 </property> |
|
342 <property name="whatsThis" stdset="0"> |
|
343 <string>Pressing this button starts the search.</string> |
|
344 </property> |
|
345 </widget> |
|
346 </item> |
|
347 </layout> |
|
348 </item> |
|
349 </layout> |
|
350 </widget> |
|
351 </widget> |
|
352 </item> |
|
353 <item> |
|
354 <widget class="Q3Frame" name="framePrepare"> |
|
355 <property name="frameShape"> |
|
356 <enum>QFrame::StyledPanel</enum> |
|
357 </property> |
|
358 <property name="frameShadow"> |
|
359 <enum>QFrame::Raised</enum> |
|
360 </property> |
|
361 <layout class="QHBoxLayout"> |
|
362 <property name="margin"> |
|
363 <number>3</number> |
|
364 </property> |
|
365 <property name="spacing"> |
|
366 <number>6</number> |
|
367 </property> |
|
368 <item> |
|
369 <widget class="QLabel" name="labelPrepare"> |
|
370 <property name="text"> |
|
371 <string>Preparing...</string> |
|
372 </property> |
|
373 <property name="wordWrap"> |
|
374 <bool>false</bool> |
|
375 </property> |
|
376 </widget> |
|
377 </item> |
|
378 <item> |
|
379 <widget class="Q3ProgressBar" name="progressPrepare"/> |
|
380 </item> |
|
381 </layout> |
|
382 </widget> |
|
383 </item> |
|
384 </layout> |
|
385 </widget> |
|
386 <layoutdefault spacing="6" margin="11"/> |
|
387 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
388 <tabstops> |
|
389 <tabstop>tabWidget</tabstop> |
|
390 <tabstop>listContents</tabstop> |
|
391 <tabstop>editIndex</tabstop> |
|
392 <tabstop>listIndex</tabstop> |
|
393 <tabstop>listBookmarks</tabstop> |
|
394 <tabstop>buttonAdd</tabstop> |
|
395 <tabstop>buttonRemove</tabstop> |
|
396 <tabstop>termsEdit</tabstop> |
|
397 <tabstop>searchButton</tabstop> |
|
398 <tabstop>helpButton</tabstop> |
|
399 <tabstop>resultBox</tabstop> |
|
400 </tabstops> |
|
401 <connections> |
|
402 <connection> |
|
403 <sender>buttonAdd</sender> |
|
404 <signal>clicked()</signal> |
|
405 <receiver>HelpDialogBase</receiver> |
|
406 <slot>addBookmark()</slot> |
|
407 </connection> |
|
408 <connection> |
|
409 <sender>buttonRemove</sender> |
|
410 <signal>clicked()</signal> |
|
411 <receiver>HelpDialogBase</receiver> |
|
412 <slot>removeBookmark()</slot> |
|
413 </connection> |
|
414 <connection> |
|
415 <sender>termsEdit</sender> |
|
416 <signal>returnPressed()</signal> |
|
417 <receiver>searchButton</receiver> |
|
418 <slot>animateClick()</slot> |
|
419 </connection> |
|
420 <connection> |
|
421 <sender>helpButton</sender> |
|
422 <signal>clicked()</signal> |
|
423 <receiver>HelpDialogBase</receiver> |
|
424 <slot>showSearchHelp()</slot> |
|
425 </connection> |
|
426 <connection> |
|
427 <sender>searchButton</sender> |
|
428 <signal>clicked()</signal> |
|
429 <receiver>HelpDialogBase</receiver> |
|
430 <slot>startSearch()</slot> |
|
431 </connection> |
|
432 <connection> |
|
433 <sender>resultBox</sender> |
|
434 <signal>returnPressed(Q3ListBoxItem*)</signal> |
|
435 <receiver>HelpDialogBase</receiver> |
|
436 <slot>showResultPage(Q3ListBoxItem*)</slot> |
|
437 </connection> |
|
438 <connection> |
|
439 <sender>resultBox</sender> |
|
440 <signal>mouseButtonClicked(int,Q3ListBoxItem*,QPoint)</signal> |
|
441 <receiver>HelpDialogBase</receiver> |
|
442 <slot>showResultPage(int,Q3ListBoxItem*,QPoint)</slot> |
|
443 </connection> |
|
444 </connections> |
|
445 </ui> |