Commit 819aac14 authored by kh1's avatar kh1
Browse files

Change tooltips as suggested by Leena.

Reviewed-by: Leena Miettinen
parent 19b75e91
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
</rect> </rect>
</property> </property>
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;body&gt;&lt;p&gt;The Documentation page lets you install and remove compressed help files.&lt;/p&gt; <string>Add and remove compressed help files, .qch.</string>
&lt;p&gt;Click the &lt;b&gt;Install&lt;/b&gt; button and choose the path of the compressed help file (*.qch) you would like to install. To delete a help file, select a documentation set in the list and click &lt;b&gt;Remove&lt;/b&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout"> <layout class="QVBoxLayout" name="verticalLayout">
<item> <item>
...@@ -13,15 +13,7 @@ ...@@ -13,15 +13,7 @@
<property name="toolTip"> <property name="toolTip">
<string>&lt;html&gt;&lt;body&gt; <string>&lt;html&gt;&lt;body&gt;
&lt;p&gt; &lt;p&gt;
The Filters page lets you create and remove documentation filters. Add, modify, and remove document filters, which determine the documentation set displayed in the Help mode. The attributes are defined in the documents. Select them to display a set of relevant documentation. Note that some attributes are defined in several documents.
To add a new filter, click the &lt;b&gt;Add&lt;/b&gt; button, specify a filter name in the pop-up dialog and click &lt;b&gt;OK&lt;/b&gt;, then select the filter attributes in the list box on the right hand side. You can delete a filter by selecting it and clicking the &lt;b&gt;Remove&lt;/b&gt; button.
A filter is identified by its name and contains a list of filter attributes. An attribute is just a string that can be freely chosen. Attributes are defined by the documentation itself, this means that every documentation set usually has one or more attributes.
For example, the Qt 4.7.0 Linguist documentation defines the attributes '&lt;b&gt;qt&lt;/b&gt;', '&lt;b&gt;tools&lt;/b&gt;' and '&lt;b&gt;4.7.0&lt;/b&gt;', Qt Designer defines '&lt;b&gt;designer&lt;/b&gt;', '&lt;b&gt;tools&lt;/b&gt;' and '&lt;b&gt;4.7.0&lt;/b&gt;'. The filter to display all tools would then define only the attribute '&lt;b&gt;tools&lt;/b&gt;' since this attribute is part of both documentation sets.
Adding the attribute '&lt;b&gt;qmake&lt;/b&gt;' to the filter would then only show qmake documentation, since the Qt Designer documentation does not contain this attribute. Having an empty list of attributes in a filter will match all documentation; i.e., it is equivalent to requesting unfiltered documentation.
&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string> &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment