Documentation/Source/eric5.UI.BrowserModel.html

branch
5_1_x
changeset 1278
fb0460fd00b9
parent 788
5b1b59777460
equal deleted inserted replaced
1277:52dd5a2f1ed1 1278:fb0460fd00b9
76 BrowserItem 76 BrowserItem
77 <h3>Class Attributes</h3> 77 <h3>Class Attributes</h3>
78 <table> 78 <table>
79 <tr><td>None</td></tr> 79 <tr><td>None</td></tr>
80 </table> 80 </table>
81 <h3>Class Methods</h3>
82 <table>
83 <tr><td>None</td></tr>
84 </table>
81 <h3>Methods</h3> 85 <h3>Methods</h3>
82 <table> 86 <table>
83 <tr> 87 <tr>
84 <td><a href="#BrowserClassAttributeItem.__init__">BrowserClassAttributeItem</a></td> 88 <td><a href="#BrowserClassAttributeItem.__init__">BrowserClassAttributeItem</a></td>
85 <td>Constructor</td> 89 <td>Constructor</td>
97 <td>Public method to check, if the item is less than the other one.</td> 101 <td>Public method to check, if the item is less than the other one.</td>
98 </tr><tr> 102 </tr><tr>
99 <td><a href="#BrowserClassAttributeItem.lineno">lineno</a></td> 103 <td><a href="#BrowserClassAttributeItem.lineno">lineno</a></td>
100 <td>Public method returning the line number defining this object.</td> 104 <td>Public method returning the line number defining this object.</td>
101 </tr> 105 </tr>
106 </table>
107 <h3>Static Methods</h3>
108 <table>
109 <tr><td>None</td></tr>
102 </table> 110 </table>
103 <a NAME="BrowserClassAttributeItem.__init__" ID="BrowserClassAttributeItem.__init__"></a> 111 <a NAME="BrowserClassAttributeItem.__init__" ID="BrowserClassAttributeItem.__init__"></a>
104 <h4>BrowserClassAttributeItem (Constructor)</h4> 112 <h4>BrowserClassAttributeItem (Constructor)</h4>
105 <b>BrowserClassAttributeItem</b>(<i>parent, attribute</i>) 113 <b>BrowserClassAttributeItem</b>(<i>parent, attribute</i>)
106 <p> 114 <p>
183 BrowserItem 191 BrowserItem
184 <h3>Class Attributes</h3> 192 <h3>Class Attributes</h3>
185 <table> 193 <table>
186 <tr><td>None</td></tr> 194 <tr><td>None</td></tr>
187 </table> 195 </table>
196 <h3>Class Methods</h3>
197 <table>
198 <tr><td>None</td></tr>
199 </table>
188 <h3>Methods</h3> 200 <h3>Methods</h3>
189 <table> 201 <table>
190 <tr> 202 <tr>
191 <td><a href="#BrowserClassAttributesItem.__init__">BrowserClassAttributesItem</a></td> 203 <td><a href="#BrowserClassAttributesItem.__init__">BrowserClassAttributesItem</a></td>
192 <td>Constructor</td> 204 <td>Constructor</td>
195 <td>Public method returning the attribute list.</td> 207 <td>Public method returning the attribute list.</td>
196 </tr><tr> 208 </tr><tr>
197 <td><a href="#BrowserClassAttributesItem.lessThan">lessThan</a></td> 209 <td><a href="#BrowserClassAttributesItem.lessThan">lessThan</a></td>
198 <td>Public method to check, if the item is less than the other one.</td> 210 <td>Public method to check, if the item is less than the other one.</td>
199 </tr> 211 </tr>
212 </table>
213 <h3>Static Methods</h3>
214 <table>
215 <tr><td>None</td></tr>
200 </table> 216 </table>
201 <a NAME="BrowserClassAttributesItem.__init__" ID="BrowserClassAttributesItem.__init__"></a> 217 <a NAME="BrowserClassAttributesItem.__init__" ID="BrowserClassAttributesItem.__init__"></a>
202 <h4>BrowserClassAttributesItem (Constructor)</h4> 218 <h4>BrowserClassAttributesItem (Constructor)</h4>
203 <b>BrowserClassAttributesItem</b>(<i>parent, attributes, text</i>) 219 <b>BrowserClassAttributesItem</b>(<i>parent, attributes, text</i>)
204 <p> 220 <p>
257 BrowserItem 273 BrowserItem
258 <h3>Class Attributes</h3> 274 <h3>Class Attributes</h3>
259 <table> 275 <table>
260 <tr><td>None</td></tr> 276 <tr><td>None</td></tr>
261 </table> 277 </table>
278 <h3>Class Methods</h3>
279 <table>
280 <tr><td>None</td></tr>
281 </table>
262 <h3>Methods</h3> 282 <h3>Methods</h3>
263 <table> 283 <table>
264 <tr> 284 <tr>
265 <td><a href="#BrowserClassItem.__init__">BrowserClassItem</a></td> 285 <td><a href="#BrowserClassItem.__init__">BrowserClassItem</a></td>
266 <td>Constructor</td> 286 <td>Constructor</td>
278 <td>Public method to check, if the item is less than the other one.</td> 298 <td>Public method to check, if the item is less than the other one.</td>
279 </tr><tr> 299 </tr><tr>
280 <td><a href="#BrowserClassItem.lineno">lineno</a></td> 300 <td><a href="#BrowserClassItem.lineno">lineno</a></td>
281 <td>Public method returning the line number defining this object.</td> 301 <td>Public method returning the line number defining this object.</td>
282 </tr> 302 </tr>
303 </table>
304 <h3>Static Methods</h3>
305 <table>
306 <tr><td>None</td></tr>
283 </table> 307 </table>
284 <a NAME="BrowserClassItem.__init__" ID="BrowserClassItem.__init__"></a> 308 <a NAME="BrowserClassItem.__init__" ID="BrowserClassItem.__init__"></a>
285 <h4>BrowserClassItem (Constructor)</h4> 309 <h4>BrowserClassItem (Constructor)</h4>
286 <b>BrowserClassItem</b>(<i>parent, cl, filename</i>) 310 <b>BrowserClassItem</b>(<i>parent, cl, filename</i>)
287 <p> 311 <p>
367 BrowserItem 391 BrowserItem
368 <h3>Class Attributes</h3> 392 <h3>Class Attributes</h3>
369 <table> 393 <table>
370 <tr><td>None</td></tr> 394 <tr><td>None</td></tr>
371 </table> 395 </table>
396 <h3>Class Methods</h3>
397 <table>
398 <tr><td>None</td></tr>
399 </table>
372 <h3>Methods</h3> 400 <h3>Methods</h3>
373 <table> 401 <table>
374 <tr> 402 <tr>
375 <td><a href="#BrowserCodingItem.__init__">BrowserCodingItem</a></td> 403 <td><a href="#BrowserCodingItem.__init__">BrowserCodingItem</a></td>
376 <td>Constructor</td> 404 <td>Constructor</td>
377 </tr><tr> 405 </tr><tr>
378 <td><a href="#BrowserCodingItem.lessThan">lessThan</a></td> 406 <td><a href="#BrowserCodingItem.lessThan">lessThan</a></td>
379 <td>Public method to check, if the item is less than the other one.</td> 407 <td>Public method to check, if the item is less than the other one.</td>
380 </tr> 408 </tr>
409 </table>
410 <h3>Static Methods</h3>
411 <table>
412 <tr><td>None</td></tr>
381 </table> 413 </table>
382 <a NAME="BrowserCodingItem.__init__" ID="BrowserCodingItem.__init__"></a> 414 <a NAME="BrowserCodingItem.__init__" ID="BrowserCodingItem.__init__"></a>
383 <h4>BrowserCodingItem (Constructor)</h4> 415 <h4>BrowserCodingItem (Constructor)</h4>
384 <b>BrowserCodingItem</b>(<i>parent, text</i>) 416 <b>BrowserCodingItem</b>(<i>parent, text</i>)
385 <p> 417 <p>
425 BrowserItem 457 BrowserItem
426 <h3>Class Attributes</h3> 458 <h3>Class Attributes</h3>
427 <table> 459 <table>
428 <tr><td>None</td></tr> 460 <tr><td>None</td></tr>
429 </table> 461 </table>
462 <h3>Class Methods</h3>
463 <table>
464 <tr><td>None</td></tr>
465 </table>
430 <h3>Methods</h3> 466 <h3>Methods</h3>
431 <table> 467 <table>
432 <tr> 468 <tr>
433 <td><a href="#BrowserDirectoryItem.__init__">BrowserDirectoryItem</a></td> 469 <td><a href="#BrowserDirectoryItem.__init__">BrowserDirectoryItem</a></td>
434 <td>Constructor</td> 470 <td>Constructor</td>
443 <td>Public method to return the name of the item.</td> 479 <td>Public method to return the name of the item.</td>
444 </tr><tr> 480 </tr><tr>
445 <td><a href="#BrowserDirectoryItem.setName">setName</a></td> 481 <td><a href="#BrowserDirectoryItem.setName">setName</a></td>
446 <td>Public method to set the directory name.</td> 482 <td>Public method to set the directory name.</td>
447 </tr> 483 </tr>
484 </table>
485 <h3>Static Methods</h3>
486 <table>
487 <tr><td>None</td></tr>
448 </table> 488 </table>
449 <a NAME="BrowserDirectoryItem.__init__" ID="BrowserDirectoryItem.__init__"></a> 489 <a NAME="BrowserDirectoryItem.__init__" ID="BrowserDirectoryItem.__init__"></a>
450 <h4>BrowserDirectoryItem (Constructor)</h4> 490 <h4>BrowserDirectoryItem (Constructor)</h4>
451 <b>BrowserDirectoryItem</b>(<i>parent, dinfo, full = True</i>) 491 <b>BrowserDirectoryItem</b>(<i>parent, dinfo, full = True</i>)
452 <p> 492 <p>
528 BrowserItem 568 BrowserItem
529 <h3>Class Attributes</h3> 569 <h3>Class Attributes</h3>
530 <table> 570 <table>
531 <tr><td>None</td></tr> 571 <tr><td>None</td></tr>
532 </table> 572 </table>
573 <h3>Class Methods</h3>
574 <table>
575 <tr><td>None</td></tr>
576 </table>
533 <h3>Methods</h3> 577 <h3>Methods</h3>
534 <table> 578 <table>
535 <tr> 579 <tr>
536 <td><a href="#BrowserFileItem.__init__">BrowserFileItem</a></td> 580 <td><a href="#BrowserFileItem.__init__">BrowserFileItem</a></td>
537 <td>Constructor</td> 581 <td>Constructor</td>
591 <td>Public method to return the name of the item.</td> 635 <td>Public method to return the name of the item.</td>
592 </tr><tr> 636 </tr><tr>
593 <td><a href="#BrowserFileItem.setName">setName</a></td> 637 <td><a href="#BrowserFileItem.setName">setName</a></td>
594 <td>Public method to set the directory name.</td> 638 <td>Public method to set the directory name.</td>
595 </tr> 639 </tr>
640 </table>
641 <h3>Static Methods</h3>
642 <table>
643 <tr><td>None</td></tr>
596 </table> 644 </table>
597 <a NAME="BrowserFileItem.__init__" ID="BrowserFileItem.__init__"></a> 645 <a NAME="BrowserFileItem.__init__" ID="BrowserFileItem.__init__"></a>
598 <h4>BrowserFileItem (Constructor)</h4> 646 <h4>BrowserFileItem (Constructor)</h4>
599 <b>BrowserFileItem</b>(<i>parent, finfo, full = True, sourceLanguage = ""</i>) 647 <b>BrowserFileItem</b>(<i>parent, finfo, full = True, sourceLanguage = ""</i>)
600 <p> 648 <p>
829 object 877 object
830 <h3>Class Attributes</h3> 878 <h3>Class Attributes</h3>
831 <table> 879 <table>
832 <tr><td>None</td></tr> 880 <tr><td>None</td></tr>
833 </table> 881 </table>
882 <h3>Class Methods</h3>
883 <table>
884 <tr><td>None</td></tr>
885 </table>
834 <h3>Methods</h3> 886 <h3>Methods</h3>
835 <table> 887 <table>
836 <tr> 888 <tr>
837 <td><a href="#BrowserItem.__init__">BrowserItem</a></td> 889 <td><a href="#BrowserItem.__init__">BrowserItem</a></td>
838 <td>Constructor.</td> 890 <td>Constructor.</td>
886 <td>Public method to get the row number of this item.</td> 938 <td>Public method to get the row number of this item.</td>
887 </tr><tr> 939 </tr><tr>
888 <td><a href="#BrowserItem.type">type</a></td> 940 <td><a href="#BrowserItem.type">type</a></td>
889 <td>Public method to get the item type.</td> 941 <td>Public method to get the item type.</td>
890 </tr> 942 </tr>
943 </table>
944 <h3>Static Methods</h3>
945 <table>
946 <tr><td>None</td></tr>
891 </table> 947 </table>
892 <a NAME="BrowserItem.__init__" ID="BrowserItem.__init__"></a> 948 <a NAME="BrowserItem.__init__" ID="BrowserItem.__init__"></a>
893 <h4>BrowserItem (Constructor)</h4> 949 <h4>BrowserItem (Constructor)</h4>
894 <b>BrowserItem</b>(<i>parent, data</i>) 950 <b>BrowserItem</b>(<i>parent, data</i>)
895 <p> 951 <p>
1096 BrowserItem 1152 BrowserItem
1097 <h3>Class Attributes</h3> 1153 <h3>Class Attributes</h3>
1098 <table> 1154 <table>
1099 <tr><td>None</td></tr> 1155 <tr><td>None</td></tr>
1100 </table> 1156 </table>
1157 <h3>Class Methods</h3>
1158 <table>
1159 <tr><td>None</td></tr>
1160 </table>
1101 <h3>Methods</h3> 1161 <h3>Methods</h3>
1102 <table> 1162 <table>
1103 <tr> 1163 <tr>
1104 <td><a href="#BrowserMethodItem.__init__">BrowserMethodItem</a></td> 1164 <td><a href="#BrowserMethodItem.__init__">BrowserMethodItem</a></td>
1105 <td>Constructor</td> 1165 <td>Constructor</td>
1117 <td>Public method to check, if the item is less than the other one.</td> 1177 <td>Public method to check, if the item is less than the other one.</td>
1118 </tr><tr> 1178 </tr><tr>
1119 <td><a href="#BrowserMethodItem.lineno">lineno</a></td> 1179 <td><a href="#BrowserMethodItem.lineno">lineno</a></td>
1120 <td>Public method returning the line number defining this object.</td> 1180 <td>Public method returning the line number defining this object.</td>
1121 </tr> 1181 </tr>
1182 </table>
1183 <h3>Static Methods</h3>
1184 <table>
1185 <tr><td>None</td></tr>
1122 </table> 1186 </table>
1123 <a NAME="BrowserMethodItem.__init__" ID="BrowserMethodItem.__init__"></a> 1187 <a NAME="BrowserMethodItem.__init__" ID="BrowserMethodItem.__init__"></a>
1124 <h4>BrowserMethodItem (Constructor)</h4> 1188 <h4>BrowserMethodItem (Constructor)</h4>
1125 <b>BrowserMethodItem</b>(<i>parent, fn, filename</i>) 1189 <b>BrowserMethodItem</b>(<i>parent, fn, filename</i>)
1126 <p> 1190 <p>
1206 QAbstractItemModel 1270 QAbstractItemModel
1207 <h3>Class Attributes</h3> 1271 <h3>Class Attributes</h3>
1208 <table> 1272 <table>
1209 <tr><td>None</td></tr> 1273 <tr><td>None</td></tr>
1210 </table> 1274 </table>
1275 <h3>Class Methods</h3>
1276 <table>
1277 <tr><td>None</td></tr>
1278 </table>
1211 <h3>Methods</h3> 1279 <h3>Methods</h3>
1212 <table> 1280 <table>
1213 <tr> 1281 <tr>
1214 <td><a href="#BrowserModel.__init__">BrowserModel</a></td> 1282 <td><a href="#BrowserModel.__init__">BrowserModel</a></td>
1215 <td>Constructor</td> 1283 <td>Constructor</td>
1293 <td>Public method to get the number of rows.</td> 1361 <td>Public method to get the number of rows.</td>
1294 </tr><tr> 1362 </tr><tr>
1295 <td><a href="#BrowserModel.saveToplevelDirs">saveToplevelDirs</a></td> 1363 <td><a href="#BrowserModel.saveToplevelDirs">saveToplevelDirs</a></td>
1296 <td>Public slot to save the toplevel directories.</td> 1364 <td>Public slot to save the toplevel directories.</td>
1297 </tr> 1365 </tr>
1366 </table>
1367 <h3>Static Methods</h3>
1368 <table>
1369 <tr><td>None</td></tr>
1298 </table> 1370 </table>
1299 <a NAME="BrowserModel.__init__" ID="BrowserModel.__init__"></a> 1371 <a NAME="BrowserModel.__init__" ID="BrowserModel.__init__"></a>
1300 <h4>BrowserModel (Constructor)</h4> 1372 <h4>BrowserModel (Constructor)</h4>
1301 <b>BrowserModel</b>(<i>parent = None</i>) 1373 <b>BrowserModel</b>(<i>parent = None</i>)
1302 <p> 1374 <p>
1663 BrowserItem 1735 BrowserItem
1664 <h3>Class Attributes</h3> 1736 <h3>Class Attributes</h3>
1665 <table> 1737 <table>
1666 <tr><td>None</td></tr> 1738 <tr><td>None</td></tr>
1667 </table> 1739 </table>
1740 <h3>Class Methods</h3>
1741 <table>
1742 <tr><td>None</td></tr>
1743 </table>
1668 <h3>Methods</h3> 1744 <h3>Methods</h3>
1669 <table> 1745 <table>
1670 <tr> 1746 <tr>
1671 <td><a href="#BrowserSysPathItem.__init__">BrowserSysPathItem</a></td> 1747 <td><a href="#BrowserSysPathItem.__init__">BrowserSysPathItem</a></td>
1672 <td>Constructor</td> 1748 <td>Constructor</td>
1673 </tr> 1749 </tr>
1674 </table> 1750 </table>
1751 <h3>Static Methods</h3>
1752 <table>
1753 <tr><td>None</td></tr>
1754 </table>
1675 <a NAME="BrowserSysPathItem.__init__" ID="BrowserSysPathItem.__init__"></a> 1755 <a NAME="BrowserSysPathItem.__init__" ID="BrowserSysPathItem.__init__"></a>
1676 <h4>BrowserSysPathItem (Constructor)</h4> 1756 <h4>BrowserSysPathItem (Constructor)</h4>
1677 <b>BrowserSysPathItem</b>(<i>parent</i>) 1757 <b>BrowserSysPathItem</b>(<i>parent</i>)
1678 <p> 1758 <p>
1679 Constructor 1759 Constructor

eric ide

mercurial