5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.UI.BrowserModel</h1> |
9 <h1>eric7.UI.BrowserModel</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the browser model. |
11 Module implementing the browser model. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#BrowserClassAttributeItem">BrowserClassAttributeItem</a></td> |
22 <td><a href="#BrowserClassAttributeItem">BrowserClassAttributeItem</a></td> |
25 <td>Class implementing the data structure for browser class attribute items.</td> |
23 <td>Class implementing the data structure for browser class attribute items.</td> |
26 </tr> |
24 </tr> |
27 <tr> |
25 <tr> |
79 <tr> |
77 <tr> |
80 <td><a href="#BrowserSysPathItem">BrowserSysPathItem</a></td> |
78 <td><a href="#BrowserSysPathItem">BrowserSysPathItem</a></td> |
81 <td>Class implementing the data structure for browser sys.path items.</td> |
79 <td>Class implementing the data structure for browser sys.path items.</td> |
82 </tr> |
80 </tr> |
83 </table> |
81 </table> |
|
82 |
84 <h3>Functions</h3> |
83 <h3>Functions</h3> |
85 |
84 <table> |
86 <table> |
85 <tr><td>None</td></tr> |
87 <tr><td>None</td></tr> |
86 </table> |
88 </table> |
87 |
89 <hr /> |
88 <hr /> |
90 <hr /> |
89 <hr /> |
91 <a NAME="BrowserClassAttributeItem" ID="BrowserClassAttributeItem"></a> |
90 <a NAME="BrowserClassAttributeItem" ID="BrowserClassAttributeItem"></a> |
92 <h2>BrowserClassAttributeItem</h2> |
91 <h2>BrowserClassAttributeItem</h2> |
93 |
|
94 <p> |
92 <p> |
95 Class implementing the data structure for browser class attribute items. |
93 Class implementing the data structure for browser class attribute items. |
96 </p> |
94 </p> |
|
95 |
97 <h3>Derived from</h3> |
96 <h3>Derived from</h3> |
98 BrowserItem |
97 BrowserItem |
99 <h3>Class Attributes</h3> |
98 <h3>Class Attributes</h3> |
100 |
99 <table> |
101 <table> |
100 <tr><td>None</td></tr> |
102 <tr><td>None</td></tr> |
101 </table> |
103 </table> |
102 |
104 <h3>Class Methods</h3> |
103 <h3>Class Methods</h3> |
105 |
104 <table> |
106 <table> |
105 <tr><td>None</td></tr> |
107 <tr><td>None</td></tr> |
106 </table> |
108 </table> |
107 |
109 <h3>Methods</h3> |
108 <h3>Methods</h3> |
110 |
109 <table> |
111 <table> |
|
112 |
|
113 <tr> |
110 <tr> |
114 <td><a href="#BrowserClassAttributeItem.__init__">BrowserClassAttributeItem</a></td> |
111 <td><a href="#BrowserClassAttributeItem.__init__">BrowserClassAttributeItem</a></td> |
115 <td>Constructor</td> |
112 <td>Constructor</td> |
116 </tr> |
113 </tr> |
117 <tr> |
114 <tr> |
137 <tr> |
134 <tr> |
138 <td><a href="#BrowserClassAttributeItem.linenos">linenos</a></td> |
135 <td><a href="#BrowserClassAttributeItem.linenos">linenos</a></td> |
139 <td>Public method returning the line numbers this object is assigned to.</td> |
136 <td>Public method returning the line numbers this object is assigned to.</td> |
140 </tr> |
137 </tr> |
141 </table> |
138 </table> |
|
139 |
142 <h3>Static Methods</h3> |
140 <h3>Static Methods</h3> |
143 |
141 <table> |
144 <table> |
142 <tr><td>None</td></tr> |
145 <tr><td>None</td></tr> |
143 </table> |
146 </table> |
144 |
147 |
145 |
148 <a NAME="BrowserClassAttributeItem.__init__" ID="BrowserClassAttributeItem.__init__"></a> |
146 <a NAME="BrowserClassAttributeItem.__init__" ID="BrowserClassAttributeItem.__init__"></a> |
149 <h4>BrowserClassAttributeItem (Constructor)</h4> |
147 <h4>BrowserClassAttributeItem (Constructor)</h4> |
150 <b>BrowserClassAttributeItem</b>(<i>parent, attribute, isClass=False</i>) |
148 <b>BrowserClassAttributeItem</b>(<i>parent, attribute, isClass=False</i>) |
151 |
|
152 <p> |
149 <p> |
153 Constructor |
150 Constructor |
154 </p> |
151 </p> |
|
152 |
155 <dl> |
153 <dl> |
156 |
154 |
157 <dt><i>parent</i> (BrowserItem)</dt> |
155 <dt><i>parent</i> (BrowserItem)</dt> |
158 <dd> |
156 <dd> |
159 parent item |
157 parent item |
225 </dd> |
223 </dd> |
226 </dl> |
224 </dl> |
227 <a NAME="BrowserClassAttributeItem.lessThan" ID="BrowserClassAttributeItem.lessThan"></a> |
225 <a NAME="BrowserClassAttributeItem.lessThan" ID="BrowserClassAttributeItem.lessThan"></a> |
228 <h4>BrowserClassAttributeItem.lessThan</h4> |
226 <h4>BrowserClassAttributeItem.lessThan</h4> |
229 <b>lessThan</b>(<i>other, column, order</i>) |
227 <b>lessThan</b>(<i>other, column, order</i>) |
230 |
|
231 <p> |
228 <p> |
232 Public method to check, if the item is less than the other one. |
229 Public method to check, if the item is less than the other one. |
233 </p> |
230 </p> |
|
231 |
234 <dl> |
232 <dl> |
235 |
233 |
236 <dt><i>other</i> (BrowserItem)</dt> |
234 <dt><i>other</i> (BrowserItem)</dt> |
237 <dd> |
235 <dd> |
238 reference to item to compare against |
236 reference to item to compare against |
299 <div align="right"><a href="#top">Up</a></div> |
297 <div align="right"><a href="#top">Up</a></div> |
300 <hr /> |
298 <hr /> |
301 <hr /> |
299 <hr /> |
302 <a NAME="BrowserClassAttributesItem" ID="BrowserClassAttributesItem"></a> |
300 <a NAME="BrowserClassAttributesItem" ID="BrowserClassAttributesItem"></a> |
303 <h2>BrowserClassAttributesItem</h2> |
301 <h2>BrowserClassAttributesItem</h2> |
304 |
|
305 <p> |
302 <p> |
306 Class implementing the data structure for browser class attributes items. |
303 Class implementing the data structure for browser class attributes items. |
307 </p> |
304 </p> |
|
305 |
308 <h3>Derived from</h3> |
306 <h3>Derived from</h3> |
309 BrowserItem |
307 BrowserItem |
310 <h3>Class Attributes</h3> |
308 <h3>Class Attributes</h3> |
311 |
309 <table> |
312 <table> |
310 <tr><td>None</td></tr> |
313 <tr><td>None</td></tr> |
311 </table> |
314 </table> |
312 |
315 <h3>Class Methods</h3> |
313 <h3>Class Methods</h3> |
316 |
314 <table> |
317 <table> |
315 <tr><td>None</td></tr> |
318 <tr><td>None</td></tr> |
316 </table> |
319 </table> |
317 |
320 <h3>Methods</h3> |
318 <h3>Methods</h3> |
321 |
319 <table> |
322 <table> |
|
323 |
|
324 <tr> |
320 <tr> |
325 <td><a href="#BrowserClassAttributesItem.__init__">BrowserClassAttributesItem</a></td> |
321 <td><a href="#BrowserClassAttributesItem.__init__">BrowserClassAttributesItem</a></td> |
326 <td>Constructor</td> |
322 <td>Constructor</td> |
327 </tr> |
323 </tr> |
328 <tr> |
324 <tr> |
340 <tr> |
336 <tr> |
341 <td><a href="#BrowserClassAttributesItem.name">name</a></td> |
337 <td><a href="#BrowserClassAttributesItem.name">name</a></td> |
342 <td>Public method to return the name of the item.</td> |
338 <td>Public method to return the name of the item.</td> |
343 </tr> |
339 </tr> |
344 </table> |
340 </table> |
|
341 |
345 <h3>Static Methods</h3> |
342 <h3>Static Methods</h3> |
346 |
343 <table> |
347 <table> |
344 <tr><td>None</td></tr> |
348 <tr><td>None</td></tr> |
345 </table> |
349 </table> |
346 |
350 |
347 |
351 <a NAME="BrowserClassAttributesItem.__init__" ID="BrowserClassAttributesItem.__init__"></a> |
348 <a NAME="BrowserClassAttributesItem.__init__" ID="BrowserClassAttributesItem.__init__"></a> |
352 <h4>BrowserClassAttributesItem (Constructor)</h4> |
349 <h4>BrowserClassAttributesItem (Constructor)</h4> |
353 <b>BrowserClassAttributesItem</b>(<i>parent, attributes, text, isClass=False</i>) |
350 <b>BrowserClassAttributesItem</b>(<i>parent, attributes, text, isClass=False</i>) |
354 |
|
355 <p> |
351 <p> |
356 Constructor |
352 Constructor |
357 </p> |
353 </p> |
|
354 |
358 <dl> |
355 <dl> |
359 |
356 |
360 <dt><i>parent</i> (BrowserItem)</dt> |
357 <dt><i>parent</i> (BrowserItem)</dt> |
361 <dd> |
358 <dd> |
362 parent item |
359 parent item |
413 </dd> |
410 </dd> |
414 </dl> |
411 </dl> |
415 <a NAME="BrowserClassAttributesItem.lessThan" ID="BrowserClassAttributesItem.lessThan"></a> |
412 <a NAME="BrowserClassAttributesItem.lessThan" ID="BrowserClassAttributesItem.lessThan"></a> |
416 <h4>BrowserClassAttributesItem.lessThan</h4> |
413 <h4>BrowserClassAttributesItem.lessThan</h4> |
417 <b>lessThan</b>(<i>other, column, order</i>) |
414 <b>lessThan</b>(<i>other, column, order</i>) |
418 |
|
419 <p> |
415 <p> |
420 Public method to check, if the item is less than the other one. |
416 Public method to check, if the item is less than the other one. |
421 </p> |
417 </p> |
|
418 |
422 <dl> |
419 <dl> |
423 |
420 |
424 <dt><i>other</i> (BrowserItem)</dt> |
421 <dt><i>other</i> (BrowserItem)</dt> |
425 <dd> |
422 <dd> |
426 reference to item to compare against |
423 reference to item to compare against |
468 <div align="right"><a href="#top">Up</a></div> |
465 <div align="right"><a href="#top">Up</a></div> |
469 <hr /> |
466 <hr /> |
470 <hr /> |
467 <hr /> |
471 <a NAME="BrowserClassItem" ID="BrowserClassItem"></a> |
468 <a NAME="BrowserClassItem" ID="BrowserClassItem"></a> |
472 <h2>BrowserClassItem</h2> |
469 <h2>BrowserClassItem</h2> |
473 |
|
474 <p> |
470 <p> |
475 Class implementing the data structure for browser class items. |
471 Class implementing the data structure for browser class items. |
476 </p> |
472 </p> |
|
473 |
477 <h3>Derived from</h3> |
474 <h3>Derived from</h3> |
478 BrowserItem |
475 BrowserItem |
479 <h3>Class Attributes</h3> |
476 <h3>Class Attributes</h3> |
480 |
477 <table> |
481 <table> |
478 <tr><td>None</td></tr> |
482 <tr><td>None</td></tr> |
479 </table> |
483 </table> |
480 |
484 <h3>Class Methods</h3> |
481 <h3>Class Methods</h3> |
485 |
482 <table> |
486 <table> |
483 <tr><td>None</td></tr> |
487 <tr><td>None</td></tr> |
484 </table> |
488 </table> |
485 |
489 <h3>Methods</h3> |
486 <h3>Methods</h3> |
490 |
487 <table> |
491 <table> |
|
492 |
|
493 <tr> |
488 <tr> |
494 <td><a href="#BrowserClassItem.__init__">BrowserClassItem</a></td> |
489 <td><a href="#BrowserClassItem.__init__">BrowserClassItem</a></td> |
495 <td>Constructor</td> |
490 <td>Constructor</td> |
496 </tr> |
491 </tr> |
497 <tr> |
492 <tr> |
521 <tr> |
516 <tr> |
522 <td><a href="#BrowserClassItem.name">name</a></td> |
517 <td><a href="#BrowserClassItem.name">name</a></td> |
523 <td>Public method to return the name of the item.</td> |
518 <td>Public method to return the name of the item.</td> |
524 </tr> |
519 </tr> |
525 </table> |
520 </table> |
|
521 |
526 <h3>Static Methods</h3> |
522 <h3>Static Methods</h3> |
527 |
523 <table> |
528 <table> |
524 <tr><td>None</td></tr> |
529 <tr><td>None</td></tr> |
525 </table> |
530 </table> |
526 |
531 |
527 |
532 <a NAME="BrowserClassItem.__init__" ID="BrowserClassItem.__init__"></a> |
528 <a NAME="BrowserClassItem.__init__" ID="BrowserClassItem.__init__"></a> |
533 <h4>BrowserClassItem (Constructor)</h4> |
529 <h4>BrowserClassItem (Constructor)</h4> |
534 <b>BrowserClassItem</b>(<i>parent, cl, filename</i>) |
530 <b>BrowserClassItem</b>(<i>parent, cl, filename</i>) |
535 |
|
536 <p> |
531 <p> |
537 Constructor |
532 Constructor |
538 </p> |
533 </p> |
|
534 |
539 <dl> |
535 <dl> |
540 |
536 |
541 <dt><i>parent</i> (BrowserItem)</dt> |
537 <dt><i>parent</i> (BrowserItem)</dt> |
542 <dd> |
538 <dd> |
543 parent item |
539 parent item |
628 </dd> |
624 </dd> |
629 </dl> |
625 </dl> |
630 <a NAME="BrowserClassItem.lessThan" ID="BrowserClassItem.lessThan"></a> |
626 <a NAME="BrowserClassItem.lessThan" ID="BrowserClassItem.lessThan"></a> |
631 <h4>BrowserClassItem.lessThan</h4> |
627 <h4>BrowserClassItem.lessThan</h4> |
632 <b>lessThan</b>(<i>other, column, order</i>) |
628 <b>lessThan</b>(<i>other, column, order</i>) |
633 |
|
634 <p> |
629 <p> |
635 Public method to check, if the item is less than the other one. |
630 Public method to check, if the item is less than the other one. |
636 </p> |
631 </p> |
|
632 |
637 <dl> |
633 <dl> |
638 |
634 |
639 <dt><i>other</i> (BrowserItem)</dt> |
635 <dt><i>other</i> (BrowserItem)</dt> |
640 <dd> |
636 <dd> |
641 reference to item to compare against |
637 reference to item to compare against |
702 <div align="right"><a href="#top">Up</a></div> |
698 <div align="right"><a href="#top">Up</a></div> |
703 <hr /> |
699 <hr /> |
704 <hr /> |
700 <hr /> |
705 <a NAME="BrowserCodingItem" ID="BrowserCodingItem"></a> |
701 <a NAME="BrowserCodingItem" ID="BrowserCodingItem"></a> |
706 <h2>BrowserCodingItem</h2> |
702 <h2>BrowserCodingItem</h2> |
707 |
|
708 <p> |
703 <p> |
709 Class implementing the data structure for browser coding items. |
704 Class implementing the data structure for browser coding items. |
710 </p> |
705 </p> |
|
706 |
711 <h3>Derived from</h3> |
707 <h3>Derived from</h3> |
712 BrowserItem |
708 BrowserItem |
713 <h3>Class Attributes</h3> |
709 <h3>Class Attributes</h3> |
714 |
710 <table> |
715 <table> |
711 <tr><td>None</td></tr> |
716 <tr><td>None</td></tr> |
712 </table> |
717 </table> |
713 |
718 <h3>Class Methods</h3> |
714 <h3>Class Methods</h3> |
719 |
715 <table> |
720 <table> |
716 <tr><td>None</td></tr> |
721 <tr><td>None</td></tr> |
717 </table> |
722 </table> |
718 |
723 <h3>Methods</h3> |
719 <h3>Methods</h3> |
724 |
720 <table> |
725 <table> |
|
726 |
|
727 <tr> |
721 <tr> |
728 <td><a href="#BrowserCodingItem.__init__">BrowserCodingItem</a></td> |
722 <td><a href="#BrowserCodingItem.__init__">BrowserCodingItem</a></td> |
729 <td>Constructor</td> |
723 <td>Constructor</td> |
730 </tr> |
724 </tr> |
731 <tr> |
725 <tr> |
735 <tr> |
729 <tr> |
736 <td><a href="#BrowserCodingItem.lineno">lineno</a></td> |
730 <td><a href="#BrowserCodingItem.lineno">lineno</a></td> |
737 <td>Public method returning the line number of the coding line.</td> |
731 <td>Public method returning the line number of the coding line.</td> |
738 </tr> |
732 </tr> |
739 </table> |
733 </table> |
|
734 |
740 <h3>Static Methods</h3> |
735 <h3>Static Methods</h3> |
741 |
736 <table> |
742 <table> |
737 <tr><td>None</td></tr> |
743 <tr><td>None</td></tr> |
738 </table> |
744 </table> |
739 |
745 |
740 |
746 <a NAME="BrowserCodingItem.__init__" ID="BrowserCodingItem.__init__"></a> |
741 <a NAME="BrowserCodingItem.__init__" ID="BrowserCodingItem.__init__"></a> |
747 <h4>BrowserCodingItem (Constructor)</h4> |
742 <h4>BrowserCodingItem (Constructor)</h4> |
748 <b>BrowserCodingItem</b>(<i>parent, text, linenumber</i>) |
743 <b>BrowserCodingItem</b>(<i>parent, text, linenumber</i>) |
749 |
|
750 <p> |
744 <p> |
751 Constructor |
745 Constructor |
752 </p> |
746 </p> |
|
747 |
753 <dl> |
748 <dl> |
754 |
749 |
755 <dt><i>parent</i> (BrowserItem)</dt> |
750 <dt><i>parent</i> (BrowserItem)</dt> |
756 <dd> |
751 <dd> |
757 parent item |
752 parent item |
766 </dd> |
761 </dd> |
767 </dl> |
762 </dl> |
768 <a NAME="BrowserCodingItem.lessThan" ID="BrowserCodingItem.lessThan"></a> |
763 <a NAME="BrowserCodingItem.lessThan" ID="BrowserCodingItem.lessThan"></a> |
769 <h4>BrowserCodingItem.lessThan</h4> |
764 <h4>BrowserCodingItem.lessThan</h4> |
770 <b>lessThan</b>(<i>other, column, order</i>) |
765 <b>lessThan</b>(<i>other, column, order</i>) |
771 |
|
772 <p> |
766 <p> |
773 Public method to check, if the item is less than the other one. |
767 Public method to check, if the item is less than the other one. |
774 </p> |
768 </p> |
|
769 |
775 <dl> |
770 <dl> |
776 |
771 |
777 <dt><i>other</i> (BrowserItem)</dt> |
772 <dt><i>other</i> (BrowserItem)</dt> |
778 <dd> |
773 <dd> |
779 reference to item to compare against |
774 reference to item to compare against |
821 <div align="right"><a href="#top">Up</a></div> |
816 <div align="right"><a href="#top">Up</a></div> |
822 <hr /> |
817 <hr /> |
823 <hr /> |
818 <hr /> |
824 <a NAME="BrowserDirectoryItem" ID="BrowserDirectoryItem"></a> |
819 <a NAME="BrowserDirectoryItem" ID="BrowserDirectoryItem"></a> |
825 <h2>BrowserDirectoryItem</h2> |
820 <h2>BrowserDirectoryItem</h2> |
826 |
|
827 <p> |
821 <p> |
828 Class implementing the data structure for browser directory items. |
822 Class implementing the data structure for browser directory items. |
829 </p> |
823 </p> |
|
824 |
830 <h3>Derived from</h3> |
825 <h3>Derived from</h3> |
831 BrowserItem |
826 BrowserItem |
832 <h3>Class Attributes</h3> |
827 <h3>Class Attributes</h3> |
833 |
828 <table> |
834 <table> |
829 <tr><td>None</td></tr> |
835 <tr><td>None</td></tr> |
830 </table> |
836 </table> |
831 |
837 <h3>Class Methods</h3> |
832 <h3>Class Methods</h3> |
838 |
833 <table> |
839 <table> |
834 <tr><td>None</td></tr> |
840 <tr><td>None</td></tr> |
835 </table> |
841 </table> |
836 |
842 <h3>Methods</h3> |
837 <h3>Methods</h3> |
843 |
838 <table> |
844 <table> |
|
845 |
|
846 <tr> |
839 <tr> |
847 <td><a href="#BrowserDirectoryItem.__init__">BrowserDirectoryItem</a></td> |
840 <td><a href="#BrowserDirectoryItem.__init__">BrowserDirectoryItem</a></td> |
848 <td>Constructor</td> |
841 <td>Constructor</td> |
849 </tr> |
842 </tr> |
850 <tr> |
843 <tr> |
862 <tr> |
855 <tr> |
863 <td><a href="#BrowserDirectoryItem.setName">setName</a></td> |
856 <td><a href="#BrowserDirectoryItem.setName">setName</a></td> |
864 <td>Public method to set the directory name.</td> |
857 <td>Public method to set the directory name.</td> |
865 </tr> |
858 </tr> |
866 </table> |
859 </table> |
|
860 |
867 <h3>Static Methods</h3> |
861 <h3>Static Methods</h3> |
868 |
862 <table> |
869 <table> |
863 <tr><td>None</td></tr> |
870 <tr><td>None</td></tr> |
864 </table> |
871 </table> |
865 |
872 |
866 |
873 <a NAME="BrowserDirectoryItem.__init__" ID="BrowserDirectoryItem.__init__"></a> |
867 <a NAME="BrowserDirectoryItem.__init__" ID="BrowserDirectoryItem.__init__"></a> |
874 <h4>BrowserDirectoryItem (Constructor)</h4> |
868 <h4>BrowserDirectoryItem (Constructor)</h4> |
875 <b>BrowserDirectoryItem</b>(<i>parent, dinfo, full=True</i>) |
869 <b>BrowserDirectoryItem</b>(<i>parent, dinfo, full=True</i>) |
876 |
|
877 <p> |
870 <p> |
878 Constructor |
871 Constructor |
879 </p> |
872 </p> |
|
873 |
880 <dl> |
874 <dl> |
881 |
875 |
882 <dt><i>parent</i> (BrowserItem)</dt> |
876 <dt><i>parent</i> (BrowserItem)</dt> |
883 <dd> |
877 <dd> |
884 parent item |
878 parent item |
912 </dd> |
906 </dd> |
913 </dl> |
907 </dl> |
914 <a NAME="BrowserDirectoryItem.lessThan" ID="BrowserDirectoryItem.lessThan"></a> |
908 <a NAME="BrowserDirectoryItem.lessThan" ID="BrowserDirectoryItem.lessThan"></a> |
915 <h4>BrowserDirectoryItem.lessThan</h4> |
909 <h4>BrowserDirectoryItem.lessThan</h4> |
916 <b>lessThan</b>(<i>other, column, order</i>) |
910 <b>lessThan</b>(<i>other, column, order</i>) |
917 |
|
918 <p> |
911 <p> |
919 Public method to check, if the item is less than the other one. |
912 Public method to check, if the item is less than the other one. |
920 </p> |
913 </p> |
|
914 |
921 <dl> |
915 <dl> |
922 |
916 |
923 <dt><i>other</i> (BrowserItem)</dt> |
917 <dt><i>other</i> (BrowserItem)</dt> |
924 <dd> |
918 <dd> |
925 reference to item to compare against |
919 reference to item to compare against |
965 </dd> |
959 </dd> |
966 </dl> |
960 </dl> |
967 <a NAME="BrowserDirectoryItem.setName" ID="BrowserDirectoryItem.setName"></a> |
961 <a NAME="BrowserDirectoryItem.setName" ID="BrowserDirectoryItem.setName"></a> |
968 <h4>BrowserDirectoryItem.setName</h4> |
962 <h4>BrowserDirectoryItem.setName</h4> |
969 <b>setName</b>(<i>dinfo, full=True</i>) |
963 <b>setName</b>(<i>dinfo, full=True</i>) |
970 |
|
971 <p> |
964 <p> |
972 Public method to set the directory name. |
965 Public method to set the directory name. |
973 </p> |
966 </p> |
|
967 |
974 <dl> |
968 <dl> |
975 |
969 |
976 <dt><i>dinfo</i> (str)</dt> |
970 <dt><i>dinfo</i> (str)</dt> |
977 <dd> |
971 <dd> |
978 dinfo is the string for the directory |
972 dinfo is the string for the directory |
985 <div align="right"><a href="#top">Up</a></div> |
979 <div align="right"><a href="#top">Up</a></div> |
986 <hr /> |
980 <hr /> |
987 <hr /> |
981 <hr /> |
988 <a NAME="BrowserFileItem" ID="BrowserFileItem"></a> |
982 <a NAME="BrowserFileItem" ID="BrowserFileItem"></a> |
989 <h2>BrowserFileItem</h2> |
983 <h2>BrowserFileItem</h2> |
990 |
|
991 <p> |
984 <p> |
992 Class implementing the data structure for browser file items. |
985 Class implementing the data structure for browser file items. |
993 </p> |
986 </p> |
|
987 |
994 <h3>Derived from</h3> |
988 <h3>Derived from</h3> |
995 BrowserItem |
989 BrowserItem |
996 <h3>Class Attributes</h3> |
990 <h3>Class Attributes</h3> |
997 |
991 <table> |
998 <table> |
992 <tr><td>None</td></tr> |
999 <tr><td>None</td></tr> |
993 </table> |
1000 </table> |
994 |
1001 <h3>Class Methods</h3> |
995 <h3>Class Methods</h3> |
1002 |
996 <table> |
1003 <table> |
997 <tr><td>None</td></tr> |
1004 <tr><td>None</td></tr> |
998 </table> |
1005 </table> |
999 |
1006 <h3>Methods</h3> |
1000 <h3>Methods</h3> |
1007 |
1001 <table> |
1008 <table> |
|
1009 |
|
1010 <tr> |
1002 <tr> |
1011 <td><a href="#BrowserFileItem.__init__">BrowserFileItem</a></td> |
1003 <td><a href="#BrowserFileItem.__init__">BrowserFileItem</a></td> |
1012 <td>Constructor</td> |
1004 <td>Constructor</td> |
1013 </tr> |
1005 </tr> |
1014 <tr> |
1006 <tr> |
1098 <tr> |
1090 <tr> |
1099 <td><a href="#BrowserFileItem.setName">setName</a></td> |
1091 <td><a href="#BrowserFileItem.setName">setName</a></td> |
1100 <td>Public method to set the directory name.</td> |
1092 <td>Public method to set the directory name.</td> |
1101 </tr> |
1093 </tr> |
1102 </table> |
1094 </table> |
|
1095 |
1103 <h3>Static Methods</h3> |
1096 <h3>Static Methods</h3> |
1104 |
1097 <table> |
1105 <table> |
1098 <tr><td>None</td></tr> |
1106 <tr><td>None</td></tr> |
1099 </table> |
1107 </table> |
1100 |
1108 |
1101 |
1109 <a NAME="BrowserFileItem.__init__" ID="BrowserFileItem.__init__"></a> |
1102 <a NAME="BrowserFileItem.__init__" ID="BrowserFileItem.__init__"></a> |
1110 <h4>BrowserFileItem (Constructor)</h4> |
1103 <h4>BrowserFileItem (Constructor)</h4> |
1111 <b>BrowserFileItem</b>(<i>parent, finfo, full=True, sourceLanguage=""</i>) |
1104 <b>BrowserFileItem</b>(<i>parent, finfo, full=True, sourceLanguage=""</i>) |
1112 |
|
1113 <p> |
1105 <p> |
1114 Constructor |
1106 Constructor |
1115 </p> |
1107 </p> |
|
1108 |
1116 <dl> |
1109 <dl> |
1117 |
1110 |
1118 <dt><i>parent</i> (BrowserItem)</dt> |
1111 <dt><i>parent</i> (BrowserItem)</dt> |
1119 <dd> |
1112 <dd> |
1120 parent item |
1113 parent item |
1475 </dd> |
1468 </dd> |
1476 </dl> |
1469 </dl> |
1477 <a NAME="BrowserFileItem.lessThan" ID="BrowserFileItem.lessThan"></a> |
1470 <a NAME="BrowserFileItem.lessThan" ID="BrowserFileItem.lessThan"></a> |
1478 <h4>BrowserFileItem.lessThan</h4> |
1471 <h4>BrowserFileItem.lessThan</h4> |
1479 <b>lessThan</b>(<i>other, column, order</i>) |
1472 <b>lessThan</b>(<i>other, column, order</i>) |
1480 |
|
1481 <p> |
1473 <p> |
1482 Public method to check, if the item is less than the other one. |
1474 Public method to check, if the item is less than the other one. |
1483 </p> |
1475 </p> |
|
1476 |
1484 <dl> |
1477 <dl> |
1485 |
1478 |
1486 <dt><i>other</i> (BrowserItem)</dt> |
1479 <dt><i>other</i> (BrowserItem)</dt> |
1487 <dd> |
1480 <dd> |
1488 reference to item to compare against |
1481 reference to item to compare against |
1547 </dd> |
1540 </dd> |
1548 </dl> |
1541 </dl> |
1549 <a NAME="BrowserFileItem.setName" ID="BrowserFileItem.setName"></a> |
1542 <a NAME="BrowserFileItem.setName" ID="BrowserFileItem.setName"></a> |
1550 <h4>BrowserFileItem.setName</h4> |
1543 <h4>BrowserFileItem.setName</h4> |
1551 <b>setName</b>(<i>finfo, full=True</i>) |
1544 <b>setName</b>(<i>finfo, full=True</i>) |
1552 |
|
1553 <p> |
1545 <p> |
1554 Public method to set the directory name. |
1546 Public method to set the directory name. |
1555 </p> |
1547 </p> |
|
1548 |
1556 <dl> |
1549 <dl> |
1557 |
1550 |
1558 <dt><i>finfo</i> (str)</dt> |
1551 <dt><i>finfo</i> (str)</dt> |
1559 <dd> |
1552 <dd> |
1560 the string for the file |
1553 the string for the file |
1567 <div align="right"><a href="#top">Up</a></div> |
1560 <div align="right"><a href="#top">Up</a></div> |
1568 <hr /> |
1561 <hr /> |
1569 <hr /> |
1562 <hr /> |
1570 <a NAME="BrowserGlobalsItem" ID="BrowserGlobalsItem"></a> |
1563 <a NAME="BrowserGlobalsItem" ID="BrowserGlobalsItem"></a> |
1571 <h2>BrowserGlobalsItem</h2> |
1564 <h2>BrowserGlobalsItem</h2> |
1572 |
|
1573 <p> |
1565 <p> |
1574 Class implementing the data structure for browser globals items. |
1566 Class implementing the data structure for browser globals items. |
1575 </p> |
1567 </p> |
|
1568 |
1576 <h3>Derived from</h3> |
1569 <h3>Derived from</h3> |
1577 BrowserClassAttributesItem |
1570 BrowserClassAttributesItem |
1578 <h3>Class Attributes</h3> |
1571 <h3>Class Attributes</h3> |
1579 |
1572 <table> |
1580 <table> |
1573 <tr><td>None</td></tr> |
1581 <tr><td>None</td></tr> |
1574 </table> |
1582 </table> |
1575 |
1583 <h3>Class Methods</h3> |
1576 <h3>Class Methods</h3> |
1584 |
1577 <table> |
1585 <table> |
1578 <tr><td>None</td></tr> |
1586 <tr><td>None</td></tr> |
1579 </table> |
1587 </table> |
1580 |
1588 <h3>Methods</h3> |
1581 <h3>Methods</h3> |
1589 |
1582 <table> |
1590 <table> |
|
1591 |
|
1592 <tr> |
1583 <tr> |
1593 <td><a href="#BrowserGlobalsItem.__init__">BrowserGlobalsItem</a></td> |
1584 <td><a href="#BrowserGlobalsItem.__init__">BrowserGlobalsItem</a></td> |
1594 <td>Constructor</td> |
1585 <td>Constructor</td> |
1595 </tr> |
1586 </tr> |
1596 </table> |
1587 </table> |
|
1588 |
1597 <h3>Static Methods</h3> |
1589 <h3>Static Methods</h3> |
1598 |
1590 <table> |
1599 <table> |
1591 <tr><td>None</td></tr> |
1600 <tr><td>None</td></tr> |
1592 </table> |
1601 </table> |
1593 |
1602 |
1594 |
1603 <a NAME="BrowserGlobalsItem.__init__" ID="BrowserGlobalsItem.__init__"></a> |
1595 <a NAME="BrowserGlobalsItem.__init__" ID="BrowserGlobalsItem.__init__"></a> |
1604 <h4>BrowserGlobalsItem (Constructor)</h4> |
1596 <h4>BrowserGlobalsItem (Constructor)</h4> |
1605 <b>BrowserGlobalsItem</b>(<i>parent, attributes, text</i>) |
1597 <b>BrowserGlobalsItem</b>(<i>parent, attributes, text</i>) |
1606 |
|
1607 <p> |
1598 <p> |
1608 Constructor |
1599 Constructor |
1609 </p> |
1600 </p> |
|
1601 |
1610 <dl> |
1602 <dl> |
1611 |
1603 |
1612 <dt><i>parent</i> (BrowserItem)</dt> |
1604 <dt><i>parent</i> (BrowserItem)</dt> |
1613 <dd> |
1605 <dd> |
1614 parent item |
1606 parent item |
1625 <div align="right"><a href="#top">Up</a></div> |
1617 <div align="right"><a href="#top">Up</a></div> |
1626 <hr /> |
1618 <hr /> |
1627 <hr /> |
1619 <hr /> |
1628 <a NAME="BrowserImportItem" ID="BrowserImportItem"></a> |
1620 <a NAME="BrowserImportItem" ID="BrowserImportItem"></a> |
1629 <h2>BrowserImportItem</h2> |
1621 <h2>BrowserImportItem</h2> |
1630 |
|
1631 <p> |
1622 <p> |
1632 Class implementing the data structure for browser imported module and |
1623 Class implementing the data structure for browser imported module and |
1633 imported names items. |
1624 imported names items. |
1634 </p> |
1625 </p> |
|
1626 |
1635 <h3>Derived from</h3> |
1627 <h3>Derived from</h3> |
1636 BrowserItem |
1628 BrowserItem |
1637 <h3>Class Attributes</h3> |
1629 <h3>Class Attributes</h3> |
1638 |
1630 <table> |
1639 <table> |
1631 <tr><td>None</td></tr> |
1640 <tr><td>None</td></tr> |
1632 </table> |
1641 </table> |
1633 |
1642 <h3>Class Methods</h3> |
1634 <h3>Class Methods</h3> |
1643 |
1635 <table> |
1644 <table> |
1636 <tr><td>None</td></tr> |
1645 <tr><td>None</td></tr> |
1637 </table> |
1646 </table> |
1638 |
1647 <h3>Methods</h3> |
1639 <h3>Methods</h3> |
1648 |
1640 <table> |
1649 <table> |
|
1650 |
|
1651 <tr> |
1641 <tr> |
1652 <td><a href="#BrowserImportItem.__init__">BrowserImportItem</a></td> |
1642 <td><a href="#BrowserImportItem.__init__">BrowserImportItem</a></td> |
1653 <td>Constructor</td> |
1643 <td>Constructor</td> |
1654 </tr> |
1644 </tr> |
1655 <tr> |
1645 <tr> |
1667 <tr> |
1657 <tr> |
1668 <td><a href="#BrowserImportItem.linenos">linenos</a></td> |
1658 <td><a href="#BrowserImportItem.linenos">linenos</a></td> |
1669 <td>Public method returning the line numbers of all imports.</td> |
1659 <td>Public method returning the line numbers of all imports.</td> |
1670 </tr> |
1660 </tr> |
1671 </table> |
1661 </table> |
|
1662 |
1672 <h3>Static Methods</h3> |
1663 <h3>Static Methods</h3> |
1673 |
1664 <table> |
1674 <table> |
1665 <tr><td>None</td></tr> |
1675 <tr><td>None</td></tr> |
1666 </table> |
1676 </table> |
1667 |
1677 |
1668 |
1678 <a NAME="BrowserImportItem.__init__" ID="BrowserImportItem.__init__"></a> |
1669 <a NAME="BrowserImportItem.__init__" ID="BrowserImportItem.__init__"></a> |
1679 <h4>BrowserImportItem (Constructor)</h4> |
1670 <h4>BrowserImportItem (Constructor)</h4> |
1680 <b>BrowserImportItem</b>(<i>parent, text, filename, lineNumbers, isModule=True</i>) |
1671 <b>BrowserImportItem</b>(<i>parent, text, filename, lineNumbers, isModule=True</i>) |
1681 |
|
1682 <p> |
1672 <p> |
1683 Constructor |
1673 Constructor |
1684 </p> |
1674 </p> |
|
1675 |
1685 <dl> |
1676 <dl> |
1686 |
1677 |
1687 <dt><i>parent</i> (BrowserItem)</dt> |
1678 <dt><i>parent</i> (BrowserItem)</dt> |
1688 <dd> |
1679 <dd> |
1689 parent item |
1680 parent item |
1725 </dd> |
1716 </dd> |
1726 </dl> |
1717 </dl> |
1727 <a NAME="BrowserImportItem.lessThan" ID="BrowserImportItem.lessThan"></a> |
1718 <a NAME="BrowserImportItem.lessThan" ID="BrowserImportItem.lessThan"></a> |
1728 <h4>BrowserImportItem.lessThan</h4> |
1719 <h4>BrowserImportItem.lessThan</h4> |
1729 <b>lessThan</b>(<i>other, column, order</i>) |
1720 <b>lessThan</b>(<i>other, column, order</i>) |
1730 |
|
1731 <p> |
1721 <p> |
1732 Public method to check, if the item is less than the other one. |
1722 Public method to check, if the item is less than the other one. |
1733 </p> |
1723 </p> |
|
1724 |
1734 <dl> |
1725 <dl> |
1735 |
1726 |
1736 <dt><i>other</i> (BrowserItem)</dt> |
1727 <dt><i>other</i> (BrowserItem)</dt> |
1737 <dd> |
1728 <dd> |
1738 reference to item to compare against |
1729 reference to item to compare against |
1799 <div align="right"><a href="#top">Up</a></div> |
1790 <div align="right"><a href="#top">Up</a></div> |
1800 <hr /> |
1791 <hr /> |
1801 <hr /> |
1792 <hr /> |
1802 <a NAME="BrowserImportsItem" ID="BrowserImportsItem"></a> |
1793 <a NAME="BrowserImportsItem" ID="BrowserImportsItem"></a> |
1803 <h2>BrowserImportsItem</h2> |
1794 <h2>BrowserImportsItem</h2> |
1804 |
|
1805 <p> |
1795 <p> |
1806 Class implementing the data structure for browser import items. |
1796 Class implementing the data structure for browser import items. |
1807 </p> |
1797 </p> |
|
1798 |
1808 <h3>Derived from</h3> |
1799 <h3>Derived from</h3> |
1809 BrowserItem |
1800 BrowserItem |
1810 <h3>Class Attributes</h3> |
1801 <h3>Class Attributes</h3> |
1811 |
1802 <table> |
1812 <table> |
1803 <tr><td>None</td></tr> |
1813 <tr><td>None</td></tr> |
1804 </table> |
1814 </table> |
1805 |
1815 <h3>Class Methods</h3> |
1806 <h3>Class Methods</h3> |
1816 |
1807 <table> |
1817 <table> |
1808 <tr><td>None</td></tr> |
1818 <tr><td>None</td></tr> |
1809 </table> |
1819 </table> |
1810 |
1820 <h3>Methods</h3> |
1811 <h3>Methods</h3> |
1821 |
1812 <table> |
1822 <table> |
|
1823 |
|
1824 <tr> |
1813 <tr> |
1825 <td><a href="#BrowserImportsItem.__init__">BrowserImportsItem</a></td> |
1814 <td><a href="#BrowserImportsItem.__init__">BrowserImportsItem</a></td> |
1826 <td>Constructor</td> |
1815 <td>Constructor</td> |
1827 </tr> |
1816 </tr> |
1828 <tr> |
1817 <tr> |
1829 <td><a href="#BrowserImportsItem.lessThan">lessThan</a></td> |
1818 <td><a href="#BrowserImportsItem.lessThan">lessThan</a></td> |
1830 <td>Public method to check, if the item is less than the other one.</td> |
1819 <td>Public method to check, if the item is less than the other one.</td> |
1831 </tr> |
1820 </tr> |
1832 </table> |
1821 </table> |
|
1822 |
1833 <h3>Static Methods</h3> |
1823 <h3>Static Methods</h3> |
1834 |
1824 <table> |
1835 <table> |
1825 <tr><td>None</td></tr> |
1836 <tr><td>None</td></tr> |
1826 </table> |
1837 </table> |
1827 |
1838 |
1828 |
1839 <a NAME="BrowserImportsItem.__init__" ID="BrowserImportsItem.__init__"></a> |
1829 <a NAME="BrowserImportsItem.__init__" ID="BrowserImportsItem.__init__"></a> |
1840 <h4>BrowserImportsItem (Constructor)</h4> |
1830 <h4>BrowserImportsItem (Constructor)</h4> |
1841 <b>BrowserImportsItem</b>(<i>parent, text</i>) |
1831 <b>BrowserImportsItem</b>(<i>parent, text</i>) |
1842 |
|
1843 <p> |
1832 <p> |
1844 Constructor |
1833 Constructor |
1845 </p> |
1834 </p> |
|
1835 |
1846 <dl> |
1836 <dl> |
1847 |
1837 |
1848 <dt><i>parent</i> (BrowserItem)</dt> |
1838 <dt><i>parent</i> (BrowserItem)</dt> |
1849 <dd> |
1839 <dd> |
1850 parent item |
1840 parent item |
1855 </dd> |
1845 </dd> |
1856 </dl> |
1846 </dl> |
1857 <a NAME="BrowserImportsItem.lessThan" ID="BrowserImportsItem.lessThan"></a> |
1847 <a NAME="BrowserImportsItem.lessThan" ID="BrowserImportsItem.lessThan"></a> |
1858 <h4>BrowserImportsItem.lessThan</h4> |
1848 <h4>BrowserImportsItem.lessThan</h4> |
1859 <b>lessThan</b>(<i>other, column, order</i>) |
1849 <b>lessThan</b>(<i>other, column, order</i>) |
1860 |
|
1861 <p> |
1850 <p> |
1862 Public method to check, if the item is less than the other one. |
1851 Public method to check, if the item is less than the other one. |
1863 </p> |
1852 </p> |
|
1853 |
1864 <dl> |
1854 <dl> |
1865 |
1855 |
1866 <dt><i>other</i> (BrowserItem)</dt> |
1856 <dt><i>other</i> (BrowserItem)</dt> |
1867 <dd> |
1857 <dd> |
1868 reference to item to compare against |
1858 reference to item to compare against |
1891 <div align="right"><a href="#top">Up</a></div> |
1881 <div align="right"><a href="#top">Up</a></div> |
1892 <hr /> |
1882 <hr /> |
1893 <hr /> |
1883 <hr /> |
1894 <a NAME="BrowserItem" ID="BrowserItem"></a> |
1884 <a NAME="BrowserItem" ID="BrowserItem"></a> |
1895 <h2>BrowserItem</h2> |
1885 <h2>BrowserItem</h2> |
1896 |
|
1897 <p> |
1886 <p> |
1898 Class implementing the data structure for browser items. |
1887 Class implementing the data structure for browser items. |
1899 </p> |
1888 </p> |
|
1889 |
1900 <h3>Derived from</h3> |
1890 <h3>Derived from</h3> |
1901 None |
1891 None |
1902 <h3>Class Attributes</h3> |
1892 <h3>Class Attributes</h3> |
1903 |
1893 <table> |
1904 <table> |
1894 <tr><td>None</td></tr> |
1905 <tr><td>None</td></tr> |
1895 </table> |
1906 </table> |
1896 |
1907 <h3>Class Methods</h3> |
1897 <h3>Class Methods</h3> |
1908 |
1898 <table> |
1909 <table> |
1899 <tr><td>None</td></tr> |
1910 <tr><td>None</td></tr> |
1900 </table> |
1911 </table> |
1901 |
1912 <h3>Methods</h3> |
1902 <h3>Methods</h3> |
1913 |
1903 <table> |
1914 <table> |
|
1915 |
|
1916 <tr> |
1904 <tr> |
1917 <td><a href="#BrowserItem.__init__">BrowserItem</a></td> |
1905 <td><a href="#BrowserItem.__init__">BrowserItem</a></td> |
1918 <td>Constructor</td> |
1906 <td>Constructor</td> |
1919 </tr> |
1907 </tr> |
1920 <tr> |
1908 <tr> |
1984 <tr> |
1972 <tr> |
1985 <td><a href="#BrowserItem.type">type</a></td> |
1973 <td><a href="#BrowserItem.type">type</a></td> |
1986 <td>Public method to get the item type.</td> |
1974 <td>Public method to get the item type.</td> |
1987 </tr> |
1975 </tr> |
1988 </table> |
1976 </table> |
|
1977 |
1989 <h3>Static Methods</h3> |
1978 <h3>Static Methods</h3> |
1990 |
1979 <table> |
1991 <table> |
1980 <tr><td>None</td></tr> |
1992 <tr><td>None</td></tr> |
1981 </table> |
1993 </table> |
1982 |
1994 |
1983 |
1995 <a NAME="BrowserItem.__init__" ID="BrowserItem.__init__"></a> |
1984 <a NAME="BrowserItem.__init__" ID="BrowserItem.__init__"></a> |
1996 <h4>BrowserItem (Constructor)</h4> |
1985 <h4>BrowserItem (Constructor)</h4> |
1997 <b>BrowserItem</b>(<i>parent, data</i>) |
1986 <b>BrowserItem</b>(<i>parent, data</i>) |
1998 |
|
1999 <p> |
1987 <p> |
2000 Constructor |
1988 Constructor |
2001 </p> |
1989 </p> |
|
1990 |
2002 <dl> |
1991 <dl> |
2003 |
1992 |
2004 <dt><i>parent</i> (BrowserItem)</dt> |
1993 <dt><i>parent</i> (BrowserItem)</dt> |
2005 <dd> |
1994 <dd> |
2006 reference to the parent item |
1995 reference to the parent item |
2011 </dd> |
2000 </dd> |
2012 </dl> |
2001 </dl> |
2013 <a NAME="BrowserItem.appendChild" ID="BrowserItem.appendChild"></a> |
2002 <a NAME="BrowserItem.appendChild" ID="BrowserItem.appendChild"></a> |
2014 <h4>BrowserItem.appendChild</h4> |
2003 <h4>BrowserItem.appendChild</h4> |
2015 <b>appendChild</b>(<i>child</i>) |
2004 <b>appendChild</b>(<i>child</i>) |
2016 |
|
2017 <p> |
2005 <p> |
2018 Public method to add a child to this item. |
2006 Public method to add a child to this item. |
2019 </p> |
2007 </p> |
|
2008 |
2020 <dl> |
2009 <dl> |
2021 |
2010 |
2022 <dt><i>child</i> (BrowserItem)</dt> |
2011 <dt><i>child</i> (BrowserItem)</dt> |
2023 <dd> |
2012 <dd> |
2024 reference to the child item to add |
2013 reference to the child item to add |
2025 </dd> |
2014 </dd> |
2026 </dl> |
2015 </dl> |
2027 <a NAME="BrowserItem.child" ID="BrowserItem.child"></a> |
2016 <a NAME="BrowserItem.child" ID="BrowserItem.child"></a> |
2028 <h4>BrowserItem.child</h4> |
2017 <h4>BrowserItem.child</h4> |
2029 <b>child</b>(<i>row</i>) |
2018 <b>child</b>(<i>row</i>) |
2030 |
|
2031 <p> |
2019 <p> |
2032 Public method to get a child id. |
2020 Public method to get a child id. |
2033 </p> |
2021 </p> |
|
2022 |
2034 <dl> |
2023 <dl> |
2035 |
2024 |
2036 <dt><i>row</i> (int)</dt> |
2025 <dt><i>row</i> (int)</dt> |
2037 <dd> |
2026 <dd> |
2038 number of child to get the id of |
2027 number of child to get the id of |
2229 </dd> |
2218 </dd> |
2230 </dl> |
2219 </dl> |
2231 <a NAME="BrowserItem.lessThan" ID="BrowserItem.lessThan"></a> |
2220 <a NAME="BrowserItem.lessThan" ID="BrowserItem.lessThan"></a> |
2232 <h4>BrowserItem.lessThan</h4> |
2221 <h4>BrowserItem.lessThan</h4> |
2233 <b>lessThan</b>(<i>other, column, order</i>) |
2222 <b>lessThan</b>(<i>other, column, order</i>) |
2234 |
|
2235 <p> |
2223 <p> |
2236 Public method to check, if the item is less than the other one. |
2224 Public method to check, if the item is less than the other one. |
2237 </p> |
2225 </p> |
|
2226 |
2238 <dl> |
2227 <dl> |
2239 |
2228 |
2240 <dt><i>other</i> (BrowserItem)</dt> |
2229 <dt><i>other</i> (BrowserItem)</dt> |
2241 <dd> |
2230 <dd> |
2242 reference to item to compare against |
2231 reference to item to compare against |
2282 </dd> |
2271 </dd> |
2283 </dl> |
2272 </dl> |
2284 <a NAME="BrowserItem.removeChild" ID="BrowserItem.removeChild"></a> |
2273 <a NAME="BrowserItem.removeChild" ID="BrowserItem.removeChild"></a> |
2285 <h4>BrowserItem.removeChild</h4> |
2274 <h4>BrowserItem.removeChild</h4> |
2286 <b>removeChild</b>(<i>child</i>) |
2275 <b>removeChild</b>(<i>child</i>) |
2287 |
|
2288 <p> |
2276 <p> |
2289 Public method to remove a child. |
2277 Public method to remove a child. |
2290 </p> |
2278 </p> |
|
2279 |
2291 <dl> |
2280 <dl> |
2292 |
2281 |
2293 <dt><i>child</i> (BrowserItem)</dt> |
2282 <dt><i>child</i> (BrowserItem)</dt> |
2294 <dd> |
2283 <dd> |
2295 reference to the child to remove |
2284 reference to the child to remove |
2296 </dd> |
2285 </dd> |
2297 </dl> |
2286 </dl> |
2298 <a NAME="BrowserItem.removeChildren" ID="BrowserItem.removeChildren"></a> |
2287 <a NAME="BrowserItem.removeChildren" ID="BrowserItem.removeChildren"></a> |
2299 <h4>BrowserItem.removeChildren</h4> |
2288 <h4>BrowserItem.removeChildren</h4> |
2300 <b>removeChildren</b>(<i></i>) |
2289 <b>removeChildren</b>(<i></i>) |
2301 |
|
2302 <p> |
2290 <p> |
2303 Public method to remove all children. |
2291 Public method to remove all children. |
2304 </p> |
2292 </p> |
|
2293 |
2305 <a NAME="BrowserItem.row" ID="BrowserItem.row"></a> |
2294 <a NAME="BrowserItem.row" ID="BrowserItem.row"></a> |
2306 <h4>BrowserItem.row</h4> |
2295 <h4>BrowserItem.row</h4> |
2307 <b>row</b>(<i></i>) |
2296 <b>row</b>(<i></i>) |
2308 |
|
2309 <p> |
2297 <p> |
2310 Public method to get the row number of this item. |
2298 Public method to get the row number of this item. |
2311 </p> |
2299 </p> |
|
2300 |
2312 <dl> |
2301 <dl> |
2313 <dt>Return:</dt> |
2302 <dt>Return:</dt> |
2314 <dd> |
2303 <dd> |
2315 row number |
2304 row number |
2316 </dd> |
2305 </dd> |
2343 <div align="right"><a href="#top">Up</a></div> |
2332 <div align="right"><a href="#top">Up</a></div> |
2344 <hr /> |
2333 <hr /> |
2345 <hr /> |
2334 <hr /> |
2346 <a NAME="BrowserItemType" ID="BrowserItemType"></a> |
2335 <a NAME="BrowserItemType" ID="BrowserItemType"></a> |
2347 <h2>BrowserItemType</h2> |
2336 <h2>BrowserItemType</h2> |
2348 |
|
2349 <p> |
2337 <p> |
2350 Class defining the various browser item types. |
2338 Class defining the various browser item types. |
2351 </p> |
2339 </p> |
|
2340 |
2352 <h3>Derived from</h3> |
2341 <h3>Derived from</h3> |
2353 enum.Enum |
2342 enum.Enum |
2354 <h3>Class Attributes</h3> |
2343 <h3>Class Attributes</h3> |
2355 |
2344 <table> |
2356 <table> |
2345 <tr><td>Attribute</td></tr> |
2357 <tr><td>Attribute</td></tr><tr><td>Attributes</td></tr><tr><td>Class</td></tr><tr><td>Coding</td></tr><tr><td>Directory</td></tr><tr><td>File</td></tr><tr><td>Import</td></tr><tr><td>Imports</td></tr><tr><td>Method</td></tr><tr><td>PbDirectory</td></tr><tr><td>PbFile</td></tr><tr><td>PbSimpleDirectory</td></tr><tr><td>Root</td></tr><tr><td>SimpleDirectory</td></tr><tr><td>SysPath</td></tr> |
2346 <tr><td>Attributes</td></tr> |
2358 </table> |
2347 <tr><td>Class</td></tr> |
|
2348 <tr><td>Coding</td></tr> |
|
2349 <tr><td>Directory</td></tr> |
|
2350 <tr><td>File</td></tr> |
|
2351 <tr><td>Import</td></tr> |
|
2352 <tr><td>Imports</td></tr> |
|
2353 <tr><td>Method</td></tr> |
|
2354 <tr><td>PbDirectory</td></tr> |
|
2355 <tr><td>PbFile</td></tr> |
|
2356 <tr><td>PbSimpleDirectory</td></tr> |
|
2357 <tr><td>Root</td></tr> |
|
2358 <tr><td>SimpleDirectory</td></tr> |
|
2359 <tr><td>SysPath</td></tr> |
|
2360 </table> |
|
2361 |
2359 <h3>Class Methods</h3> |
2362 <h3>Class Methods</h3> |
2360 |
2363 <table> |
2361 <table> |
2364 <tr><td>None</td></tr> |
2362 <tr><td>None</td></tr> |
2365 </table> |
2363 </table> |
2366 |
2364 <h3>Methods</h3> |
2367 <h3>Methods</h3> |
2365 |
2368 <table> |
2366 <table> |
2369 <tr><td>None</td></tr> |
2367 <tr><td>None</td></tr> |
2370 </table> |
2368 </table> |
2371 |
2369 <h3>Static Methods</h3> |
2372 <h3>Static Methods</h3> |
2370 |
2373 <table> |
2371 <table> |
2374 <tr><td>None</td></tr> |
2372 <tr><td>None</td></tr> |
2375 </table> |
2373 </table> |
2376 |
2374 |
2377 |
2375 <div align="right"><a href="#top">Up</a></div> |
2378 <div align="right"><a href="#top">Up</a></div> |
2376 <hr /> |
2379 <hr /> |
2377 <hr /> |
2380 <hr /> |
2378 <a NAME="BrowserMethodItem" ID="BrowserMethodItem"></a> |
2381 <a NAME="BrowserMethodItem" ID="BrowserMethodItem"></a> |
2379 <h2>BrowserMethodItem</h2> |
2382 <h2>BrowserMethodItem</h2> |
2380 |
|
2381 <p> |
2383 <p> |
2382 Class implementing the data structure for browser method items. |
2384 Class implementing the data structure for browser method items. |
2383 </p> |
2385 </p> |
|
2386 |
2384 <h3>Derived from</h3> |
2387 <h3>Derived from</h3> |
2385 BrowserItem |
2388 BrowserItem |
2386 <h3>Class Attributes</h3> |
2389 <h3>Class Attributes</h3> |
2387 |
2390 <table> |
2388 <table> |
2391 <tr><td>None</td></tr> |
2389 <tr><td>None</td></tr> |
2392 </table> |
2390 </table> |
2393 |
2391 <h3>Class Methods</h3> |
2394 <h3>Class Methods</h3> |
2392 |
2395 <table> |
2393 <table> |
2396 <tr><td>None</td></tr> |
2394 <tr><td>None</td></tr> |
2397 </table> |
2395 </table> |
2398 |
2396 <h3>Methods</h3> |
2399 <h3>Methods</h3> |
2397 |
2400 <table> |
2398 <table> |
|
2399 |
|
2400 <tr> |
2401 <tr> |
2401 <td><a href="#BrowserMethodItem.__init__">BrowserMethodItem</a></td> |
2402 <td><a href="#BrowserMethodItem.__init__">BrowserMethodItem</a></td> |
2402 <td>Constructor</td> |
2403 <td>Constructor</td> |
2403 </tr> |
2404 </tr> |
2404 <tr> |
2405 <tr> |
2428 <tr> |
2429 <tr> |
2429 <td><a href="#BrowserMethodItem.name">name</a></td> |
2430 <td><a href="#BrowserMethodItem.name">name</a></td> |
2430 <td>Public method to return the name of the item.</td> |
2431 <td>Public method to return the name of the item.</td> |
2431 </tr> |
2432 </tr> |
2432 </table> |
2433 </table> |
|
2434 |
2433 <h3>Static Methods</h3> |
2435 <h3>Static Methods</h3> |
2434 |
2436 <table> |
2435 <table> |
2437 <tr><td>None</td></tr> |
2436 <tr><td>None</td></tr> |
2438 </table> |
2437 </table> |
2439 |
2438 |
2440 |
2439 <a NAME="BrowserMethodItem.__init__" ID="BrowserMethodItem.__init__"></a> |
2441 <a NAME="BrowserMethodItem.__init__" ID="BrowserMethodItem.__init__"></a> |
2440 <h4>BrowserMethodItem (Constructor)</h4> |
2442 <h4>BrowserMethodItem (Constructor)</h4> |
2441 <b>BrowserMethodItem</b>(<i>parent, fn, filename</i>) |
2443 <b>BrowserMethodItem</b>(<i>parent, fn, filename</i>) |
2442 |
|
2443 <p> |
2444 <p> |
2444 Constructor |
2445 Constructor |
2445 </p> |
2446 </p> |
|
2447 |
2446 <dl> |
2448 <dl> |
2447 |
2449 |
2448 <dt><i>parent</i> (BrowserItem)</dt> |
2450 <dt><i>parent</i> (BrowserItem)</dt> |
2449 <dd> |
2451 <dd> |
2450 parent item |
2452 parent item |
2535 </dd> |
2537 </dd> |
2536 </dl> |
2538 </dl> |
2537 <a NAME="BrowserMethodItem.lessThan" ID="BrowserMethodItem.lessThan"></a> |
2539 <a NAME="BrowserMethodItem.lessThan" ID="BrowserMethodItem.lessThan"></a> |
2538 <h4>BrowserMethodItem.lessThan</h4> |
2540 <h4>BrowserMethodItem.lessThan</h4> |
2539 <b>lessThan</b>(<i>other, column, order</i>) |
2541 <b>lessThan</b>(<i>other, column, order</i>) |
2540 |
|
2541 <p> |
2542 <p> |
2542 Public method to check, if the item is less than the other one. |
2543 Public method to check, if the item is less than the other one. |
2543 </p> |
2544 </p> |
|
2545 |
2544 <dl> |
2546 <dl> |
2545 |
2547 |
2546 <dt><i>other</i> (BrowserItem)</dt> |
2548 <dt><i>other</i> (BrowserItem)</dt> |
2547 <dd> |
2549 <dd> |
2548 reference to item to compare against |
2550 reference to item to compare against |
2609 <div align="right"><a href="#top">Up</a></div> |
2611 <div align="right"><a href="#top">Up</a></div> |
2610 <hr /> |
2612 <hr /> |
2611 <hr /> |
2613 <hr /> |
2612 <a NAME="BrowserModel" ID="BrowserModel"></a> |
2614 <a NAME="BrowserModel" ID="BrowserModel"></a> |
2613 <h2>BrowserModel</h2> |
2615 <h2>BrowserModel</h2> |
2614 |
|
2615 <p> |
2616 <p> |
2616 Class implementing the browser model. |
2617 Class implementing the browser model. |
2617 </p> |
2618 </p> |
|
2619 |
2618 <h3>Derived from</h3> |
2620 <h3>Derived from</h3> |
2619 QAbstractItemModel |
2621 QAbstractItemModel |
2620 <h3>Class Attributes</h3> |
2622 <h3>Class Attributes</h3> |
2621 |
2623 <table> |
2622 <table> |
2624 <tr><td>None</td></tr> |
2623 <tr><td>None</td></tr> |
2625 </table> |
2624 </table> |
2626 |
2625 <h3>Class Methods</h3> |
2627 <h3>Class Methods</h3> |
2626 |
2628 <table> |
2627 <table> |
2629 <tr><td>None</td></tr> |
2628 <tr><td>None</td></tr> |
2630 </table> |
2629 </table> |
2631 |
2630 <h3>Methods</h3> |
2632 <h3>Methods</h3> |
2631 |
2633 <table> |
2632 <table> |
|
2633 |
|
2634 <tr> |
2634 <tr> |
2635 <td><a href="#BrowserModel.__init__">BrowserModel</a></td> |
2635 <td><a href="#BrowserModel.__init__">BrowserModel</a></td> |
2636 <td>Constructor</td> |
2636 <td>Constructor</td> |
2637 </tr> |
2637 </tr> |
2638 <tr> |
2638 <tr> |
2754 <tr> |
2754 <tr> |
2755 <td><a href="#BrowserModel.saveToplevelDirs">saveToplevelDirs</a></td> |
2755 <td><a href="#BrowserModel.saveToplevelDirs">saveToplevelDirs</a></td> |
2756 <td>Public slot to save the toplevel directories.</td> |
2756 <td>Public slot to save the toplevel directories.</td> |
2757 </tr> |
2757 </tr> |
2758 </table> |
2758 </table> |
|
2759 |
2759 <h3>Static Methods</h3> |
2760 <h3>Static Methods</h3> |
2760 |
2761 <table> |
2761 <table> |
2762 <tr><td>None</td></tr> |
2762 <tr><td>None</td></tr> |
2763 </table> |
2763 </table> |
2764 |
2764 |
2765 |
2765 <a NAME="BrowserModel.__init__" ID="BrowserModel.__init__"></a> |
2766 <a NAME="BrowserModel.__init__" ID="BrowserModel.__init__"></a> |
2766 <h4>BrowserModel (Constructor)</h4> |
2767 <h4>BrowserModel (Constructor)</h4> |
2767 <b>BrowserModel</b>(<i>parent=None, nopopulate=False</i>) |
2768 <b>BrowserModel</b>(<i>parent=None, nopopulate=False</i>) |
2768 |
|
2769 <p> |
2769 <p> |
2770 Constructor |
2770 Constructor |
2771 </p> |
2771 </p> |
|
2772 |
2772 <dl> |
2773 <dl> |
2773 |
2774 |
2774 <dt><i>parent</i> (QObject)</dt> |
2775 <dt><i>parent</i> (QObject)</dt> |
2775 <dd> |
2776 <dd> |
2776 reference to parent object |
2777 reference to parent object |
2781 </dd> |
2782 </dd> |
2782 </dl> |
2783 </dl> |
2783 <a NAME="BrowserModel.__populateModel" ID="BrowserModel.__populateModel"></a> |
2784 <a NAME="BrowserModel.__populateModel" ID="BrowserModel.__populateModel"></a> |
2784 <h4>BrowserModel.__populateModel</h4> |
2785 <h4>BrowserModel.__populateModel</h4> |
2785 <b>__populateModel</b>(<i></i>) |
2786 <b>__populateModel</b>(<i></i>) |
2786 |
|
2787 <p> |
2787 <p> |
2788 Private method to populate the browser model. |
2788 Private method to populate the browser model. |
2789 </p> |
2789 </p> |
|
2790 |
2790 <a NAME="BrowserModel._addItem" ID="BrowserModel._addItem"></a> |
2791 <a NAME="BrowserModel._addItem" ID="BrowserModel._addItem"></a> |
2791 <h4>BrowserModel._addItem</h4> |
2792 <h4>BrowserModel._addItem</h4> |
2792 <b>_addItem</b>(<i>itm, parentItem</i>) |
2793 <b>_addItem</b>(<i>itm, parentItem</i>) |
2793 |
|
2794 <p> |
2794 <p> |
2795 Protected slot to add an item. |
2795 Protected slot to add an item. |
2796 </p> |
2796 </p> |
|
2797 |
2797 <dl> |
2798 <dl> |
2798 |
2799 |
2799 <dt><i>itm</i> (BrowserItem)</dt> |
2800 <dt><i>itm</i> (BrowserItem)</dt> |
2800 <dd> |
2801 <dd> |
2801 reference to item to add |
2802 reference to item to add |
2806 </dd> |
2807 </dd> |
2807 </dl> |
2808 </dl> |
2808 <a NAME="BrowserModel._addWatchedItem" ID="BrowserModel._addWatchedItem"></a> |
2809 <a NAME="BrowserModel._addWatchedItem" ID="BrowserModel._addWatchedItem"></a> |
2809 <h4>BrowserModel._addWatchedItem</h4> |
2810 <h4>BrowserModel._addWatchedItem</h4> |
2810 <b>_addWatchedItem</b>(<i>itm</i>) |
2811 <b>_addWatchedItem</b>(<i>itm</i>) |
2811 |
|
2812 <p> |
2812 <p> |
2813 Protected method to watch an item. |
2813 Protected method to watch an item. |
2814 </p> |
2814 </p> |
|
2815 |
2815 <dl> |
2816 <dl> |
2816 |
2817 |
2817 <dt><i>itm</i> (BrowserDirectoryItem)</dt> |
2818 <dt><i>itm</i> (BrowserDirectoryItem)</dt> |
2818 <dd> |
2819 <dd> |
2819 item to be watched |
2820 item to be watched |
2820 </dd> |
2821 </dd> |
2821 </dl> |
2822 </dl> |
2822 <a NAME="BrowserModel._removeWatchedItem" ID="BrowserModel._removeWatchedItem"></a> |
2823 <a NAME="BrowserModel._removeWatchedItem" ID="BrowserModel._removeWatchedItem"></a> |
2823 <h4>BrowserModel._removeWatchedItem</h4> |
2824 <h4>BrowserModel._removeWatchedItem</h4> |
2824 <b>_removeWatchedItem</b>(<i>itm</i>) |
2825 <b>_removeWatchedItem</b>(<i>itm</i>) |
2825 |
|
2826 <p> |
2826 <p> |
2827 Protected method to remove a watched item. |
2827 Protected method to remove a watched item. |
2828 </p> |
2828 </p> |
|
2829 |
2829 <dl> |
2830 <dl> |
2830 |
2831 |
2831 <dt><i>itm</i> (BrowserDirectoryItem)</dt> |
2832 <dt><i>itm</i> (BrowserDirectoryItem)</dt> |
2832 <dd> |
2833 <dd> |
2833 item to be removed |
2834 item to be removed |
2834 </dd> |
2835 </dd> |
2835 </dl> |
2836 </dl> |
2836 <a NAME="BrowserModel.addItem" ID="BrowserModel.addItem"></a> |
2837 <a NAME="BrowserModel.addItem" ID="BrowserModel.addItem"></a> |
2837 <h4>BrowserModel.addItem</h4> |
2838 <h4>BrowserModel.addItem</h4> |
2838 <b>addItem</b>(<i>itm, parent=None</i>) |
2839 <b>addItem</b>(<i>itm, parent=None</i>) |
2839 |
|
2840 <p> |
2840 <p> |
2841 Public slot to add an item. |
2841 Public slot to add an item. |
2842 </p> |
2842 </p> |
|
2843 |
2843 <dl> |
2844 <dl> |
2844 |
2845 |
2845 <dt><i>itm</i> (BrowserItem)</dt> |
2846 <dt><i>itm</i> (BrowserItem)</dt> |
2846 <dd> |
2847 <dd> |
2847 item to add |
2848 item to add |
2852 </dd> |
2853 </dd> |
2853 </dl> |
2854 </dl> |
2854 <a NAME="BrowserModel.addTopLevelDir" ID="BrowserModel.addTopLevelDir"></a> |
2855 <a NAME="BrowserModel.addTopLevelDir" ID="BrowserModel.addTopLevelDir"></a> |
2855 <h4>BrowserModel.addTopLevelDir</h4> |
2856 <h4>BrowserModel.addTopLevelDir</h4> |
2856 <b>addTopLevelDir</b>(<i>dirname</i>) |
2857 <b>addTopLevelDir</b>(<i>dirname</i>) |
2857 |
|
2858 <p> |
2858 <p> |
2859 Public method to add a new toplevel directory. |
2859 Public method to add a new toplevel directory. |
2860 </p> |
2860 </p> |
|
2861 |
2861 <dl> |
2862 <dl> |
2862 |
2863 |
2863 <dt><i>dirname</i> (str)</dt> |
2864 <dt><i>dirname</i> (str)</dt> |
2864 <dd> |
2865 <dd> |
2865 name of the new toplevel directory |
2866 name of the new toplevel directory |
2866 </dd> |
2867 </dd> |
2867 </dl> |
2868 </dl> |
2868 <a NAME="BrowserModel.clear" ID="BrowserModel.clear"></a> |
2869 <a NAME="BrowserModel.clear" ID="BrowserModel.clear"></a> |
2869 <h4>BrowserModel.clear</h4> |
2870 <h4>BrowserModel.clear</h4> |
2870 <b>clear</b>(<i></i>) |
2871 <b>clear</b>(<i></i>) |
2871 |
|
2872 <p> |
2872 <p> |
2873 Public method to clear the model. |
2873 Public method to clear the model. |
2874 </p> |
2874 </p> |
|
2875 |
2875 <a NAME="BrowserModel.columnCount" ID="BrowserModel.columnCount"></a> |
2876 <a NAME="BrowserModel.columnCount" ID="BrowserModel.columnCount"></a> |
2876 <h4>BrowserModel.columnCount</h4> |
2877 <h4>BrowserModel.columnCount</h4> |
2877 <b>columnCount</b>(<i>parent=None</i>) |
2878 <b>columnCount</b>(<i>parent=None</i>) |
2878 |
|
2879 <p> |
2879 <p> |
2880 Public method to get the number of columns. |
2880 Public method to get the number of columns. |
2881 </p> |
2881 </p> |
|
2882 |
2882 <dl> |
2883 <dl> |
2883 |
2884 |
2884 <dt><i>parent</i> (QModelIndex)</dt> |
2885 <dt><i>parent</i> (QModelIndex)</dt> |
2885 <dd> |
2886 <dd> |
2886 index of parent item |
2887 index of parent item |
2899 </dd> |
2900 </dd> |
2900 </dl> |
2901 </dl> |
2901 <a NAME="BrowserModel.data" ID="BrowserModel.data"></a> |
2902 <a NAME="BrowserModel.data" ID="BrowserModel.data"></a> |
2902 <h4>BrowserModel.data</h4> |
2903 <h4>BrowserModel.data</h4> |
2903 <b>data</b>(<i>index, role</i>) |
2904 <b>data</b>(<i>index, role</i>) |
2904 |
|
2905 <p> |
2905 <p> |
2906 Public method to get data of an item. |
2906 Public method to get data of an item. |
2907 </p> |
2907 </p> |
|
2908 |
2908 <dl> |
2909 <dl> |
2909 |
2910 |
2910 <dt><i>index</i> (QModelIndex)</dt> |
2911 <dt><i>index</i> (QModelIndex)</dt> |
2911 <dd> |
2912 <dd> |
2912 index of the data to retrieve |
2913 index of the data to retrieve |
2929 </dd> |
2930 </dd> |
2930 </dl> |
2931 </dl> |
2931 <a NAME="BrowserModel.directoryChanged" ID="BrowserModel.directoryChanged"></a> |
2932 <a NAME="BrowserModel.directoryChanged" ID="BrowserModel.directoryChanged"></a> |
2932 <h4>BrowserModel.directoryChanged</h4> |
2933 <h4>BrowserModel.directoryChanged</h4> |
2933 <b>directoryChanged</b>(<i>path</i>) |
2934 <b>directoryChanged</b>(<i>path</i>) |
2934 |
|
2935 <p> |
2935 <p> |
2936 Public slot to handle the directoryChanged signal of the watcher. |
2936 Public slot to handle the directoryChanged signal of the watcher. |
2937 </p> |
2937 </p> |
|
2938 |
2938 <dl> |
2939 <dl> |
2939 |
2940 |
2940 <dt><i>path</i> (str)</dt> |
2941 <dt><i>path</i> (str)</dt> |
2941 <dd> |
2942 <dd> |
2942 path of the directory |
2943 path of the directory |
2943 </dd> |
2944 </dd> |
2944 </dl> |
2945 </dl> |
2945 <a NAME="BrowserModel.fileChanged" ID="BrowserModel.fileChanged"></a> |
2946 <a NAME="BrowserModel.fileChanged" ID="BrowserModel.fileChanged"></a> |
2946 <h4>BrowserModel.fileChanged</h4> |
2947 <h4>BrowserModel.fileChanged</h4> |
2947 <b>fileChanged</b>(<i>fileName</i>) |
2948 <b>fileChanged</b>(<i>fileName</i>) |
2948 |
|
2949 <p> |
2949 <p> |
2950 Public method to react upon file changes. |
2950 Public method to react upon file changes. |
2951 </p> |
2951 </p> |
|
2952 |
2952 <dl> |
2953 <dl> |
2953 |
2954 |
2954 <dt><i>fileName</i> (str)</dt> |
2955 <dt><i>fileName</i> (str)</dt> |
2955 <dd> |
2956 <dd> |
2956 path of the changed file |
2957 path of the changed file |
2957 </dd> |
2958 </dd> |
2958 </dl> |
2959 </dl> |
2959 <a NAME="BrowserModel.flags" ID="BrowserModel.flags"></a> |
2960 <a NAME="BrowserModel.flags" ID="BrowserModel.flags"></a> |
2960 <h4>BrowserModel.flags</h4> |
2961 <h4>BrowserModel.flags</h4> |
2961 <b>flags</b>(<i>index</i>) |
2962 <b>flags</b>(<i>index</i>) |
2962 |
|
2963 <p> |
2963 <p> |
2964 Public method to get the item flags. |
2964 Public method to get the item flags. |
2965 </p> |
2965 </p> |
|
2966 |
2966 <dl> |
2967 <dl> |
2967 |
2968 |
2968 <dt><i>index</i> (QModelIndex)</dt> |
2969 <dt><i>index</i> (QModelIndex)</dt> |
2969 <dd> |
2970 <dd> |
2970 index of the data to retrieve |
2971 index of the data to retrieve |
2983 </dd> |
2984 </dd> |
2984 </dl> |
2985 </dl> |
2985 <a NAME="BrowserModel.hasChildren" ID="BrowserModel.hasChildren"></a> |
2986 <a NAME="BrowserModel.hasChildren" ID="BrowserModel.hasChildren"></a> |
2986 <h4>BrowserModel.hasChildren</h4> |
2987 <h4>BrowserModel.hasChildren</h4> |
2987 <b>hasChildren</b>(<i>parent=None</i>) |
2988 <b>hasChildren</b>(<i>parent=None</i>) |
2988 |
|
2989 <p> |
2989 <p> |
2990 Public method to check for the presence of child items. |
2990 Public method to check for the presence of child items. |
2991 </p> |
2991 </p> |
2992 <p> |
2992 <p> |
2993 We always return True for normal items in order to do lazy |
2993 We always return True for normal items in order to do lazy |
2994 population of the tree. |
2994 population of the tree. |
2995 </p> |
2995 </p> |
|
2996 |
2996 <dl> |
2997 <dl> |
2997 |
2998 |
2998 <dt><i>parent</i> (QModelIndex)</dt> |
2999 <dt><i>parent</i> (QModelIndex)</dt> |
2999 <dd> |
3000 <dd> |
3000 index of parent item |
3001 index of parent item |
3013 </dd> |
3014 </dd> |
3014 </dl> |
3015 </dl> |
3015 <a NAME="BrowserModel.headerData" ID="BrowserModel.headerData"></a> |
3016 <a NAME="BrowserModel.headerData" ID="BrowserModel.headerData"></a> |
3016 <h4>BrowserModel.headerData</h4> |
3017 <h4>BrowserModel.headerData</h4> |
3017 <b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) |
3018 <b>headerData</b>(<i>section, orientation, role=Qt.ItemDataRole.DisplayRole</i>) |
3018 |
|
3019 <p> |
3019 <p> |
3020 Public method to get the header data. |
3020 Public method to get the header data. |
3021 </p> |
3021 </p> |
|
3022 |
3022 <dl> |
3023 <dl> |
3023 |
3024 |
3024 <dt><i>section</i> (int)</dt> |
3025 <dt><i>section</i> (int)</dt> |
3025 <dd> |
3026 <dd> |
3026 number of section to get data for |
3027 number of section to get data for |
3047 </dd> |
3048 </dd> |
3048 </dl> |
3049 </dl> |
3049 <a NAME="BrowserModel.index" ID="BrowserModel.index"></a> |
3050 <a NAME="BrowserModel.index" ID="BrowserModel.index"></a> |
3050 <h4>BrowserModel.index</h4> |
3051 <h4>BrowserModel.index</h4> |
3051 <b>index</b>(<i>row, column, parent=None</i>) |
3052 <b>index</b>(<i>row, column, parent=None</i>) |
3052 |
|
3053 <p> |
3053 <p> |
3054 Public method to create an index. |
3054 Public method to create an index. |
3055 </p> |
3055 </p> |
|
3056 |
3056 <dl> |
3057 <dl> |
3057 |
3058 |
3058 <dt><i>row</i> (int)</dt> |
3059 <dt><i>row</i> (int)</dt> |
3059 <dd> |
3060 <dd> |
3060 row number of the new index |
3061 row number of the new index |
3081 </dd> |
3082 </dd> |
3082 </dl> |
3083 </dl> |
3083 <a NAME="BrowserModel.interpreterChanged" ID="BrowserModel.interpreterChanged"></a> |
3084 <a NAME="BrowserModel.interpreterChanged" ID="BrowserModel.interpreterChanged"></a> |
3084 <h4>BrowserModel.interpreterChanged</h4> |
3085 <h4>BrowserModel.interpreterChanged</h4> |
3085 <b>interpreterChanged</b>(<i>interpreter</i>) |
3086 <b>interpreterChanged</b>(<i>interpreter</i>) |
3086 |
|
3087 <p> |
3087 <p> |
3088 Public method to handle a change of the debug client's interpreter. |
3088 Public method to handle a change of the debug client's interpreter. |
3089 </p> |
3089 </p> |
|
3090 |
3090 <dl> |
3091 <dl> |
3091 |
3092 |
3092 <dt><i>interpreter</i> (str)</dt> |
3093 <dt><i>interpreter</i> (str)</dt> |
3093 <dd> |
3094 <dd> |
3094 interpreter of the debug client |
3095 interpreter of the debug client |
3095 </dd> |
3096 </dd> |
3096 </dl> |
3097 </dl> |
3097 <a NAME="BrowserModel.item" ID="BrowserModel.item"></a> |
3098 <a NAME="BrowserModel.item" ID="BrowserModel.item"></a> |
3098 <h4>BrowserModel.item</h4> |
3099 <h4>BrowserModel.item</h4> |
3099 <b>item</b>(<i>index</i>) |
3100 <b>item</b>(<i>index</i>) |
3100 |
|
3101 <p> |
3101 <p> |
3102 Public method to get a reference to an item. |
3102 Public method to get a reference to an item. |
3103 </p> |
3103 </p> |
|
3104 |
3104 <dl> |
3105 <dl> |
3105 |
3106 |
3106 <dt><i>index</i> (QModelIndex)</dt> |
3107 <dt><i>index</i> (QModelIndex)</dt> |
3107 <dd> |
3108 <dd> |
3108 index of the data to retrieve |
3109 index of the data to retrieve |
3147 </dd> |
3148 </dd> |
3148 </dl> |
3149 </dl> |
3149 <a NAME="BrowserModel.populateClassAttributesItem" ID="BrowserModel.populateClassAttributesItem"></a> |
3150 <a NAME="BrowserModel.populateClassAttributesItem" ID="BrowserModel.populateClassAttributesItem"></a> |
3150 <h4>BrowserModel.populateClassAttributesItem</h4> |
3151 <h4>BrowserModel.populateClassAttributesItem</h4> |
3151 <b>populateClassAttributesItem</b>(<i>parentItem, repopulate=False</i>) |
3152 <b>populateClassAttributesItem</b>(<i>parentItem, repopulate=False</i>) |
3152 |
|
3153 <p> |
3153 <p> |
3154 Public method to populate a class attributes item's subtree. |
3154 Public method to populate a class attributes item's subtree. |
3155 </p> |
3155 </p> |
|
3156 |
3156 <dl> |
3157 <dl> |
3157 |
3158 |
3158 <dt><i>parentItem</i> (BrowserClassAttributesItem)</dt> |
3159 <dt><i>parentItem</i> (BrowserClassAttributesItem)</dt> |
3159 <dd> |
3160 <dd> |
3160 reference to the class attributes item to be |
3161 reference to the class attributes item to be |
3166 </dd> |
3167 </dd> |
3167 </dl> |
3168 </dl> |
3168 <a NAME="BrowserModel.populateClassItem" ID="BrowserModel.populateClassItem"></a> |
3169 <a NAME="BrowserModel.populateClassItem" ID="BrowserModel.populateClassItem"></a> |
3169 <h4>BrowserModel.populateClassItem</h4> |
3170 <h4>BrowserModel.populateClassItem</h4> |
3170 <b>populateClassItem</b>(<i>parentItem, repopulate=False</i>) |
3171 <b>populateClassItem</b>(<i>parentItem, repopulate=False</i>) |
3171 |
|
3172 <p> |
3172 <p> |
3173 Public method to populate a class item's subtree. |
3173 Public method to populate a class item's subtree. |
3174 </p> |
3174 </p> |
|
3175 |
3175 <dl> |
3176 <dl> |
3176 |
3177 |
3177 <dt><i>parentItem</i> (BrowserClassItem)</dt> |
3178 <dt><i>parentItem</i> (BrowserClassItem)</dt> |
3178 <dd> |
3179 <dd> |
3179 reference to the class item to be populated |
3180 reference to the class item to be populated |
3184 </dd> |
3185 </dd> |
3185 </dl> |
3186 </dl> |
3186 <a NAME="BrowserModel.populateDirectoryItem" ID="BrowserModel.populateDirectoryItem"></a> |
3187 <a NAME="BrowserModel.populateDirectoryItem" ID="BrowserModel.populateDirectoryItem"></a> |
3187 <h4>BrowserModel.populateDirectoryItem</h4> |
3188 <h4>BrowserModel.populateDirectoryItem</h4> |
3188 <b>populateDirectoryItem</b>(<i>parentItem, repopulate=False</i>) |
3189 <b>populateDirectoryItem</b>(<i>parentItem, repopulate=False</i>) |
3189 |
|
3190 <p> |
3190 <p> |
3191 Public method to populate a directory item's subtree. |
3191 Public method to populate a directory item's subtree. |
3192 </p> |
3192 </p> |
|
3193 |
3193 <dl> |
3194 <dl> |
3194 |
3195 |
3195 <dt><i>parentItem</i> (BrowserDirectoryItem)</dt> |
3196 <dt><i>parentItem</i> (BrowserDirectoryItem)</dt> |
3196 <dd> |
3197 <dd> |
3197 reference to the directory item to be populated |
3198 reference to the directory item to be populated |
3202 </dd> |
3203 </dd> |
3203 </dl> |
3204 </dl> |
3204 <a NAME="BrowserModel.populateFileItem" ID="BrowserModel.populateFileItem"></a> |
3205 <a NAME="BrowserModel.populateFileItem" ID="BrowserModel.populateFileItem"></a> |
3205 <h4>BrowserModel.populateFileItem</h4> |
3206 <h4>BrowserModel.populateFileItem</h4> |
3206 <b>populateFileItem</b>(<i>parentItem, repopulate=False</i>) |
3207 <b>populateFileItem</b>(<i>parentItem, repopulate=False</i>) |
3207 |
|
3208 <p> |
3208 <p> |
3209 Public method to populate a file item's subtree. |
3209 Public method to populate a file item's subtree. |
3210 </p> |
3210 </p> |
|
3211 |
3211 <dl> |
3212 <dl> |
3212 |
3213 |
3213 <dt><i>parentItem</i> (BrowserFileItem)</dt> |
3214 <dt><i>parentItem</i> (BrowserFileItem)</dt> |
3214 <dd> |
3215 <dd> |
3215 reference to the file item to be populated |
3216 reference to the file item to be populated |
3220 </dd> |
3221 </dd> |
3221 </dl> |
3222 </dl> |
3222 <a NAME="BrowserModel.populateItem" ID="BrowserModel.populateItem"></a> |
3223 <a NAME="BrowserModel.populateItem" ID="BrowserModel.populateItem"></a> |
3223 <h4>BrowserModel.populateItem</h4> |
3224 <h4>BrowserModel.populateItem</h4> |
3224 <b>populateItem</b>(<i>parentItem, repopulate=False</i>) |
3225 <b>populateItem</b>(<i>parentItem, repopulate=False</i>) |
3225 |
|
3226 <p> |
3226 <p> |
3227 Public method to populate an item's subtree. |
3227 Public method to populate an item's subtree. |
3228 </p> |
3228 </p> |
|
3229 |
3229 <dl> |
3230 <dl> |
3230 |
3231 |
3231 <dt><i>parentItem</i> (BrowserItem)</dt> |
3232 <dt><i>parentItem</i> (BrowserItem)</dt> |
3232 <dd> |
3233 <dd> |
3233 reference to the item to be populated |
3234 reference to the item to be populated |
3238 </dd> |
3239 </dd> |
3239 </dl> |
3240 </dl> |
3240 <a NAME="BrowserModel.populateMethodItem" ID="BrowserModel.populateMethodItem"></a> |
3241 <a NAME="BrowserModel.populateMethodItem" ID="BrowserModel.populateMethodItem"></a> |
3241 <h4>BrowserModel.populateMethodItem</h4> |
3242 <h4>BrowserModel.populateMethodItem</h4> |
3242 <b>populateMethodItem</b>(<i>parentItem, repopulate=False</i>) |
3243 <b>populateMethodItem</b>(<i>parentItem, repopulate=False</i>) |
3243 |
|
3244 <p> |
3244 <p> |
3245 Public method to populate a method item's subtree. |
3245 Public method to populate a method item's subtree. |
3246 </p> |
3246 </p> |
|
3247 |
3247 <dl> |
3248 <dl> |
3248 |
3249 |
3249 <dt><i>parentItem</i> (BrowserItem)</dt> |
3250 <dt><i>parentItem</i> (BrowserItem)</dt> |
3250 <dd> |
3251 <dd> |
3251 reference to the method item to be populated |
3252 reference to the method item to be populated |
3256 </dd> |
3257 </dd> |
3257 </dl> |
3258 </dl> |
3258 <a NAME="BrowserModel.populateSysPathItem" ID="BrowserModel.populateSysPathItem"></a> |
3259 <a NAME="BrowserModel.populateSysPathItem" ID="BrowserModel.populateSysPathItem"></a> |
3259 <h4>BrowserModel.populateSysPathItem</h4> |
3260 <h4>BrowserModel.populateSysPathItem</h4> |
3260 <b>populateSysPathItem</b>(<i>parentItem, repopulate=False</i>) |
3261 <b>populateSysPathItem</b>(<i>parentItem, repopulate=False</i>) |
3261 |
|
3262 <p> |
3262 <p> |
3263 Public method to populate a sys.path item's subtree. |
3263 Public method to populate a sys.path item's subtree. |
3264 </p> |
3264 </p> |
|
3265 |
3265 <dl> |
3266 <dl> |
3266 |
3267 |
3267 <dt><i>parentItem</i> (BrowserSysPathItem)</dt> |
3268 <dt><i>parentItem</i> (BrowserSysPathItem)</dt> |
3268 <dd> |
3269 <dd> |
3269 reference to the sys.path item to be populated |
3270 reference to the sys.path item to be populated |
3274 </dd> |
3275 </dd> |
3275 </dl> |
3276 </dl> |
3276 <a NAME="BrowserModel.programChange" ID="BrowserModel.programChange"></a> |
3277 <a NAME="BrowserModel.programChange" ID="BrowserModel.programChange"></a> |
3277 <h4>BrowserModel.programChange</h4> |
3278 <h4>BrowserModel.programChange</h4> |
3278 <b>programChange</b>(<i>dirname</i>) |
3279 <b>programChange</b>(<i>dirname</i>) |
3279 |
|
3280 <p> |
3280 <p> |
3281 Public method to change the entry for the directory of file being |
3281 Public method to change the entry for the directory of file being |
3282 debugged. |
3282 debugged. |
3283 </p> |
3283 </p> |
|
3284 |
3284 <dl> |
3285 <dl> |
3285 |
3286 |
3286 <dt><i>dirname</i> (str)</dt> |
3287 <dt><i>dirname</i> (str)</dt> |
3287 <dd> |
3288 <dd> |
3288 name of the directory containing the file |
3289 name of the directory containing the file |
3289 </dd> |
3290 </dd> |
3290 </dl> |
3291 </dl> |
3291 <a NAME="BrowserModel.removeToplevelDir" ID="BrowserModel.removeToplevelDir"></a> |
3292 <a NAME="BrowserModel.removeToplevelDir" ID="BrowserModel.removeToplevelDir"></a> |
3292 <h4>BrowserModel.removeToplevelDir</h4> |
3293 <h4>BrowserModel.removeToplevelDir</h4> |
3293 <b>removeToplevelDir</b>(<i>index</i>) |
3294 <b>removeToplevelDir</b>(<i>index</i>) |
3294 |
|
3295 <p> |
3295 <p> |
3296 Public method to remove a toplevel directory. |
3296 Public method to remove a toplevel directory. |
3297 </p> |
3297 </p> |
|
3298 |
3298 <dl> |
3299 <dl> |
3299 |
3300 |
3300 <dt><i>index</i> (QModelIndex)</dt> |
3301 <dt><i>index</i> (QModelIndex)</dt> |
3301 <dd> |
3302 <dd> |
3302 index of the toplevel directory to be removed |
3303 index of the toplevel directory to be removed |
3303 </dd> |
3304 </dd> |
3304 </dl> |
3305 </dl> |
3305 <a NAME="BrowserModel.repopulateFileItem" ID="BrowserModel.repopulateFileItem"></a> |
3306 <a NAME="BrowserModel.repopulateFileItem" ID="BrowserModel.repopulateFileItem"></a> |
3306 <h4>BrowserModel.repopulateFileItem</h4> |
3307 <h4>BrowserModel.repopulateFileItem</h4> |
3307 <b>repopulateFileItem</b>(<i>itm</i>) |
3308 <b>repopulateFileItem</b>(<i>itm</i>) |
3308 |
|
3309 <p> |
3309 <p> |
3310 Public method to repopulate a file item. |
3310 Public method to repopulate a file item. |
3311 </p> |
3311 </p> |
|
3312 |
3312 <dl> |
3313 <dl> |
3313 |
3314 |
3314 <dt><i>itm</i> (BrowserFileItem)</dt> |
3315 <dt><i>itm</i> (BrowserFileItem)</dt> |
3315 <dd> |
3316 <dd> |
3316 reference to the item to be repopulated |
3317 reference to the item to be repopulated |
3317 </dd> |
3318 </dd> |
3318 </dl> |
3319 </dl> |
3319 <a NAME="BrowserModel.rowCount" ID="BrowserModel.rowCount"></a> |
3320 <a NAME="BrowserModel.rowCount" ID="BrowserModel.rowCount"></a> |
3320 <h4>BrowserModel.rowCount</h4> |
3321 <h4>BrowserModel.rowCount</h4> |
3321 <b>rowCount</b>(<i>parent=None</i>) |
3322 <b>rowCount</b>(<i>parent=None</i>) |
3322 |
|
3323 <p> |
3323 <p> |
3324 Public method to get the number of rows. |
3324 Public method to get the number of rows. |
3325 </p> |
3325 </p> |
|
3326 |
3326 <dl> |
3327 <dl> |
3327 |
3328 |
3328 <dt><i>parent</i> (QModelIndex)</dt> |
3329 <dt><i>parent</i> (QModelIndex)</dt> |
3329 <dd> |
3330 <dd> |
3330 index of parent item |
3331 index of parent item |
3343 </dd> |
3344 </dd> |
3344 </dl> |
3345 </dl> |
3345 <a NAME="BrowserModel.saveToplevelDirs" ID="BrowserModel.saveToplevelDirs"></a> |
3346 <a NAME="BrowserModel.saveToplevelDirs" ID="BrowserModel.saveToplevelDirs"></a> |
3346 <h4>BrowserModel.saveToplevelDirs</h4> |
3347 <h4>BrowserModel.saveToplevelDirs</h4> |
3347 <b>saveToplevelDirs</b>(<i></i>) |
3348 <b>saveToplevelDirs</b>(<i></i>) |
3348 |
|
3349 <p> |
3349 <p> |
3350 Public slot to save the toplevel directories. |
3350 Public slot to save the toplevel directories. |
3351 </p> |
3351 </p> |
|
3352 |
3352 <div align="right"><a href="#top">Up</a></div> |
3353 <div align="right"><a href="#top">Up</a></div> |
3353 <hr /> |
3354 <hr /> |
3354 <hr /> |
3355 <hr /> |
3355 <a NAME="BrowserSimpleDirectoryItem" ID="BrowserSimpleDirectoryItem"></a> |
3356 <a NAME="BrowserSimpleDirectoryItem" ID="BrowserSimpleDirectoryItem"></a> |
3356 <h2>BrowserSimpleDirectoryItem</h2> |
3357 <h2>BrowserSimpleDirectoryItem</h2> |
3357 |
|
3358 <p> |
3358 <p> |
3359 Class implementing the data structure for browser simple directory items. |
3359 Class implementing the data structure for browser simple directory items. |
3360 </p> |
3360 </p> |
|
3361 |
3361 <h3>Derived from</h3> |
3362 <h3>Derived from</h3> |
3362 BrowserItem |
3363 BrowserItem |
3363 <h3>Class Attributes</h3> |
3364 <h3>Class Attributes</h3> |
3364 |
3365 <table> |
3365 <table> |
3366 <tr><td>None</td></tr> |
3366 <tr><td>None</td></tr> |
3367 </table> |
3367 </table> |
3368 |
3368 <h3>Class Methods</h3> |
3369 <h3>Class Methods</h3> |
3369 |
3370 <table> |
3370 <table> |
3371 <tr><td>None</td></tr> |
3371 <tr><td>None</td></tr> |
3372 </table> |
3372 </table> |
3373 |
3373 <h3>Methods</h3> |
3374 <h3>Methods</h3> |
3374 |
3375 <table> |
3375 <table> |
|
3376 |
|
3377 <tr> |
3376 <tr> |
3378 <td><a href="#BrowserSimpleDirectoryItem.__init__">BrowserSimpleDirectoryItem</a></td> |
3377 <td><a href="#BrowserSimpleDirectoryItem.__init__">BrowserSimpleDirectoryItem</a></td> |
3379 <td>Constructor</td> |
3378 <td>Constructor</td> |
3380 </tr> |
3379 </tr> |
3381 <tr> |
3380 <tr> |
3393 <tr> |
3392 <tr> |
3394 <td><a href="#BrowserSimpleDirectoryItem.setName">setName</a></td> |
3393 <td><a href="#BrowserSimpleDirectoryItem.setName">setName</a></td> |
3395 <td>Public method to set the directory name.</td> |
3394 <td>Public method to set the directory name.</td> |
3396 </tr> |
3395 </tr> |
3397 </table> |
3396 </table> |
|
3397 |
3398 <h3>Static Methods</h3> |
3398 <h3>Static Methods</h3> |
3399 |
3399 <table> |
3400 <table> |
3400 <tr><td>None</td></tr> |
3401 <tr><td>None</td></tr> |
3401 </table> |
3402 </table> |
3402 |
3403 |
3403 |
3404 <a NAME="BrowserSimpleDirectoryItem.__init__" ID="BrowserSimpleDirectoryItem.__init__"></a> |
3404 <a NAME="BrowserSimpleDirectoryItem.__init__" ID="BrowserSimpleDirectoryItem.__init__"></a> |
3405 <h4>BrowserSimpleDirectoryItem (Constructor)</h4> |
3405 <h4>BrowserSimpleDirectoryItem (Constructor)</h4> |
3406 <b>BrowserSimpleDirectoryItem</b>(<i>parent, text, path=""</i>) |
3406 <b>BrowserSimpleDirectoryItem</b>(<i>parent, text, path=""</i>) |
3407 |
|
3408 <p> |
3407 <p> |
3409 Constructor |
3408 Constructor |
3410 </p> |
3409 </p> |
|
3410 |
3411 <dl> |
3411 <dl> |
3412 |
3412 |
3413 <dt><i>parent</i> (BrowserItem)</dt> |
3413 <dt><i>parent</i> (BrowserItem)</dt> |
3414 <dd> |
3414 <dd> |
3415 parent item |
3415 parent item |
3443 </dd> |
3443 </dd> |
3444 </dl> |
3444 </dl> |
3445 <a NAME="BrowserSimpleDirectoryItem.lessThan" ID="BrowserSimpleDirectoryItem.lessThan"></a> |
3445 <a NAME="BrowserSimpleDirectoryItem.lessThan" ID="BrowserSimpleDirectoryItem.lessThan"></a> |
3446 <h4>BrowserSimpleDirectoryItem.lessThan</h4> |
3446 <h4>BrowserSimpleDirectoryItem.lessThan</h4> |
3447 <b>lessThan</b>(<i>other, column, order</i>) |
3447 <b>lessThan</b>(<i>other, column, order</i>) |
3448 |
|
3449 <p> |
3448 <p> |
3450 Public method to check, if the item is less than the other one. |
3449 Public method to check, if the item is less than the other one. |
3451 </p> |
3450 </p> |
|
3451 |
3452 <dl> |
3452 <dl> |
3453 |
3453 |
3454 <dt><i>other</i> (BrowserItem)</dt> |
3454 <dt><i>other</i> (BrowserItem)</dt> |
3455 <dd> |
3455 <dd> |
3456 reference to item to compare against |
3456 reference to item to compare against |
3496 </dd> |
3496 </dd> |
3497 </dl> |
3497 </dl> |
3498 <a NAME="BrowserSimpleDirectoryItem.setName" ID="BrowserSimpleDirectoryItem.setName"></a> |
3498 <a NAME="BrowserSimpleDirectoryItem.setName" ID="BrowserSimpleDirectoryItem.setName"></a> |
3499 <h4>BrowserSimpleDirectoryItem.setName</h4> |
3499 <h4>BrowserSimpleDirectoryItem.setName</h4> |
3500 <b>setName</b>(<i>dinfo, full=True</i>) |
3500 <b>setName</b>(<i>dinfo, full=True</i>) |
3501 |
|
3502 <p> |
3501 <p> |
3503 Public method to set the directory name. |
3502 Public method to set the directory name. |
3504 </p> |
3503 </p> |
|
3504 |
3505 <dl> |
3505 <dl> |
3506 |
3506 |
3507 <dt><i>dinfo</i> (str)</dt> |
3507 <dt><i>dinfo</i> (str)</dt> |
3508 <dd> |
3508 <dd> |
3509 dinfo is the string for the directory |
3509 dinfo is the string for the directory |
3516 <div align="right"><a href="#top">Up</a></div> |
3516 <div align="right"><a href="#top">Up</a></div> |
3517 <hr /> |
3517 <hr /> |
3518 <hr /> |
3518 <hr /> |
3519 <a NAME="BrowserSysPathItem" ID="BrowserSysPathItem"></a> |
3519 <a NAME="BrowserSysPathItem" ID="BrowserSysPathItem"></a> |
3520 <h2>BrowserSysPathItem</h2> |
3520 <h2>BrowserSysPathItem</h2> |
3521 |
|
3522 <p> |
3521 <p> |
3523 Class implementing the data structure for browser sys.path items. |
3522 Class implementing the data structure for browser sys.path items. |
3524 </p> |
3523 </p> |
|
3524 |
3525 <h3>Derived from</h3> |
3525 <h3>Derived from</h3> |
3526 BrowserItem |
3526 BrowserItem |
3527 <h3>Class Attributes</h3> |
3527 <h3>Class Attributes</h3> |
3528 |
3528 <table> |
3529 <table> |
3529 <tr><td>None</td></tr> |
3530 <tr><td>None</td></tr> |
3530 </table> |
3531 </table> |
3531 |
3532 <h3>Class Methods</h3> |
3532 <h3>Class Methods</h3> |
3533 |
3533 <table> |
3534 <table> |
3534 <tr><td>None</td></tr> |
3535 <tr><td>None</td></tr> |
3535 </table> |
3536 </table> |
3536 |
3537 <h3>Methods</h3> |
3537 <h3>Methods</h3> |
3538 |
3538 <table> |
3539 <table> |
|
3540 |
|
3541 <tr> |
3539 <tr> |
3542 <td><a href="#BrowserSysPathItem.__init__">BrowserSysPathItem</a></td> |
3540 <td><a href="#BrowserSysPathItem.__init__">BrowserSysPathItem</a></td> |
3543 <td>Constructor</td> |
3541 <td>Constructor</td> |
3544 </tr> |
3542 </tr> |
3545 <tr> |
3543 <tr> |
3546 <td><a href="#BrowserSysPathItem.name">name</a></td> |
3544 <td><a href="#BrowserSysPathItem.name">name</a></td> |
3547 <td>Public method to return the name of the item.</td> |
3545 <td>Public method to return the name of the item.</td> |
3548 </tr> |
3546 </tr> |
3549 </table> |
3547 </table> |
|
3548 |
3550 <h3>Static Methods</h3> |
3549 <h3>Static Methods</h3> |
3551 |
3550 <table> |
3552 <table> |
3551 <tr><td>None</td></tr> |
3553 <tr><td>None</td></tr> |
3552 </table> |
3554 </table> |
3553 |
3555 |
3554 |
3556 <a NAME="BrowserSysPathItem.__init__" ID="BrowserSysPathItem.__init__"></a> |
3555 <a NAME="BrowserSysPathItem.__init__" ID="BrowserSysPathItem.__init__"></a> |
3557 <h4>BrowserSysPathItem (Constructor)</h4> |
3556 <h4>BrowserSysPathItem (Constructor)</h4> |
3558 <b>BrowserSysPathItem</b>(<i>parent</i>) |
3557 <b>BrowserSysPathItem</b>(<i>parent</i>) |
3559 |
|
3560 <p> |
3558 <p> |
3561 Constructor |
3559 Constructor |
3562 </p> |
3560 </p> |
|
3561 |
3563 <dl> |
3562 <dl> |
3564 |
3563 |
3565 <dt><i>parent</i> (BrowserItem)</dt> |
3564 <dt><i>parent</i> (BrowserItem)</dt> |
3566 <dd> |
3565 <dd> |
3567 parent item |
3566 parent item |
3568 </dd> |
3567 </dd> |
3569 </dl> |
3568 </dl> |
3570 <a NAME="BrowserSysPathItem.name" ID="BrowserSysPathItem.name"></a> |
3569 <a NAME="BrowserSysPathItem.name" ID="BrowserSysPathItem.name"></a> |
3571 <h4>BrowserSysPathItem.name</h4> |
3570 <h4>BrowserSysPathItem.name</h4> |
3572 <b>name</b>(<i></i>) |
3571 <b>name</b>(<i></i>) |
3573 |
|
3574 <p> |
3572 <p> |
3575 Public method to return the name of the item. |
3573 Public method to return the name of the item. |
3576 </p> |
3574 </p> |
|
3575 |
3577 <dl> |
3576 <dl> |
3578 <dt>Return:</dt> |
3577 <dt>Return:</dt> |
3579 <dd> |
3578 <dd> |
3580 name of the item |
3579 name of the item |
3581 </dd> |
3580 </dd> |