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>) |
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>) |
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>) |
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>) |
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> |