src/eric7/Documentation/Source/eric7.PluginManager.PluginRepositoryDialog.html

branch
eric7
changeset 10314
1f7d52f024b1
parent 10259
b51dfacef37f
child 10478
de9106c55c3d
equal deleted inserted replaced
10313:8f69edb4ad73 10314:1f7d52f024b1
30 </tr> 30 </tr>
31 <tr> 31 <tr>
32 <td><a href="#PluginRepositoryWindow">PluginRepositoryWindow</a></td> 32 <td><a href="#PluginRepositoryWindow">PluginRepositoryWindow</a></td>
33 <td>Main window class for the standalone dialog.</td> 33 <td>Main window class for the standalone dialog.</td>
34 </tr> 34 </tr>
35 <tr>
36 <td><a href="#PluginStatus">PluginStatus</a></td>
37 <td>Class defining the various plugin status.</td>
38 </tr>
35 </table> 39 </table>
36 <h3>Functions</h3> 40 <h3>Functions</h3>
37 41
38 <table> 42 <table>
39 43
122 Public method to get the list of recently downloaded plugin files. 126 Public method to get the list of recently downloaded plugin files.
123 </p> 127 </p>
124 <dl> 128 <dl>
125 <dt>Return:</dt> 129 <dt>Return:</dt>
126 <dd> 130 <dd>
127 list of plugin filenames (list of strings) 131 list of plugin filenames
132 </dd>
133 </dl>
134 <dl>
135 <dt>Return Type:</dt>
136 <dd>
137 list of str
128 </dd> 138 </dd>
129 </dl> 139 </dl>
130 <div align="right"><a href="#top">Up</a></div> 140 <div align="right"><a href="#top">Up</a></div>
131 <hr /> 141 <hr />
132 <hr /> 142 <hr />
148 <h3>Derived from</h3> 158 <h3>Derived from</h3>
149 QWidget, Ui_PluginRepositoryDialog 159 QWidget, Ui_PluginRepositoryDialog
150 <h3>Class Attributes</h3> 160 <h3>Class Attributes</h3>
151 161
152 <table> 162 <table>
153 <tr><td>AuthorRole</td></tr><tr><td>DescrRole</td></tr><tr><td>FilenameRole</td></tr><tr><td>PluginStatusError</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> 163 <tr><td>AuthorRole</td></tr><tr><td>DescrRole</td></tr><tr><td>FilenameRole</td></tr><tr><td>UrlRole</td></tr>
154 </table> 164 </table>
155 <h3>Class Methods</h3> 165 <h3>Class Methods</h3>
156 166
157 <table> 167 <table>
158 <tr><td>None</td></tr> 168 <tr><td>None</td></tr>
216 <tr> 226 <tr>
217 <td><a href="#PluginRepositoryWidget.__downloadProgress">__downloadProgress</a></td> 227 <td><a href="#PluginRepositoryWidget.__downloadProgress">__downloadProgress</a></td>
218 <td>Private slot to show the download progress.</td> 228 <td>Private slot to show the download progress.</td>
219 </tr> 229 </tr>
220 <tr> 230 <tr>
221 <td><a href="#PluginRepositoryWidget.__downloadRepositoryFileDone">__downloadRepositoryFileDone</a></td>
222 <td>Private method called after the repository file was downloaded.</td>
223 </tr>
224 <tr>
225 <td><a href="#PluginRepositoryWidget.__formatDescription">__formatDescription</a></td> 231 <td><a href="#PluginRepositoryWidget.__formatDescription">__formatDescription</a></td>
226 <td>Private method to format the description.</td> 232 <td>Private method to format the description.</td>
227 </tr> 233 </tr>
228 <tr> 234 <tr>
229 <td><a href="#PluginRepositoryWidget.__hasHiddenPlugins">__hasHiddenPlugins</a></td> 235 <td><a href="#PluginRepositoryWidget.__hasHiddenPlugins">__hasHiddenPlugins</a></td>
236 <tr> 242 <tr>
237 <td><a href="#PluginRepositoryWidget.__hideSelectedPlugins">__hideSelectedPlugins</a></td> 243 <td><a href="#PluginRepositoryWidget.__hideSelectedPlugins">__hideSelectedPlugins</a></td>
238 <td>Private slot to hide all selected plug-ins.</td> 244 <td>Private slot to hide all selected plug-ins.</td>
239 </tr> 245 </tr>
240 <tr> 246 <tr>
247 <td><a href="#PluginRepositoryWidget.__initHeaderItemsCache">__initHeaderItemsCache</a></td>
248 <td>Private method to initialize the cache variables for the header items.</td>
249 </tr>
250 <tr>
241 <td><a href="#PluginRepositoryWidget.__populateList">__populateList</a></td> 251 <td><a href="#PluginRepositoryWidget.__populateList">__populateList</a></td>
242 <td>Private method to populate the list of available plugins.</td> 252 <td>Private method to populate the list of available plugins.</td>
243 </tr> 253 </tr>
244 <tr> 254 <tr>
245 <td><a href="#PluginRepositoryWidget.__reachabilityChanged">__reachabilityChanged</a></td> 255 <td><a href="#PluginRepositoryWidget.__reachabilityChanged">__reachabilityChanged</a></td>
249 <td><a href="#PluginRepositoryWidget.__resortRepositoryList">__resortRepositoryList</a></td> 259 <td><a href="#PluginRepositoryWidget.__resortRepositoryList">__resortRepositoryList</a></td>
250 <td>Private method to resort the tree.</td> 260 <td>Private method to resort the tree.</td>
251 </tr> 261 </tr>
252 <tr> 262 <tr>
253 <td><a href="#PluginRepositoryWidget.__selectedItems">__selectedItems</a></td> 263 <td><a href="#PluginRepositoryWidget.__selectedItems">__selectedItems</a></td>
254 <td>Private method to get all selected items without the toplevel ones.</td> 264 <td>Private method to get all selected items without the status and category items.</td>
255 </tr> 265 </tr>
256 <tr> 266 <tr>
257 <td><a href="#PluginRepositoryWidget.__showAllPlugins">__showAllPlugins</a></td> 267 <td><a href="#PluginRepositoryWidget.__showAllPlugins">__showAllPlugins</a></td>
258 <td>Private slot to show all plug-ins.</td> 268 <td>Private slot to show all plug-ins.</td>
259 </tr> 269 </tr>
345 355
346 <dt><i>url</i> (str)</dt> 356 <dt><i>url</i> (str)</dt>
347 <dd> 357 <dd>
348 URL to be modified 358 URL to be modified
349 </dd> 359 </dd>
350 <dt><i>newScheme</i></dt> 360 <dt><i>newScheme</i> (str)</dt>
351 <dd> 361 <dd>
352 scheme to be set for the given URL 362 scheme to be set for the given URL
353 </dd> 363 </dd>
354 </dl> 364 </dl>
355 <dl> 365 <dl>
406 <p> 416 <p>
407 Private slot to download the given file. 417 Private slot to download the given file.
408 </p> 418 </p>
409 <dl> 419 <dl>
410 420
411 <dt><i>url</i></dt> 421 <dt><i>url</i> (str)</dt>
412 <dd> 422 <dd>
413 URL for the download (string) 423 URL for the download
414 </dd> 424 </dd>
415 <dt><i>filename</i></dt> 425 <dt><i>filename</i> (str)</dt>
416 <dd> 426 <dd>
417 local name of the file (string) 427 local name of the file
418 </dd> 428 </dd>
419 <dt><i>doneMethod</i></dt> 429 <dt><i>doneMethod</i> (function)</dt>
420 <dd> 430 <dd>
421 method to be called when done 431 method to be called when done
422 </dd> 432 </dd>
423 </dl> 433 </dl>
424 <a NAME="PluginRepositoryWidget.__downloadFileDone" ID="PluginRepositoryWidget.__downloadFileDone"></a> 434 <a NAME="PluginRepositoryWidget.__downloadFileDone" ID="PluginRepositoryWidget.__downloadFileDone"></a>
437 </dd> 447 </dd>
438 <dt><i>fileName</i> (str)</dt> 448 <dt><i>fileName</i> (str)</dt>
439 <dd> 449 <dd>
440 local name of the file 450 local name of the file
441 </dd> 451 </dd>
442 <dt><i>doneMethod</i> (func)</dt> 452 <dt><i>doneMethod</i> (function)</dt>
443 <dd> 453 <dd>
444 method to be called when done 454 method to be called when done
445 </dd> 455 </dd>
446 </dl> 456 </dl>
447 <a NAME="PluginRepositoryWidget.__downloadInstallButtonClicked" ID="PluginRepositoryWidget.__downloadInstallButtonClicked"></a> 457 <a NAME="PluginRepositoryWidget.__downloadInstallButtonClicked" ID="PluginRepositoryWidget.__downloadInstallButtonClicked"></a>
465 <p> 475 <p>
466 Private method called, when the download of a plugin is finished. 476 Private method called, when the download of a plugin is finished.
467 </p> 477 </p>
468 <dl> 478 <dl>
469 479
470 <dt><i>status</i></dt> 480 <dt><i>status</i> (bool)</dt>
471 <dd> 481 <dd>
472 flag indicating a successful download (boolean) 482 flag indicating a successful download
473 </dd> 483 </dd>
474 <dt><i>filename</i></dt> 484 <dt><i>filename</i> (str)</dt>
475 <dd> 485 <dd>
476 full path of the downloaded file (string) 486 full path of the downloaded file
477 </dd> 487 </dd>
478 </dl> 488 </dl>
479 <a NAME="PluginRepositoryWidget.__downloadPlugins" ID="PluginRepositoryWidget.__downloadPlugins"></a> 489 <a NAME="PluginRepositoryWidget.__downloadPlugins" ID="PluginRepositoryWidget.__downloadPlugins"></a>
480 <h4>PluginRepositoryWidget.__downloadPlugins</h4> 490 <h4>PluginRepositoryWidget.__downloadPlugins</h4>
481 <b>__downloadPlugins</b>(<i></i>) 491 <b>__downloadPlugins</b>(<i></i>)
497 <p> 507 <p>
498 Private slot to show the download progress. 508 Private slot to show the download progress.
499 </p> 509 </p>
500 <dl> 510 <dl>
501 511
502 <dt><i>done</i></dt> 512 <dt><i>done</i> (int)</dt>
503 <dd> 513 <dd>
504 number of bytes downloaded so far (integer) 514 number of bytes downloaded so far
505 </dd> 515 </dd>
506 <dt><i>total</i></dt> 516 <dt><i>total</i> (int)</dt>
507 <dd> 517 <dd>
508 total bytes to be downloaded (integer) 518 total bytes to be downloaded
509 </dd>
510 </dl>
511 <a NAME="PluginRepositoryWidget.__downloadRepositoryFileDone" ID="PluginRepositoryWidget.__downloadRepositoryFileDone"></a>
512 <h4>PluginRepositoryWidget.__downloadRepositoryFileDone</h4>
513 <b>__downloadRepositoryFileDone</b>(<i>status, filename</i>)
514
515 <p>
516 Private method called after the repository file was downloaded.
517 </p>
518 <dl>
519
520 <dt><i>status</i></dt>
521 <dd>
522 flaging indicating a successful download (boolean)
523 </dd>
524 <dt><i>filename</i></dt>
525 <dd>
526 full path of the downloaded file (string)
527 </dd> 519 </dd>
528 </dl> 520 </dl>
529 <a NAME="PluginRepositoryWidget.__formatDescription" ID="PluginRepositoryWidget.__formatDescription"></a> 521 <a NAME="PluginRepositoryWidget.__formatDescription" ID="PluginRepositoryWidget.__formatDescription"></a>
530 <h4>PluginRepositoryWidget.__formatDescription</h4> 522 <h4>PluginRepositoryWidget.__formatDescription</h4>
531 <b>__formatDescription</b>(<i>lines</i>) 523 <b>__formatDescription</b>(<i>lines</i>)
533 <p> 525 <p>
534 Private method to format the description. 526 Private method to format the description.
535 </p> 527 </p>
536 <dl> 528 <dl>
537 529
538 <dt><i>lines</i></dt> 530 <dt><i>lines</i> (list of str)</dt>
539 <dd> 531 <dd>
540 lines of the description (list of strings) 532 lines of the description
541 </dd> 533 </dd>
542 </dl> 534 </dl>
543 <dl> 535 <dl>
544 <dt>Return:</dt> 536 <dt>Return:</dt>
545 <dd> 537 <dd>
546 formatted description (string) 538 formatted description
539 </dd>
540 </dl>
541 <dl>
542 <dt>Return Type:</dt>
543 <dd>
544 str
547 </dd> 545 </dd>
548 </dl> 546 </dl>
549 <a NAME="PluginRepositoryWidget.__hasHiddenPlugins" ID="PluginRepositoryWidget.__hasHiddenPlugins"></a> 547 <a NAME="PluginRepositoryWidget.__hasHiddenPlugins" ID="PluginRepositoryWidget.__hasHiddenPlugins"></a>
550 <h4>PluginRepositoryWidget.__hasHiddenPlugins</h4> 548 <h4>PluginRepositoryWidget.__hasHiddenPlugins</h4>
551 <b>__hasHiddenPlugins</b>(<i></i>) 549 <b>__hasHiddenPlugins</b>(<i></i>)
554 Private method to check, if there are any hidden plug-ins. 552 Private method to check, if there are any hidden plug-ins.
555 </p> 553 </p>
556 <dl> 554 <dl>
557 <dt>Return:</dt> 555 <dt>Return:</dt>
558 <dd> 556 <dd>
559 flag indicating the presence of hidden plug-ins (boolean) 557 flag indicating the presence of hidden plug-ins
558 </dd>
559 </dl>
560 <dl>
561 <dt>Return Type:</dt>
562 <dd>
563 bool
560 </dd> 564 </dd>
561 </dl> 565 </dl>
562 <a NAME="PluginRepositoryWidget.__hidePlugin" ID="PluginRepositoryWidget.__hidePlugin"></a> 566 <a NAME="PluginRepositoryWidget.__hidePlugin" ID="PluginRepositoryWidget.__hidePlugin"></a>
563 <h4>PluginRepositoryWidget.__hidePlugin</h4> 567 <h4>PluginRepositoryWidget.__hidePlugin</h4>
564 <b>__hidePlugin</b>(<i></i>) 568 <b>__hidePlugin</b>(<i></i>)
571 <b>__hideSelectedPlugins</b>(<i></i>) 575 <b>__hideSelectedPlugins</b>(<i></i>)
572 576
573 <p> 577 <p>
574 Private slot to hide all selected plug-ins. 578 Private slot to hide all selected plug-ins.
575 </p> 579 </p>
580 <a NAME="PluginRepositoryWidget.__initHeaderItemsCache" ID="PluginRepositoryWidget.__initHeaderItemsCache"></a>
581 <h4>PluginRepositoryWidget.__initHeaderItemsCache</h4>
582 <b>__initHeaderItemsCache</b>(<i></i>)
583
584 <p>
585 Private method to initialize the cache variables for the header items.
586 </p>
576 <a NAME="PluginRepositoryWidget.__populateList" ID="PluginRepositoryWidget.__populateList"></a> 587 <a NAME="PluginRepositoryWidget.__populateList" ID="PluginRepositoryWidget.__populateList"></a>
577 <h4>PluginRepositoryWidget.__populateList</h4> 588 <h4>PluginRepositoryWidget.__populateList</h4>
578 <b>__populateList</b>(<i></i>) 589 <b>__populateList</b>(<i></i>)
579 590
580 <p> 591 <p>
604 <a NAME="PluginRepositoryWidget.__selectedItems" ID="PluginRepositoryWidget.__selectedItems"></a> 615 <a NAME="PluginRepositoryWidget.__selectedItems" ID="PluginRepositoryWidget.__selectedItems"></a>
605 <h4>PluginRepositoryWidget.__selectedItems</h4> 616 <h4>PluginRepositoryWidget.__selectedItems</h4>
606 <b>__selectedItems</b>(<i></i>) 617 <b>__selectedItems</b>(<i></i>)
607 618
608 <p> 619 <p>
609 Private method to get all selected items without the toplevel ones. 620 Private method to get all selected items without the status and category items.
610 </p> 621 </p>
611 <dl> 622 <dl>
612 <dt>Return:</dt> 623 <dt>Return:</dt>
613 <dd> 624 <dd>
614 list of selected items (list) 625 list of selected items without header items
626 </dd>
627 </dl>
628 <dl>
629 <dt>Return Type:</dt>
630 <dd>
631 list of QTreeWidgetItem
615 </dd> 632 </dd>
616 </dl> 633 </dl>
617 <a NAME="PluginRepositoryWidget.__showAllPlugins" ID="PluginRepositoryWidget.__showAllPlugins"></a> 634 <a NAME="PluginRepositoryWidget.__showAllPlugins" ID="PluginRepositoryWidget.__showAllPlugins"></a>
618 <h4>PluginRepositoryWidget.__showAllPlugins</h4> 635 <h4>PluginRepositoryWidget.__showAllPlugins</h4>
619 <b>__showAllPlugins</b>(<i></i>) 636 <b>__showAllPlugins</b>(<i></i>)
628 <p> 645 <p>
629 Private slot to handle SSL errors. 646 Private slot to handle SSL errors.
630 </p> 647 </p>
631 <dl> 648 <dl>
632 649
633 <dt><i>reply</i></dt> 650 <dt><i>reply</i> (QNetworkReply)</dt>
634 <dd> 651 <dd>
635 reference to the reply object (QNetworkReply) 652 reference to the reply object
636 </dd> 653 </dd>
637 <dt><i>errors</i></dt> 654 <dt><i>errors</i> (list of QSslError)</dt>
638 <dd> 655 <dd>
639 list of SSL errors (list of QSslError) 656 list of SSL errors
640 </dd> 657 </dd>
641 </dl> 658 </dl>
642 <a NAME="PluginRepositoryWidget.__updateHiddenPluginsList" ID="PluginRepositoryWidget.__updateHiddenPluginsList"></a> 659 <a NAME="PluginRepositoryWidget.__updateHiddenPluginsList" ID="PluginRepositoryWidget.__updateHiddenPluginsList"></a>
643 <h4>PluginRepositoryWidget.__updateHiddenPluginsList</h4> 660 <h4>PluginRepositoryWidget.__updateHiddenPluginsList</h4>
644 <b>__updateHiddenPluginsList</b>(<i>hideList</i>) 661 <b>__updateHiddenPluginsList</b>(<i>hideList</i>)
646 <p> 663 <p>
647 Private method to store the list of hidden plug-ins to the settings. 664 Private method to store the list of hidden plug-ins to the settings.
648 </p> 665 </p>
649 <dl> 666 <dl>
650 667
651 <dt><i>hideList</i></dt> 668 <dt><i>hideList</i> (list of str)</dt>
652 <dd> 669 <dd>
653 list of plug-ins to add to the list of hidden ones 670 list of plug-ins to add to the list of hidden ones
654 (list of string)
655 </dd> 671 </dd>
656 </dl> 672 </dl>
657 <a NAME="PluginRepositoryWidget.__updateList" ID="PluginRepositoryWidget.__updateList"></a> 673 <a NAME="PluginRepositoryWidget.__updateList" ID="PluginRepositoryWidget.__updateList"></a>
658 <h4>PluginRepositoryWidget.__updateList</h4> 674 <h4>PluginRepositoryWidget.__updateList</h4>
659 <b>__updateList</b>(<i></i>) 675 <b>__updateList</b>(<i></i>)
668 <p> 684 <p>
669 Private method to check the given archive update status. 685 Private method to check the given archive update status.
670 </p> 686 </p>
671 <dl> 687 <dl>
672 688
673 <dt><i>filename</i></dt> 689 <dt><i>filename</i> (str)</dt>
674 <dd> 690 <dd>
675 data for the filename field (string) 691 data for the filename field
676 </dd> 692 </dd>
677 <dt><i>version</i></dt> 693 <dt><i>version</i> (str)</dt>
678 <dd> 694 <dd>
679 data for the version field (string) 695 data for the version field
680 </dd> 696 </dd>
681 </dl> 697 </dl>
682 <dl> 698 <dl>
683 <dt>Return:</dt> 699 <dt>Return:</dt>
684 <dd> 700 <dd>
685 plug-in update status (integer, one of PluginStatusNew, 701 plug-in update status
686 PluginStatusUpToDate, PluginStatusLocalUpdate, 702 </dd>
687 PluginStatusRemoteUpdate) 703 </dl>
704 <dl>
705 <dt>Return Type:</dt>
706 <dd>
707 int (one of PluginStatusNew, PluginStatusUpToDate,
708 PluginStatusLocalUpdate, PluginStatusRemoteUpdate)
688 </dd> 709 </dd>
689 </dl> 710 </dl>
690 <a NAME="PluginRepositoryWidget.addEntry" ID="PluginRepositoryWidget.addEntry"></a> 711 <a NAME="PluginRepositoryWidget.addEntry" ID="PluginRepositoryWidget.addEntry"></a>
691 <h4>PluginRepositoryWidget.addEntry</h4> 712 <h4>PluginRepositoryWidget.addEntry</h4>
692 <b>addEntry</b>(<i>name, short, description, url, author, version, filename, status</i>) 713 <b>addEntry</b>(<i>name, short, description, url, author, version, filename, status, category, </i>)
693 714
694 <p> 715 <p>
695 Public method to add an entry to the list. 716 Public method to add an entry to the list.
696 </p> 717 </p>
697 <dl> 718 <dl>
698 719
699 <dt><i>name</i></dt> 720 <dt><i>name</i> (str)</dt>
700 <dd> 721 <dd>
701 data for the name field (string) 722 data for the name field
702 </dd> 723 </dd>
703 <dt><i>short</i></dt> 724 <dt><i>short</i> (str)</dt>
704 <dd> 725 <dd>
705 data for the short field (string) 726 data for the short field
706 </dd> 727 </dd>
707 <dt><i>description</i></dt> 728 <dt><i>description</i> (list of str)</dt>
708 <dd> 729 <dd>
709 data for the description field (list of strings) 730 data for the description field
710 </dd> 731 </dd>
711 <dt><i>url</i></dt> 732 <dt><i>url</i> (str)</dt>
712 <dd> 733 <dd>
713 data for the url field (string) 734 data for the url field
714 </dd> 735 </dd>
715 <dt><i>author</i></dt> 736 <dt><i>author</i> (str)</dt>
716 <dd> 737 <dd>
717 data for the author field (string) 738 data for the author field
718 </dd> 739 </dd>
719 <dt><i>version</i></dt> 740 <dt><i>version</i> (str)</dt>
720 <dd> 741 <dd>
721 data for the version field (string) 742 data for the version field
722 </dd> 743 </dd>
723 <dt><i>filename</i></dt> 744 <dt><i>filename</i> (str)</dt>
724 <dd> 745 <dd>
725 data for the filename field (string) 746 data for the filename field
726 </dd> 747 </dd>
727 <dt><i>status</i></dt> 748 <dt><i>status</i> (str)</dt>
728 <dd> 749 <dd>
729 status of the plugin (string [stable, unstable, unknown]) 750 status of the plugin (one of stable, unstable, unknown)
751 </dd>
752 <dt><i>category</i> (str)</dt>
753 <dd>
754 category designation of the plugin
730 </dd> 755 </dd>
731 </dl> 756 </dl>
732 <a NAME="PluginRepositoryWidget.getDownloadedPlugins" ID="PluginRepositoryWidget.getDownloadedPlugins"></a> 757 <a NAME="PluginRepositoryWidget.getDownloadedPlugins" ID="PluginRepositoryWidget.getDownloadedPlugins"></a>
733 <h4>PluginRepositoryWidget.getDownloadedPlugins</h4> 758 <h4>PluginRepositoryWidget.getDownloadedPlugins</h4>
734 <b>getDownloadedPlugins</b>(<i></i>) 759 <b>getDownloadedPlugins</b>(<i></i>)
737 Public method to get the list of recently downloaded plugin files. 762 Public method to get the list of recently downloaded plugin files.
738 </p> 763 </p>
739 <dl> 764 <dl>
740 <dt>Return:</dt> 765 <dt>Return:</dt>
741 <dd> 766 <dd>
742 list of plugin filenames (list of strings) 767 list of plugin filenames
768 </dd>
769 </dl>
770 <dl>
771 <dt>Return Type:</dt>
772 <dd>
773 list of str
743 </dd> 774 </dd>
744 </dl> 775 </dl>
745 <a NAME="PluginRepositoryWidget.on_buttonBox_clicked" ID="PluginRepositoryWidget.on_buttonBox_clicked"></a> 776 <a NAME="PluginRepositoryWidget.on_buttonBox_clicked" ID="PluginRepositoryWidget.on_buttonBox_clicked"></a>
746 <h4>PluginRepositoryWidget.on_buttonBox_clicked</h4> 777 <h4>PluginRepositoryWidget.on_buttonBox_clicked</h4>
747 <b>on_buttonBox_clicked</b>(<i>button</i>) 778 <b>on_buttonBox_clicked</b>(<i>button</i>)
749 <p> 780 <p>
750 Private slot to handle the click of a button of the button box. 781 Private slot to handle the click of a button of the button box.
751 </p> 782 </p>
752 <dl> 783 <dl>
753 784
754 <dt><i>button</i></dt> 785 <dt><i>button</i> (QAbstractButton)</dt>
755 <dd> 786 <dd>
756 reference to the button pressed (QAbstractButton) 787 reference to the button pressed
757 </dd> 788 </dd>
758 </dl> 789 </dl>
759 <a NAME="PluginRepositoryWidget.on_repositoryList_currentItemChanged" ID="PluginRepositoryWidget.on_repositoryList_currentItemChanged"></a> 790 <a NAME="PluginRepositoryWidget.on_repositoryList_currentItemChanged" ID="PluginRepositoryWidget.on_repositoryList_currentItemChanged"></a>
760 <h4>PluginRepositoryWidget.on_repositoryList_currentItemChanged</h4> 791 <h4>PluginRepositoryWidget.on_repositoryList_currentItemChanged</h4>
761 <b>on_repositoryList_currentItemChanged</b>(<i>current, previous</i>) 792 <b>on_repositoryList_currentItemChanged</b>(<i>current, previous</i>)
763 <p> 794 <p>
764 Private slot to handle the change of the current item. 795 Private slot to handle the change of the current item.
765 </p> 796 </p>
766 <dl> 797 <dl>
767 798
768 <dt><i>current</i></dt> 799 <dt><i>current</i> (QTreeWidgetItem)</dt>
769 <dd> 800 <dd>
770 reference to the new current item (QTreeWidgetItem) 801 reference to the new current item
771 </dd> 802 </dd>
772 <dt><i>previous</i></dt> 803 <dt><i>previous</i> (QTreeWidgetItem)</dt>
773 <dd> 804 <dd>
774 reference to the old current item (QTreeWidgetItem) 805 reference to the old current item
775 </dd> 806 </dd>
776 </dl> 807 </dl>
777 <a NAME="PluginRepositoryWidget.on_repositoryList_customContextMenuRequested" ID="PluginRepositoryWidget.on_repositoryList_customContextMenuRequested"></a> 808 <a NAME="PluginRepositoryWidget.on_repositoryList_customContextMenuRequested" ID="PluginRepositoryWidget.on_repositoryList_customContextMenuRequested"></a>
778 <h4>PluginRepositoryWidget.on_repositoryList_customContextMenuRequested</h4> 809 <h4>PluginRepositoryWidget.on_repositoryList_customContextMenuRequested</h4>
779 <b>on_repositoryList_customContextMenuRequested</b>(<i>pos</i>) 810 <b>on_repositoryList_customContextMenuRequested</b>(<i>pos</i>)
781 <p> 812 <p>
782 Private slot to show the context menu. 813 Private slot to show the context menu.
783 </p> 814 </p>
784 <dl> 815 <dl>
785 816
786 <dt><i>pos</i></dt> 817 <dt><i>pos</i> (QPoint)</dt>
787 <dd> 818 <dd>
788 position to show the menu (QPoint) 819 position to show the menu
789 </dd> 820 </dd>
790 </dl> 821 </dl>
791 <a NAME="PluginRepositoryWidget.on_repositoryList_itemSelectionChanged" ID="PluginRepositoryWidget.on_repositoryList_itemSelectionChanged"></a> 822 <a NAME="PluginRepositoryWidget.on_repositoryList_itemSelectionChanged" ID="PluginRepositoryWidget.on_repositoryList_itemSelectionChanged"></a>
792 <h4>PluginRepositoryWidget.on_repositoryList_itemSelectionChanged</h4> 823 <h4>PluginRepositoryWidget.on_repositoryList_itemSelectionChanged</h4>
793 <b>on_repositoryList_itemSelectionChanged</b>(<i></i>) 824 <b>on_repositoryList_itemSelectionChanged</b>(<i></i>)
803 Private slot to set the read only status of the repository URL line 834 Private slot to set the read only status of the repository URL line
804 edit. 835 edit.
805 </p> 836 </p>
806 <dl> 837 <dl>
807 838
808 <dt><i>checked</i></dt> 839 <dt><i>checked</i> (bool)</dt>
809 <dd> 840 <dd>
810 state of the push button (boolean) 841 state of the push button
811 </dd> 842 </dd>
812 </dl> 843 </dl>
813 <a NAME="PluginRepositoryWidget.reloadList" ID="PluginRepositoryWidget.reloadList"></a> 844 <a NAME="PluginRepositoryWidget.reloadList" ID="PluginRepositoryWidget.reloadList"></a>
814 <h4>PluginRepositoryWidget.reloadList</h4> 845 <h4>PluginRepositoryWidget.reloadList</h4>
815 <b>reloadList</b>(<i></i>) 846 <b>reloadList</b>(<i></i>)
864 <p> 895 <p>
865 Constructor 896 Constructor
866 </p> 897 </p>
867 <dl> 898 <dl>
868 899
869 <dt><i>parent</i></dt> 900 <dt><i>parent</i> (QWidget)</dt>
870 <dd> 901 <dd>
871 reference to the parent widget (QWidget) 902 reference to the parent widget
872 </dd> 903 </dd>
873 </dl> 904 </dl>
874 <a NAME="PluginRepositoryWindow.__startPluginInstall" ID="PluginRepositoryWindow.__startPluginInstall"></a> 905 <a NAME="PluginRepositoryWindow.__startPluginInstall" ID="PluginRepositoryWindow.__startPluginInstall"></a>
875 <h4>PluginRepositoryWindow.__startPluginInstall</h4> 906 <h4>PluginRepositoryWindow.__startPluginInstall</h4>
876 <b>__startPluginInstall</b>(<i></i>) 907 <b>__startPluginInstall</b>(<i></i>)
879 Private slot to start the eric plugin installation dialog. 910 Private slot to start the eric plugin installation dialog.
880 </p> 911 </p>
881 <div align="right"><a href="#top">Up</a></div> 912 <div align="right"><a href="#top">Up</a></div>
882 <hr /> 913 <hr />
883 <hr /> 914 <hr />
915 <a NAME="PluginStatus" ID="PluginStatus"></a>
916 <h2>PluginStatus</h2>
917
918 <p>
919 Class defining the various plugin status.
920 </p>
921 <h3>Derived from</h3>
922 enum.Enum
923 <h3>Class Attributes</h3>
924
925 <table>
926 <tr><td>Error</td></tr><tr><td>LocalUpdate</td></tr><tr><td>New</td></tr><tr><td>RemoteUpdate</td></tr><tr><td>UpToDate</td></tr>
927 </table>
928 <h3>Class Methods</h3>
929
930 <table>
931 <tr><td>None</td></tr>
932 </table>
933 <h3>Methods</h3>
934
935 <table>
936 <tr><td>None</td></tr>
937 </table>
938 <h3>Static Methods</h3>
939
940 <table>
941 <tr><td>None</td></tr>
942 </table>
943
944 <div align="right"><a href="#top">Up</a></div>
945 <hr />
946 <hr />
884 <a NAME="PluginRepositoryDownloadCleanup" ID="PluginRepositoryDownloadCleanup"></a> 947 <a NAME="PluginRepositoryDownloadCleanup" ID="PluginRepositoryDownloadCleanup"></a>
885 <h2>PluginRepositoryDownloadCleanup</h2> 948 <h2>PluginRepositoryDownloadCleanup</h2>
886 <b>PluginRepositoryDownloadCleanup</b>(<i>quiet=False</i>) 949 <b>PluginRepositoryDownloadCleanup</b>(<i>quiet=False</i>)
887 950
888 <p> 951 <p>
898 <div align="right"><a href="#top">Up</a></div> 961 <div align="right"><a href="#top">Up</a></div>
899 <hr /> 962 <hr />
900 <hr /> 963 <hr />
901 <a NAME="registerPlugin" ID="registerPlugin"></a> 964 <a NAME="registerPlugin" ID="registerPlugin"></a>
902 <h2>registerPlugin</h2> 965 <h2>registerPlugin</h2>
903 <b>registerPlugin</b>(<i>name, short, description, url, author, version, filename, status</i>) 966 <b>registerPlugin</b>(<i>name, short, description, url, author, version, filename, status, category, </i>)
904 967
905 <p> 968 <p>
906 Method to register a plug-in's data. 969 Method to register a plug-in's data.
907 </p> 970 </p>
908 <dl> 971 <dl>
909 972
910 <dt><i>name</i></dt> 973 <dt><i>name</i> (str)</dt>
911 <dd> 974 <dd>
912 data for the name field (string) 975 data for the name field
913 </dd> 976 </dd>
914 <dt><i>short</i></dt> 977 <dt><i>short</i> (str)</dt>
915 <dd> 978 <dd>
916 data for the short field (string) 979 data for the short field
917 </dd> 980 </dd>
918 <dt><i>description</i></dt> 981 <dt><i>description</i> (list of str)</dt>
919 <dd> 982 <dd>
920 data for the description field (list of strings) 983 data for the description field
921 </dd> 984 </dd>
922 <dt><i>url</i></dt> 985 <dt><i>url</i> (str)</dt>
923 <dd> 986 <dd>
924 data for the url field (string) 987 data for the url field
925 </dd> 988 </dd>
926 <dt><i>author</i></dt> 989 <dt><i>author</i> (str)</dt>
927 <dd> 990 <dd>
928 data for the author field (string) 991 data for the author field
929 </dd> 992 </dd>
930 <dt><i>version</i></dt> 993 <dt><i>version</i> (str)</dt>
931 <dd> 994 <dd>
932 data for the version field (string) 995 data for the version field
933 </dd> 996 </dd>
934 <dt><i>filename</i></dt> 997 <dt><i>filename</i> (str)</dt>
935 <dd> 998 <dd>
936 data for the filename field (string) 999 data for the filename field
937 </dd> 1000 </dd>
938 <dt><i>status</i></dt> 1001 <dt><i>status</i> (str)</dt>
939 <dd> 1002 <dd>
940 status of the plugin (string [stable, unstable, unknown]) 1003 status of the plugin (one of stable, unstable, unknown)
1004 </dd>
1005 <dt><i>category</i> (str)</dt>
1006 <dd>
1007 category designation of the plugin
941 </dd> 1008 </dd>
942 </dl> 1009 </dl>
943 <div align="right"><a href="#top">Up</a></div> 1010 <div align="right"><a href="#top">Up</a></div>
944 <hr /> 1011 <hr />
945 </body></html> 1012 </body></html>

eric ide

mercurial