Documentation/Source/eric6.PluginManager.PluginRepositoryDialog.html

changeset 3673
e26d7d0c1088
child 4629
99aaac59be4f
equal deleted inserted replaced
3670:f0cb7579c0b4 3673:e26d7d0c1088
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.PluginManager.PluginRepositoryDialog</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><a NAME="top" ID="top"></a>
22 <h1>eric6.PluginManager.PluginRepositoryDialog</h1>
23 <p>
24 Module implementing a dialog showing the available plugins.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#PluginRepositoryDialog">PluginRepositoryDialog</a></td>
34 <td>Class for the dialog variant.</td>
35 </tr><tr>
36 <td><a href="#PluginRepositoryWidget">PluginRepositoryWidget</a></td>
37 <td>Class implementing a dialog showing the available plugins.</td>
38 </tr><tr>
39 <td><a href="#PluginRepositoryWindow">PluginRepositoryWindow</a></td>
40 <td>Main window class for the standalone dialog.</td>
41 </tr>
42 </table>
43 <h3>Functions</h3>
44 <table>
45 <tr><td>None</td></tr>
46 </table>
47 <hr /><hr />
48 <a NAME="PluginRepositoryDialog" ID="PluginRepositoryDialog"></a>
49 <h2>PluginRepositoryDialog</h2>
50 <p>
51 Class for the dialog variant.
52 </p>
53 <h3>Derived from</h3>
54 QDialog
55 <h3>Class Attributes</h3>
56 <table>
57 <tr><td>None</td></tr>
58 </table>
59 <h3>Class Methods</h3>
60 <table>
61 <tr><td>None</td></tr>
62 </table>
63 <h3>Methods</h3>
64 <table>
65 <tr>
66 <td><a href="#PluginRepositoryDialog.__init__">PluginRepositoryDialog</a></td>
67 <td>Constructor</td>
68 </tr><tr>
69 <td><a href="#PluginRepositoryDialog.__closeAndInstall">__closeAndInstall</a></td>
70 <td>Private slot to handle the closeAndInstall signal.</td>
71 </tr><tr>
72 <td><a href="#PluginRepositoryDialog.getDownloadedPlugins">getDownloadedPlugins</a></td>
73 <td>Public method to get the list of recently downloaded plugin files.</td>
74 </tr>
75 </table>
76 <h3>Static Methods</h3>
77 <table>
78 <tr><td>None</td></tr>
79 </table>
80 <a NAME="PluginRepositoryDialog.__init__" ID="PluginRepositoryDialog.__init__"></a>
81 <h4>PluginRepositoryDialog (Constructor)</h4>
82 <b>PluginRepositoryDialog</b>(<i>parent=None</i>)
83 <p>
84 Constructor
85 </p><dl>
86 <dt><i>parent</i></dt>
87 <dd>
88 reference to the parent widget (QWidget)
89 </dd>
90 </dl><a NAME="PluginRepositoryDialog.__closeAndInstall" ID="PluginRepositoryDialog.__closeAndInstall"></a>
91 <h4>PluginRepositoryDialog.__closeAndInstall</h4>
92 <b>__closeAndInstall</b>(<i></i>)
93 <p>
94 Private slot to handle the closeAndInstall signal.
95 </p><a NAME="PluginRepositoryDialog.getDownloadedPlugins" ID="PluginRepositoryDialog.getDownloadedPlugins"></a>
96 <h4>PluginRepositoryDialog.getDownloadedPlugins</h4>
97 <b>getDownloadedPlugins</b>(<i></i>)
98 <p>
99 Public method to get the list of recently downloaded plugin files.
100 </p><dl>
101 <dt>Returns:</dt>
102 <dd>
103 list of plugin filenames (list of strings)
104 </dd>
105 </dl>
106 <div align="right"><a href="#top">Up</a></div>
107 <hr /><hr />
108 <a NAME="PluginRepositoryWidget" ID="PluginRepositoryWidget"></a>
109 <h2>PluginRepositoryWidget</h2>
110 <p>
111 Class implementing a dialog showing the available plugins.
112 </p><h3>Signals</h3>
113 <dl>
114 <dt>closeAndInstall()</dt>
115 <dd>
116 emitted when the Close & Install button is
117 pressed
118 </dd>
119 </dl>
120 <h3>Derived from</h3>
121 QWidget, Ui_PluginRepositoryDialog
122 <h3>Class Attributes</h3>
123 <table>
124 <tr><td>AuthorRole</td></tr><tr><td>DescrRole</td></tr><tr><td>FilenameRole</td></tr><tr><td>PluginStatusLocalUpdate</td></tr><tr><td>PluginStatusNew</td></tr><tr><td>PluginStatusRemoteUpdate</td></tr><tr><td>PluginStatusUpToDate</td></tr><tr><td>UrlRole</td></tr>
125 </table>
126 <h3>Class Methods</h3>
127 <table>
128 <tr><td>None</td></tr>
129 </table>
130 <h3>Methods</h3>
131 <table>
132 <tr>
133 <td><a href="#PluginRepositoryWidget.__init__">PluginRepositoryWidget</a></td>
134 <td>Constructor</td>
135 </tr><tr>
136 <td><a href="#PluginRepositoryWidget.__cleanupDownloads">__cleanupDownloads</a></td>
137 <td>Private slot to cleanup the plug-in downloads area.</td>
138 </tr><tr>
139 <td><a href="#PluginRepositoryWidget.__closeAndInstall">__closeAndInstall</a></td>
140 <td>Private method to close the dialog and invoke the install dialog.</td>
141 </tr><tr>
142 <td><a href="#PluginRepositoryWidget.__downloadCancel">__downloadCancel</a></td>
143 <td>Private slot to cancel the current download.</td>
144 </tr><tr>
145 <td><a href="#PluginRepositoryWidget.__downloadFile">__downloadFile</a></td>
146 <td>Private slot to download the given file.</td>
147 </tr><tr>
148 <td><a href="#PluginRepositoryWidget.__downloadFileDone">__downloadFileDone</a></td>
149 <td>Private method called, after the file has been downloaded from the internet.</td>
150 </tr><tr>
151 <td><a href="#PluginRepositoryWidget.__downloadPlugin">__downloadPlugin</a></td>
152 <td>Private method to download the next plugin.</td>
153 </tr><tr>
154 <td><a href="#PluginRepositoryWidget.__downloadPluginDone">__downloadPluginDone</a></td>
155 <td>Private method called, when the download of a plugin is finished.</td>
156 </tr><tr>
157 <td><a href="#PluginRepositoryWidget.__downloadPlugins">__downloadPlugins</a></td>
158 <td>Private slot to download the selected plugins.</td>
159 </tr><tr>
160 <td><a href="#PluginRepositoryWidget.__downloadPluginsDone">__downloadPluginsDone</a></td>
161 <td>Private method called, when the download of the plugins is finished.</td>
162 </tr><tr>
163 <td><a href="#PluginRepositoryWidget.__downloadProgress">__downloadProgress</a></td>
164 <td>Private slot to show the download progress.</td>
165 </tr><tr>
166 <td><a href="#PluginRepositoryWidget.__downloadRepositoryFileDone">__downloadRepositoryFileDone</a></td>
167 <td>Private method called after the repository file was downloaded.</td>
168 </tr><tr>
169 <td><a href="#PluginRepositoryWidget.__formatDescription">__formatDescription</a></td>
170 <td>Private method to format the description.</td>
171 </tr><tr>
172 <td><a href="#PluginRepositoryWidget.__hasHiddenPlugins">__hasHiddenPlugins</a></td>
173 <td>Private method to check, if there are any hidden plug-ins.</td>
174 </tr><tr>
175 <td><a href="#PluginRepositoryWidget.__hidePlugin">__hidePlugin</a></td>
176 <td>Private slot to hide the current plug-in.</td>
177 </tr><tr>
178 <td><a href="#PluginRepositoryWidget.__hideSelectedPlugins">__hideSelectedPlugins</a></td>
179 <td>Private slot to hide all selected plug-ins.</td>
180 </tr><tr>
181 <td><a href="#PluginRepositoryWidget.__populateList">__populateList</a></td>
182 <td>Private method to populate the list of available plugins.</td>
183 </tr><tr>
184 <td><a href="#PluginRepositoryWidget.__resortRepositoryList">__resortRepositoryList</a></td>
185 <td>Private method to resort the tree.</td>
186 </tr><tr>
187 <td><a href="#PluginRepositoryWidget.__selectedItems">__selectedItems</a></td>
188 <td>Private method to get all selected items without the toplevel ones.</td>
189 </tr><tr>
190 <td><a href="#PluginRepositoryWidget.__showAllPlugins">__showAllPlugins</a></td>
191 <td>Private slot to show all plug-ins.</td>
192 </tr><tr>
193 <td><a href="#PluginRepositoryWidget.__sslErrors">__sslErrors</a></td>
194 <td>Private slot to handle SSL errors.</td>
195 </tr><tr>
196 <td><a href="#PluginRepositoryWidget.__updateHiddenPluginsList">__updateHiddenPluginsList</a></td>
197 <td>Private method to store the list of hidden plug-ins to the settings.</td>
198 </tr><tr>
199 <td><a href="#PluginRepositoryWidget.__updateList">__updateList</a></td>
200 <td>Private slot to download a new list and display the contents.</td>
201 </tr><tr>
202 <td><a href="#PluginRepositoryWidget.__updateStatus">__updateStatus</a></td>
203 <td>Private method to check, if the given archive update status.</td>
204 </tr><tr>
205 <td><a href="#PluginRepositoryWidget.addEntry">addEntry</a></td>
206 <td>Public method to add an entry to the list.</td>
207 </tr><tr>
208 <td><a href="#PluginRepositoryWidget.getDownloadedPlugins">getDownloadedPlugins</a></td>
209 <td>Public method to get the list of recently downloaded plugin files.</td>
210 </tr><tr>
211 <td><a href="#PluginRepositoryWidget.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
212 <td>Private slot to handle the click of a button of the button box.</td>
213 </tr><tr>
214 <td><a href="#PluginRepositoryWidget.on_repositoryList_currentItemChanged">on_repositoryList_currentItemChanged</a></td>
215 <td>Private slot to handle the change of the current item.</td>
216 </tr><tr>
217 <td><a href="#PluginRepositoryWidget.on_repositoryList_customContextMenuRequested">on_repositoryList_customContextMenuRequested</a></td>
218 <td>Private slot to show the context menu.</td>
219 </tr><tr>
220 <td><a href="#PluginRepositoryWidget.on_repositoryList_itemSelectionChanged">on_repositoryList_itemSelectionChanged</a></td>
221 <td>Private slot to handle a change of the selection.</td>
222 </tr><tr>
223 <td><a href="#PluginRepositoryWidget.on_repositoryUrlEditButton_toggled">on_repositoryUrlEditButton_toggled</a></td>
224 <td>Private slot to set the read only status of the repository URL line edit.</td>
225 </tr>
226 </table>
227 <h3>Static Methods</h3>
228 <table>
229 <tr><td>None</td></tr>
230 </table>
231 <a NAME="PluginRepositoryWidget.__init__" ID="PluginRepositoryWidget.__init__"></a>
232 <h4>PluginRepositoryWidget (Constructor)</h4>
233 <b>PluginRepositoryWidget</b>(<i>parent=None, external=False</i>)
234 <p>
235 Constructor
236 </p><dl>
237 <dt><i>parent</i></dt>
238 <dd>
239 parent of this dialog (QWidget)
240 </dd><dt><i>external</i></dt>
241 <dd>
242 flag indicating an instatiation as a main
243 window (boolean)
244 </dd>
245 </dl><a NAME="PluginRepositoryWidget.__cleanupDownloads" ID="PluginRepositoryWidget.__cleanupDownloads"></a>
246 <h4>PluginRepositoryWidget.__cleanupDownloads</h4>
247 <b>__cleanupDownloads</b>(<i></i>)
248 <p>
249 Private slot to cleanup the plug-in downloads area.
250 </p><a NAME="PluginRepositoryWidget.__closeAndInstall" ID="PluginRepositoryWidget.__closeAndInstall"></a>
251 <h4>PluginRepositoryWidget.__closeAndInstall</h4>
252 <b>__closeAndInstall</b>(<i></i>)
253 <p>
254 Private method to close the dialog and invoke the install dialog.
255 </p><a NAME="PluginRepositoryWidget.__downloadCancel" ID="PluginRepositoryWidget.__downloadCancel"></a>
256 <h4>PluginRepositoryWidget.__downloadCancel</h4>
257 <b>__downloadCancel</b>(<i></i>)
258 <p>
259 Private slot to cancel the current download.
260 </p><a NAME="PluginRepositoryWidget.__downloadFile" ID="PluginRepositoryWidget.__downloadFile"></a>
261 <h4>PluginRepositoryWidget.__downloadFile</h4>
262 <b>__downloadFile</b>(<i>url, filename, doneMethod=None</i>)
263 <p>
264 Private slot to download the given file.
265 </p><dl>
266 <dt><i>url</i></dt>
267 <dd>
268 URL for the download (string)
269 </dd><dt><i>filename</i></dt>
270 <dd>
271 local name of the file (string)
272 </dd><dt><i>doneMethod</i></dt>
273 <dd>
274 method to be called when done
275 </dd>
276 </dl><a NAME="PluginRepositoryWidget.__downloadFileDone" ID="PluginRepositoryWidget.__downloadFileDone"></a>
277 <h4>PluginRepositoryWidget.__downloadFileDone</h4>
278 <b>__downloadFileDone</b>(<i></i>)
279 <p>
280 Private method called, after the file has been downloaded
281 from the internet.
282 </p><a NAME="PluginRepositoryWidget.__downloadPlugin" ID="PluginRepositoryWidget.__downloadPlugin"></a>
283 <h4>PluginRepositoryWidget.__downloadPlugin</h4>
284 <b>__downloadPlugin</b>(<i></i>)
285 <p>
286 Private method to download the next plugin.
287 </p><a NAME="PluginRepositoryWidget.__downloadPluginDone" ID="PluginRepositoryWidget.__downloadPluginDone"></a>
288 <h4>PluginRepositoryWidget.__downloadPluginDone</h4>
289 <b>__downloadPluginDone</b>(<i>status, filename</i>)
290 <p>
291 Private method called, when the download of a plugin is finished.
292 </p><dl>
293 <dt><i>status</i></dt>
294 <dd>
295 flag indicating a successful download (boolean)
296 </dd><dt><i>filename</i></dt>
297 <dd>
298 full path of the downloaded file (string)
299 </dd>
300 </dl><a NAME="PluginRepositoryWidget.__downloadPlugins" ID="PluginRepositoryWidget.__downloadPlugins"></a>
301 <h4>PluginRepositoryWidget.__downloadPlugins</h4>
302 <b>__downloadPlugins</b>(<i></i>)
303 <p>
304 Private slot to download the selected plugins.
305 </p><a NAME="PluginRepositoryWidget.__downloadPluginsDone" ID="PluginRepositoryWidget.__downloadPluginsDone"></a>
306 <h4>PluginRepositoryWidget.__downloadPluginsDone</h4>
307 <b>__downloadPluginsDone</b>(<i></i>)
308 <p>
309 Private method called, when the download of the plugins is finished.
310 </p><a NAME="PluginRepositoryWidget.__downloadProgress" ID="PluginRepositoryWidget.__downloadProgress"></a>
311 <h4>PluginRepositoryWidget.__downloadProgress</h4>
312 <b>__downloadProgress</b>(<i>done, total</i>)
313 <p>
314 Private slot to show the download progress.
315 </p><dl>
316 <dt><i>done</i></dt>
317 <dd>
318 number of bytes downloaded so far (integer)
319 </dd><dt><i>total</i></dt>
320 <dd>
321 total bytes to be downloaded (integer)
322 </dd>
323 </dl><a NAME="PluginRepositoryWidget.__downloadRepositoryFileDone" ID="PluginRepositoryWidget.__downloadRepositoryFileDone"></a>
324 <h4>PluginRepositoryWidget.__downloadRepositoryFileDone</h4>
325 <b>__downloadRepositoryFileDone</b>(<i>status, filename</i>)
326 <p>
327 Private method called after the repository file was downloaded.
328 </p><dl>
329 <dt><i>status</i></dt>
330 <dd>
331 flaging indicating a successful download (boolean)
332 </dd><dt><i>filename</i></dt>
333 <dd>
334 full path of the downloaded file (string)
335 </dd>
336 </dl><a NAME="PluginRepositoryWidget.__formatDescription" ID="PluginRepositoryWidget.__formatDescription"></a>
337 <h4>PluginRepositoryWidget.__formatDescription</h4>
338 <b>__formatDescription</b>(<i>lines</i>)
339 <p>
340 Private method to format the description.
341 </p><dl>
342 <dt><i>lines</i></dt>
343 <dd>
344 lines of the description (list of strings)
345 </dd>
346 </dl><dl>
347 <dt>Returns:</dt>
348 <dd>
349 formatted description (string)
350 </dd>
351 </dl><a NAME="PluginRepositoryWidget.__hasHiddenPlugins" ID="PluginRepositoryWidget.__hasHiddenPlugins"></a>
352 <h4>PluginRepositoryWidget.__hasHiddenPlugins</h4>
353 <b>__hasHiddenPlugins</b>(<i></i>)
354 <p>
355 Private method to check, if there are any hidden plug-ins.
356 </p><dl>
357 <dt>Returns:</dt>
358 <dd>
359 flag indicating the presence of hidden plug-ins (boolean)
360 </dd>
361 </dl><a NAME="PluginRepositoryWidget.__hidePlugin" ID="PluginRepositoryWidget.__hidePlugin"></a>
362 <h4>PluginRepositoryWidget.__hidePlugin</h4>
363 <b>__hidePlugin</b>(<i></i>)
364 <p>
365 Private slot to hide the current plug-in.
366 </p><a NAME="PluginRepositoryWidget.__hideSelectedPlugins" ID="PluginRepositoryWidget.__hideSelectedPlugins"></a>
367 <h4>PluginRepositoryWidget.__hideSelectedPlugins</h4>
368 <b>__hideSelectedPlugins</b>(<i></i>)
369 <p>
370 Private slot to hide all selected plug-ins.
371 </p><a NAME="PluginRepositoryWidget.__populateList" ID="PluginRepositoryWidget.__populateList"></a>
372 <h4>PluginRepositoryWidget.__populateList</h4>
373 <b>__populateList</b>(<i></i>)
374 <p>
375 Private method to populate the list of available plugins.
376 </p><a NAME="PluginRepositoryWidget.__resortRepositoryList" ID="PluginRepositoryWidget.__resortRepositoryList"></a>
377 <h4>PluginRepositoryWidget.__resortRepositoryList</h4>
378 <b>__resortRepositoryList</b>(<i></i>)
379 <p>
380 Private method to resort the tree.
381 </p><a NAME="PluginRepositoryWidget.__selectedItems" ID="PluginRepositoryWidget.__selectedItems"></a>
382 <h4>PluginRepositoryWidget.__selectedItems</h4>
383 <b>__selectedItems</b>(<i></i>)
384 <p>
385 Private method to get all selected items without the toplevel ones.
386 </p><dl>
387 <dt>Returns:</dt>
388 <dd>
389 list of selected items (list)
390 </dd>
391 </dl><a NAME="PluginRepositoryWidget.__showAllPlugins" ID="PluginRepositoryWidget.__showAllPlugins"></a>
392 <h4>PluginRepositoryWidget.__showAllPlugins</h4>
393 <b>__showAllPlugins</b>(<i></i>)
394 <p>
395 Private slot to show all plug-ins.
396 </p><a NAME="PluginRepositoryWidget.__sslErrors" ID="PluginRepositoryWidget.__sslErrors"></a>
397 <h4>PluginRepositoryWidget.__sslErrors</h4>
398 <b>__sslErrors</b>(<i>reply, errors</i>)
399 <p>
400 Private slot to handle SSL errors.
401 </p><dl>
402 <dt><i>reply</i></dt>
403 <dd>
404 reference to the reply object (QNetworkReply)
405 </dd><dt><i>errors</i></dt>
406 <dd>
407 list of SSL errors (list of QSslError)
408 </dd>
409 </dl><a NAME="PluginRepositoryWidget.__updateHiddenPluginsList" ID="PluginRepositoryWidget.__updateHiddenPluginsList"></a>
410 <h4>PluginRepositoryWidget.__updateHiddenPluginsList</h4>
411 <b>__updateHiddenPluginsList</b>(<i>hideList</i>)
412 <p>
413 Private method to store the list of hidden plug-ins to the settings.
414 </p><dl>
415 <dt><i>hideList</i></dt>
416 <dd>
417 list of plug-ins to add to the list of hidden ones
418 (list of string)
419 </dd>
420 </dl><a NAME="PluginRepositoryWidget.__updateList" ID="PluginRepositoryWidget.__updateList"></a>
421 <h4>PluginRepositoryWidget.__updateList</h4>
422 <b>__updateList</b>(<i></i>)
423 <p>
424 Private slot to download a new list and display the contents.
425 </p><a NAME="PluginRepositoryWidget.__updateStatus" ID="PluginRepositoryWidget.__updateStatus"></a>
426 <h4>PluginRepositoryWidget.__updateStatus</h4>
427 <b>__updateStatus</b>(<i>filename, version</i>)
428 <p>
429 Private method to check, if the given archive update status.
430 </p><dl>
431 <dt><i>filename</i></dt>
432 <dd>
433 data for the filename field (string)
434 </dd><dt><i>version</i></dt>
435 <dd>
436 data for the version field (string)
437 </dd>
438 </dl><dl>
439 <dt>Returns:</dt>
440 <dd>
441 plug-in update status (integer, one of PluginStatusNew,
442 PluginStatusUpToDate, PluginStatusLocalUpdate,
443 PluginStatusRemoteUpdate)
444 </dd>
445 </dl><a NAME="PluginRepositoryWidget.addEntry" ID="PluginRepositoryWidget.addEntry"></a>
446 <h4>PluginRepositoryWidget.addEntry</h4>
447 <b>addEntry</b>(<i>name, short, description, url, author, version, filename, status</i>)
448 <p>
449 Public method to add an entry to the list.
450 </p><dl>
451 <dt><i>name</i></dt>
452 <dd>
453 data for the name field (string)
454 </dd><dt><i>short</i></dt>
455 <dd>
456 data for the short field (string)
457 </dd><dt><i>description</i></dt>
458 <dd>
459 data for the description field (list of strings)
460 </dd><dt><i>url</i></dt>
461 <dd>
462 data for the url field (string)
463 </dd><dt><i>author</i></dt>
464 <dd>
465 data for the author field (string)
466 </dd><dt><i>version</i></dt>
467 <dd>
468 data for the version field (string)
469 </dd><dt><i>filename</i></dt>
470 <dd>
471 data for the filename field (string)
472 </dd><dt><i>status</i></dt>
473 <dd>
474 status of the plugin (string [stable, unstable, unknown])
475 </dd>
476 </dl><a NAME="PluginRepositoryWidget.getDownloadedPlugins" ID="PluginRepositoryWidget.getDownloadedPlugins"></a>
477 <h4>PluginRepositoryWidget.getDownloadedPlugins</h4>
478 <b>getDownloadedPlugins</b>(<i></i>)
479 <p>
480 Public method to get the list of recently downloaded plugin files.
481 </p><dl>
482 <dt>Returns:</dt>
483 <dd>
484 list of plugin filenames (list of strings)
485 </dd>
486 </dl><a NAME="PluginRepositoryWidget.on_buttonBox_clicked" ID="PluginRepositoryWidget.on_buttonBox_clicked"></a>
487 <h4>PluginRepositoryWidget.on_buttonBox_clicked</h4>
488 <b>on_buttonBox_clicked</b>(<i>button</i>)
489 <p>
490 Private slot to handle the click of a button of the button box.
491 </p><dl>
492 <dt><i>button</i></dt>
493 <dd>
494 reference to the button pressed (QAbstractButton)
495 </dd>
496 </dl><a NAME="PluginRepositoryWidget.on_repositoryList_currentItemChanged" ID="PluginRepositoryWidget.on_repositoryList_currentItemChanged"></a>
497 <h4>PluginRepositoryWidget.on_repositoryList_currentItemChanged</h4>
498 <b>on_repositoryList_currentItemChanged</b>(<i>current, previous</i>)
499 <p>
500 Private slot to handle the change of the current item.
501 </p><dl>
502 <dt><i>current</i></dt>
503 <dd>
504 reference to the new current item (QTreeWidgetItem)
505 </dd><dt><i>previous</i></dt>
506 <dd>
507 reference to the old current item (QTreeWidgetItem)
508 </dd>
509 </dl><a NAME="PluginRepositoryWidget.on_repositoryList_customContextMenuRequested" ID="PluginRepositoryWidget.on_repositoryList_customContextMenuRequested"></a>
510 <h4>PluginRepositoryWidget.on_repositoryList_customContextMenuRequested</h4>
511 <b>on_repositoryList_customContextMenuRequested</b>(<i>pos</i>)
512 <p>
513 Private slot to show the context menu.
514 </p><dl>
515 <dt><i>pos</i></dt>
516 <dd>
517 position to show the menu (QPoint)
518 </dd>
519 </dl><a NAME="PluginRepositoryWidget.on_repositoryList_itemSelectionChanged" ID="PluginRepositoryWidget.on_repositoryList_itemSelectionChanged"></a>
520 <h4>PluginRepositoryWidget.on_repositoryList_itemSelectionChanged</h4>
521 <b>on_repositoryList_itemSelectionChanged</b>(<i></i>)
522 <p>
523 Private slot to handle a change of the selection.
524 </p><a NAME="PluginRepositoryWidget.on_repositoryUrlEditButton_toggled" ID="PluginRepositoryWidget.on_repositoryUrlEditButton_toggled"></a>
525 <h4>PluginRepositoryWidget.on_repositoryUrlEditButton_toggled</h4>
526 <b>on_repositoryUrlEditButton_toggled</b>(<i>checked</i>)
527 <p>
528 Private slot to set the read only status of the repository URL line
529 edit.
530 </p><dl>
531 <dt><i>checked</i></dt>
532 <dd>
533 state of the push button (boolean)
534 </dd>
535 </dl>
536 <div align="right"><a href="#top">Up</a></div>
537 <hr /><hr />
538 <a NAME="PluginRepositoryWindow" ID="PluginRepositoryWindow"></a>
539 <h2>PluginRepositoryWindow</h2>
540 <p>
541 Main window class for the standalone dialog.
542 </p>
543 <h3>Derived from</h3>
544 E5MainWindow
545 <h3>Class Attributes</h3>
546 <table>
547 <tr><td>None</td></tr>
548 </table>
549 <h3>Class Methods</h3>
550 <table>
551 <tr><td>None</td></tr>
552 </table>
553 <h3>Methods</h3>
554 <table>
555 <tr>
556 <td><a href="#PluginRepositoryWindow.__init__">PluginRepositoryWindow</a></td>
557 <td>Constructor</td>
558 </tr><tr>
559 <td><a href="#PluginRepositoryWindow.__startPluginInstall">__startPluginInstall</a></td>
560 <td>Private slot to start the eric6 plugin installation dialog.</td>
561 </tr>
562 </table>
563 <h3>Static Methods</h3>
564 <table>
565 <tr><td>None</td></tr>
566 </table>
567 <a NAME="PluginRepositoryWindow.__init__" ID="PluginRepositoryWindow.__init__"></a>
568 <h4>PluginRepositoryWindow (Constructor)</h4>
569 <b>PluginRepositoryWindow</b>(<i>parent=None</i>)
570 <p>
571 Constructor
572 </p><dl>
573 <dt><i>parent</i></dt>
574 <dd>
575 reference to the parent widget (QWidget)
576 </dd>
577 </dl><a NAME="PluginRepositoryWindow.__startPluginInstall" ID="PluginRepositoryWindow.__startPluginInstall"></a>
578 <h4>PluginRepositoryWindow.__startPluginInstall</h4>
579 <b>__startPluginInstall</b>(<i></i>)
580 <p>
581 Private slot to start the eric6 plugin installation dialog.
582 </p>
583 <div align="right"><a href="#top">Up</a></div>
584 <hr />
585 </body></html>

eric ide

mercurial