|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.QtHelp.QtHelpDocumentationSettingsWidget</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.WebBrowser.QtHelp.QtHelpDocumentationSettingsWidget</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a widget to manage the QtHelp documentation settings. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#QtHelpDocumentationSettingsWidget">QtHelpDocumentationSettingsWidget</a></td> |
|
39 <td>Class implementing a widget to manage the QtHelp documentation settings.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="QtHelpDocumentationSettingsWidget" ID="QtHelpDocumentationSettingsWidget"></a> |
|
50 <h2>QtHelpDocumentationSettingsWidget</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a widget to manage the QtHelp documentation settings. |
|
54 </p> |
|
55 <h3>Signals</h3> |
|
56 <dl> |
|
57 |
|
58 <dt>documentationSettingsChanged(settings)</dt> |
|
59 <dd> |
|
60 emitted to signal a change |
|
61 of the documentation configuration |
|
62 </dd> |
|
63 </dl> |
|
64 <h3>Derived from</h3> |
|
65 QWidget, Ui_QtHelpDocumentationSettingsWidget |
|
66 <h3>Class Attributes</h3> |
|
67 |
|
68 <table> |
|
69 <tr><td>None</td></tr> |
|
70 </table> |
|
71 <h3>Class Methods</h3> |
|
72 |
|
73 <table> |
|
74 <tr><td>None</td></tr> |
|
75 </table> |
|
76 <h3>Methods</h3> |
|
77 |
|
78 <table> |
|
79 |
|
80 <tr> |
|
81 <td><a href="#QtHelpDocumentationSettingsWidget.__init__">QtHelpDocumentationSettingsWidget</a></td> |
|
82 <td>Constructor</td> |
|
83 </tr> |
|
84 <tr> |
|
85 <td><a href="#QtHelpDocumentationSettingsWidget.__applyDocumentsListFilter">__applyDocumentsListFilter</a></td> |
|
86 <td>Private slot to apply the current documents filter.</td> |
|
87 </tr> |
|
88 <tr> |
|
89 <td><a href="#QtHelpDocumentationSettingsWidget.__registerDocumentation">__registerDocumentation</a></td> |
|
90 <td>Private method to register a given list of documentations.</td> |
|
91 </tr> |
|
92 <tr> |
|
93 <td><a href="#QtHelpDocumentationSettingsWidget.documentationSettings">documentationSettings</a></td> |
|
94 <td>Public method to get the reference to the QtHelp documentation configuration object.</td> |
|
95 </tr> |
|
96 <tr> |
|
97 <td><a href="#QtHelpDocumentationSettingsWidget.on_addDocumentsButton_clicked">on_addDocumentsButton_clicked</a></td> |
|
98 <td>Private slot to add QtHelp documents to the help database.</td> |
|
99 </tr> |
|
100 <tr> |
|
101 <td><a href="#QtHelpDocumentationSettingsWidget.on_addPluginButton_clicked">on_addPluginButton_clicked</a></td> |
|
102 <td>Private slot to add QtHelp documents provided by plug-ins to the help database.</td> |
|
103 </tr> |
|
104 <tr> |
|
105 <td><a href="#QtHelpDocumentationSettingsWidget.on_documentsList_itemSelectionChanged">on_documentsList_itemSelectionChanged</a></td> |
|
106 <td>Private slot handling a change of the documents selection.</td> |
|
107 </tr> |
|
108 <tr> |
|
109 <td><a href="#QtHelpDocumentationSettingsWidget.on_filterEdit_textChanged">on_filterEdit_textChanged</a></td> |
|
110 <td>Private slot to react on changes of the document filter text.</td> |
|
111 </tr> |
|
112 <tr> |
|
113 <td><a href="#QtHelpDocumentationSettingsWidget.on_managePluginButton_clicked">on_managePluginButton_clicked</a></td> |
|
114 <td>Private slot to manage the QtHelp documents provided by plug-ins.</td> |
|
115 </tr> |
|
116 <tr> |
|
117 <td><a href="#QtHelpDocumentationSettingsWidget.on_removeDocumentsButton_clicked">on_removeDocumentsButton_clicked</a></td> |
|
118 <td>Private slot to remove a document from the help database.</td> |
|
119 </tr> |
|
120 <tr> |
|
121 <td><a href="#QtHelpDocumentationSettingsWidget.setDocumentationSettings">setDocumentationSettings</a></td> |
|
122 <td>Public method to set the reference to the QtHelp documentation configuration object.</td> |
|
123 </tr> |
|
124 </table> |
|
125 <h3>Static Methods</h3> |
|
126 |
|
127 <table> |
|
128 <tr><td>None</td></tr> |
|
129 </table> |
|
130 |
|
131 <a NAME="QtHelpDocumentationSettingsWidget.__init__" ID="QtHelpDocumentationSettingsWidget.__init__"></a> |
|
132 <h4>QtHelpDocumentationSettingsWidget (Constructor)</h4> |
|
133 <b>QtHelpDocumentationSettingsWidget</b>(<i>parent=None</i>) |
|
134 |
|
135 <p> |
|
136 Constructor |
|
137 </p> |
|
138 <dl> |
|
139 |
|
140 <dt><i>parent</i> (QWidget (optional))</dt> |
|
141 <dd> |
|
142 reference to the parent widget (defaults to None) |
|
143 </dd> |
|
144 </dl> |
|
145 <a NAME="QtHelpDocumentationSettingsWidget.__applyDocumentsListFilter" ID="QtHelpDocumentationSettingsWidget.__applyDocumentsListFilter"></a> |
|
146 <h4>QtHelpDocumentationSettingsWidget.__applyDocumentsListFilter</h4> |
|
147 <b>__applyDocumentsListFilter</b>(<i></i>) |
|
148 |
|
149 <p> |
|
150 Private slot to apply the current documents filter. |
|
151 </p> |
|
152 <a NAME="QtHelpDocumentationSettingsWidget.__registerDocumentation" ID="QtHelpDocumentationSettingsWidget.__registerDocumentation"></a> |
|
153 <h4>QtHelpDocumentationSettingsWidget.__registerDocumentation</h4> |
|
154 <b>__registerDocumentation</b>(<i>filenames</i>) |
|
155 |
|
156 <p> |
|
157 Private method to register a given list of documentations. |
|
158 </p> |
|
159 <dl> |
|
160 |
|
161 <dt><i>filenames</i> (list of str)</dt> |
|
162 <dd> |
|
163 list of documentation files to be registered |
|
164 </dd> |
|
165 </dl> |
|
166 <a NAME="QtHelpDocumentationSettingsWidget.documentationSettings" ID="QtHelpDocumentationSettingsWidget.documentationSettings"></a> |
|
167 <h4>QtHelpDocumentationSettingsWidget.documentationSettings</h4> |
|
168 <b>documentationSettings</b>(<i></i>) |
|
169 |
|
170 <p> |
|
171 Public method to get the reference to the QtHelp documentation |
|
172 configuration object. |
|
173 </p> |
|
174 <dl> |
|
175 <dt>Return:</dt> |
|
176 <dd> |
|
177 reference to the created QtHelpDocumentationSettings object |
|
178 </dd> |
|
179 </dl> |
|
180 <dl> |
|
181 <dt>Return Type:</dt> |
|
182 <dd> |
|
183 QtHelpDocumentationSettings |
|
184 </dd> |
|
185 </dl> |
|
186 <a NAME="QtHelpDocumentationSettingsWidget.on_addDocumentsButton_clicked" ID="QtHelpDocumentationSettingsWidget.on_addDocumentsButton_clicked"></a> |
|
187 <h4>QtHelpDocumentationSettingsWidget.on_addDocumentsButton_clicked</h4> |
|
188 <b>on_addDocumentsButton_clicked</b>(<i></i>) |
|
189 |
|
190 <p> |
|
191 Private slot to add QtHelp documents to the help database. |
|
192 </p> |
|
193 <a NAME="QtHelpDocumentationSettingsWidget.on_addPluginButton_clicked" ID="QtHelpDocumentationSettingsWidget.on_addPluginButton_clicked"></a> |
|
194 <h4>QtHelpDocumentationSettingsWidget.on_addPluginButton_clicked</h4> |
|
195 <b>on_addPluginButton_clicked</b>(<i></i>) |
|
196 |
|
197 <p> |
|
198 Private slot to add QtHelp documents provided by plug-ins to |
|
199 the help database. |
|
200 </p> |
|
201 <a NAME="QtHelpDocumentationSettingsWidget.on_documentsList_itemSelectionChanged" ID="QtHelpDocumentationSettingsWidget.on_documentsList_itemSelectionChanged"></a> |
|
202 <h4>QtHelpDocumentationSettingsWidget.on_documentsList_itemSelectionChanged</h4> |
|
203 <b>on_documentsList_itemSelectionChanged</b>(<i></i>) |
|
204 |
|
205 <p> |
|
206 Private slot handling a change of the documents selection. |
|
207 </p> |
|
208 <a NAME="QtHelpDocumentationSettingsWidget.on_filterEdit_textChanged" ID="QtHelpDocumentationSettingsWidget.on_filterEdit_textChanged"></a> |
|
209 <h4>QtHelpDocumentationSettingsWidget.on_filterEdit_textChanged</h4> |
|
210 <b>on_filterEdit_textChanged</b>(<i>txt</i>) |
|
211 |
|
212 <p> |
|
213 Private slot to react on changes of the document filter text. |
|
214 </p> |
|
215 <dl> |
|
216 |
|
217 <dt><i>txt</i> (str)</dt> |
|
218 <dd> |
|
219 current entry of the filter |
|
220 </dd> |
|
221 </dl> |
|
222 <a NAME="QtHelpDocumentationSettingsWidget.on_managePluginButton_clicked" ID="QtHelpDocumentationSettingsWidget.on_managePluginButton_clicked"></a> |
|
223 <h4>QtHelpDocumentationSettingsWidget.on_managePluginButton_clicked</h4> |
|
224 <b>on_managePluginButton_clicked</b>(<i></i>) |
|
225 |
|
226 <p> |
|
227 Private slot to manage the QtHelp documents provided by plug-ins. |
|
228 </p> |
|
229 <a NAME="QtHelpDocumentationSettingsWidget.on_removeDocumentsButton_clicked" ID="QtHelpDocumentationSettingsWidget.on_removeDocumentsButton_clicked"></a> |
|
230 <h4>QtHelpDocumentationSettingsWidget.on_removeDocumentsButton_clicked</h4> |
|
231 <b>on_removeDocumentsButton_clicked</b>(<i></i>) |
|
232 |
|
233 <p> |
|
234 Private slot to remove a document from the help database. |
|
235 </p> |
|
236 <a NAME="QtHelpDocumentationSettingsWidget.setDocumentationSettings" ID="QtHelpDocumentationSettingsWidget.setDocumentationSettings"></a> |
|
237 <h4>QtHelpDocumentationSettingsWidget.setDocumentationSettings</h4> |
|
238 <b>setDocumentationSettings</b>(<i>settings</i>) |
|
239 |
|
240 <p> |
|
241 Public method to set the reference to the QtHelp documentation |
|
242 configuration object. |
|
243 </p> |
|
244 <dl> |
|
245 |
|
246 <dt><i>settings</i> (QtHelpDocumentationSettings)</dt> |
|
247 <dd> |
|
248 reference to the created QtHelpDocumentationSettings |
|
249 object |
|
250 </dd> |
|
251 </dl> |
|
252 <div align="right"><a href="#top">Up</a></div> |
|
253 <hr /> |
|
254 </body></html> |