Documentation/Source/eric5.Project.ProjectBrowserModel.html

changeset 2769
8cbebde7a984
parent 2763
e4794166ad70
child 3018
70924c0bdaf1
equal deleted inserted replaced
2768:eab35f6e709f 2769:8cbebde7a984
336 <td>Public method to find an item given its name.</td> 336 <td>Public method to find an item given its name.</td>
337 </tr><tr> 337 </tr><tr>
338 <td><a href="#ProjectBrowserModel.itemIndexByName">itemIndexByName</a></td> 338 <td><a href="#ProjectBrowserModel.itemIndexByName">itemIndexByName</a></td>
339 <td>Public method to find an item's index given its name.</td> 339 <td>Public method to find an item's index given its name.</td>
340 </tr><tr> 340 </tr><tr>
341 <td><a href="#ProjectBrowserModel.itemIndexByNameAndLine">itemIndexByNameAndLine</a></td>
342 <td>Public method to find an item's index given its name.</td>
343 </tr><tr>
341 <td><a href="#ProjectBrowserModel.populateItem">populateItem</a></td> 344 <td><a href="#ProjectBrowserModel.populateItem">populateItem</a></td>
342 <td>Public method to populate an item's subtree.</td> 345 <td>Public method to populate an item's subtree.</td>
343 </tr><tr> 346 </tr><tr>
344 <td><a href="#ProjectBrowserModel.populateProjectDirectoryItem">populateProjectDirectoryItem</a></td> 347 <td><a href="#ProjectBrowserModel.populateProjectDirectoryItem">populateProjectDirectoryItem</a></td>
345 <td>Public method to populate a directory item's subtree.</td> 348 <td>Public method to populate a directory item's subtree.</td>
565 </dl><dl> 568 </dl><dl>
566 <dt>Returns:</dt> 569 <dt>Returns:</dt>
567 <dd> 570 <dd>
568 index of the item found (QModelIndex) 571 index of the item found (QModelIndex)
569 </dd> 572 </dd>
573 </dl><a NAME="ProjectBrowserModel.itemIndexByNameAndLine" ID="ProjectBrowserModel.itemIndexByNameAndLine"></a>
574 <h4>ProjectBrowserModel.itemIndexByNameAndLine</h4>
575 <b>itemIndexByNameAndLine</b>(<i>name, lineno</i>)
576 <p>
577 Public method to find an item's index given its name.
578 </p><dl>
579 <dt><i>name</i></dt>
580 <dd>
581 name of the item (string)
582 </dd><dt><i>lineno</i></dt>
583 <dd>
584 one based line number of the item (integer)
585 </dd>
586 </dl><dl>
587 <dt>Returns:</dt>
588 <dd>
589 index of the item found (QModelIndex)
590 </dd>
570 </dl><a NAME="ProjectBrowserModel.populateItem" ID="ProjectBrowserModel.populateItem"></a> 591 </dl><a NAME="ProjectBrowserModel.populateItem" ID="ProjectBrowserModel.populateItem"></a>
571 <h4>ProjectBrowserModel.populateItem</h4> 592 <h4>ProjectBrowserModel.populateItem</h4>
572 <b>populateItem</b>(<i>parentItem, repopulate=False</i>) 593 <b>populateItem</b>(<i>parentItem, repopulate=False</i>)
573 <p> 594 <p>
574 Public method to populate an item's subtree. 595 Public method to populate an item's subtree.

eric ide

mercurial