446 <td>Public method to set the directory name.</td> |
446 <td>Public method to set the directory name.</td> |
447 </tr> |
447 </tr> |
448 </table> |
448 </table> |
449 <a NAME="BrowserDirectoryItem.__init__" ID="BrowserDirectoryItem.__init__"></a> |
449 <a NAME="BrowserDirectoryItem.__init__" ID="BrowserDirectoryItem.__init__"></a> |
450 <h4>BrowserDirectoryItem (Constructor)</h4> |
450 <h4>BrowserDirectoryItem (Constructor)</h4> |
451 <b>BrowserDirectoryItem</b>(<i>parent, dinfo, full = True</i>) |
451 <b>BrowserDirectoryItem</b>(<i>parent, dinfo, full=True</i>) |
452 <p> |
452 <p> |
453 Constructor |
453 Constructor |
454 </p><dl> |
454 </p><dl> |
455 <dt><i>parent</i></dt> |
455 <dt><i>parent</i></dt> |
456 <dd> |
456 <dd> |
503 <dd> |
503 <dd> |
504 name of the item (string) |
504 name of the item (string) |
505 </dd> |
505 </dd> |
506 </dl><a NAME="BrowserDirectoryItem.setName" ID="BrowserDirectoryItem.setName"></a> |
506 </dl><a NAME="BrowserDirectoryItem.setName" ID="BrowserDirectoryItem.setName"></a> |
507 <h4>BrowserDirectoryItem.setName</h4> |
507 <h4>BrowserDirectoryItem.setName</h4> |
508 <b>setName</b>(<i>dinfo, full = True</i>) |
508 <b>setName</b>(<i>dinfo, full=True</i>) |
509 <p> |
509 <p> |
510 Public method to set the directory name. |
510 Public method to set the directory name. |
511 </p><dl> |
511 </p><dl> |
512 <dt><i>dinfo</i></dt> |
512 <dt><i>dinfo</i></dt> |
513 <dd> |
513 <dd> |
594 <td>Public method to set the directory name.</td> |
594 <td>Public method to set the directory name.</td> |
595 </tr> |
595 </tr> |
596 </table> |
596 </table> |
597 <a NAME="BrowserFileItem.__init__" ID="BrowserFileItem.__init__"></a> |
597 <a NAME="BrowserFileItem.__init__" ID="BrowserFileItem.__init__"></a> |
598 <h4>BrowserFileItem (Constructor)</h4> |
598 <h4>BrowserFileItem (Constructor)</h4> |
599 <b>BrowserFileItem</b>(<i>parent, finfo, full = True, sourceLanguage = ""</i>) |
599 <b>BrowserFileItem</b>(<i>parent, finfo, full=True, sourceLanguage=""</i>) |
600 <p> |
600 <p> |
601 Constructor |
601 Constructor |
602 </p><dl> |
602 </p><dl> |
603 <dt><i>parent</i></dt> |
603 <dt><i>parent</i></dt> |
604 <dd> |
604 <dd> |
804 <dd> |
804 <dd> |
805 name of the item (string) |
805 name of the item (string) |
806 </dd> |
806 </dd> |
807 </dl><a NAME="BrowserFileItem.setName" ID="BrowserFileItem.setName"></a> |
807 </dl><a NAME="BrowserFileItem.setName" ID="BrowserFileItem.setName"></a> |
808 <h4>BrowserFileItem.setName</h4> |
808 <h4>BrowserFileItem.setName</h4> |
809 <b>setName</b>(<i>finfo, full = True</i>) |
809 <b>setName</b>(<i>finfo, full=True</i>) |
810 <p> |
810 <p> |
811 Public method to set the directory name. |
811 Public method to set the directory name. |
812 </p><dl> |
812 </p><dl> |
813 <dt><i>finfo</i></dt> |
813 <dt><i>finfo</i></dt> |
814 <dd> |
814 <dd> |
1296 <td>Public slot to save the toplevel directories.</td> |
1296 <td>Public slot to save the toplevel directories.</td> |
1297 </tr> |
1297 </tr> |
1298 </table> |
1298 </table> |
1299 <a NAME="BrowserModel.__init__" ID="BrowserModel.__init__"></a> |
1299 <a NAME="BrowserModel.__init__" ID="BrowserModel.__init__"></a> |
1300 <h4>BrowserModel (Constructor)</h4> |
1300 <h4>BrowserModel (Constructor)</h4> |
1301 <b>BrowserModel</b>(<i>parent = None</i>) |
1301 <b>BrowserModel</b>(<i>parent=None</i>) |
1302 <p> |
1302 <p> |
1303 Constructor |
1303 Constructor |
1304 </p><dl> |
1304 </p><dl> |
1305 <dt><i>parent</i></dt> |
1305 <dt><i>parent</i></dt> |
1306 <dd> |
1306 <dd> |
1344 <dd> |
1344 <dd> |
1345 item to be removed (BrowserDirectoryItem) |
1345 item to be removed (BrowserDirectoryItem) |
1346 </dd> |
1346 </dd> |
1347 </dl><a NAME="BrowserModel.addItem" ID="BrowserModel.addItem"></a> |
1347 </dl><a NAME="BrowserModel.addItem" ID="BrowserModel.addItem"></a> |
1348 <h4>BrowserModel.addItem</h4> |
1348 <h4>BrowserModel.addItem</h4> |
1349 <b>addItem</b>(<i>itm, parent = QModelIndex()</i>) |
1349 <b>addItem</b>(<i>itm, parent=QModelIndex()</i>) |
1350 <p> |
1350 <p> |
1351 Puplic slot to add an item. |
1351 Puplic slot to add an item. |
1352 </p><dl> |
1352 </p><dl> |
1353 <dt><i>itm</i></dt> |
1353 <dt><i>itm</i></dt> |
1354 <dd> |
1354 <dd> |
1430 <dd> |
1430 <dd> |
1431 requested flags (Qt.ItemFlags) |
1431 requested flags (Qt.ItemFlags) |
1432 </dd> |
1432 </dd> |
1433 </dl><a NAME="BrowserModel.hasChildren" ID="BrowserModel.hasChildren"></a> |
1433 </dl><a NAME="BrowserModel.hasChildren" ID="BrowserModel.hasChildren"></a> |
1434 <h4>BrowserModel.hasChildren</h4> |
1434 <h4>BrowserModel.hasChildren</h4> |
1435 <b>hasChildren</b>(<i>parent = QModelIndex()</i>) |
1435 <b>hasChildren</b>(<i>parent=QModelIndex()</i>) |
1436 <p> |
1436 <p> |
1437 Public method to check for the presence of child items. |
1437 Public method to check for the presence of child items. |
1438 </p><p> |
1438 </p><p> |
1439 We always return True for normal items in order to do lazy |
1439 We always return True for normal items in order to do lazy |
1440 population of the tree. |
1440 population of the tree. |
1448 <dd> |
1448 <dd> |
1449 flag indicating the presence of child items (boolean) |
1449 flag indicating the presence of child items (boolean) |
1450 </dd> |
1450 </dd> |
1451 </dl><a NAME="BrowserModel.headerData" ID="BrowserModel.headerData"></a> |
1451 </dl><a NAME="BrowserModel.headerData" ID="BrowserModel.headerData"></a> |
1452 <h4>BrowserModel.headerData</h4> |
1452 <h4>BrowserModel.headerData</h4> |
1453 <b>headerData</b>(<i>section, orientation, role = Qt.DisplayRole</i>) |
1453 <b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>) |
1454 <p> |
1454 <p> |
1455 Public method to get the header data. |
1455 Public method to get the header data. |
1456 </p><dl> |
1456 </p><dl> |
1457 <dt><i>section</i></dt> |
1457 <dt><i>section</i></dt> |
1458 <dd> |
1458 <dd> |
1469 <dd> |
1469 <dd> |
1470 requested header data |
1470 requested header data |
1471 </dd> |
1471 </dd> |
1472 </dl><a NAME="BrowserModel.index" ID="BrowserModel.index"></a> |
1472 </dl><a NAME="BrowserModel.index" ID="BrowserModel.index"></a> |
1473 <h4>BrowserModel.index</h4> |
1473 <h4>BrowserModel.index</h4> |
1474 <b>index</b>(<i>row, column, parent = QModelIndex()</i>) |
1474 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) |
1475 <p> |
1475 <p> |
1476 Public method to create an index. |
1476 Public method to create an index. |
1477 </p><dl> |
1477 </p><dl> |
1478 <dt><i>row</i></dt> |
1478 <dt><i>row</i></dt> |
1479 <dd> |
1479 <dd> |
1520 <dd> |
1520 <dd> |
1521 index of parent item (QModelIndex) |
1521 index of parent item (QModelIndex) |
1522 </dd> |
1522 </dd> |
1523 </dl><a NAME="BrowserModel.populateClassAttributesItem" ID="BrowserModel.populateClassAttributesItem"></a> |
1523 </dl><a NAME="BrowserModel.populateClassAttributesItem" ID="BrowserModel.populateClassAttributesItem"></a> |
1524 <h4>BrowserModel.populateClassAttributesItem</h4> |
1524 <h4>BrowserModel.populateClassAttributesItem</h4> |
1525 <b>populateClassAttributesItem</b>(<i>parentItem, repopulate = False</i>) |
1525 <b>populateClassAttributesItem</b>(<i>parentItem, repopulate=False</i>) |
1526 <p> |
1526 <p> |
1527 Public method to populate a class attributes item's subtree. |
1527 Public method to populate a class attributes item's subtree. |
1528 </p><dl> |
1528 </p><dl> |
1529 <dt><i>parentItem</i></dt> |
1529 <dt><i>parentItem</i></dt> |
1530 <dd> |
1530 <dd> |
1533 <dd> |
1533 <dd> |
1534 flag indicating a repopulation (boolean) |
1534 flag indicating a repopulation (boolean) |
1535 </dd> |
1535 </dd> |
1536 </dl><a NAME="BrowserModel.populateClassItem" ID="BrowserModel.populateClassItem"></a> |
1536 </dl><a NAME="BrowserModel.populateClassItem" ID="BrowserModel.populateClassItem"></a> |
1537 <h4>BrowserModel.populateClassItem</h4> |
1537 <h4>BrowserModel.populateClassItem</h4> |
1538 <b>populateClassItem</b>(<i>parentItem, repopulate = False</i>) |
1538 <b>populateClassItem</b>(<i>parentItem, repopulate=False</i>) |
1539 <p> |
1539 <p> |
1540 Public method to populate a class item's subtree. |
1540 Public method to populate a class item's subtree. |
1541 </p><dl> |
1541 </p><dl> |
1542 <dt><i>parentItem</i></dt> |
1542 <dt><i>parentItem</i></dt> |
1543 <dd> |
1543 <dd> |
1546 <dd> |
1546 <dd> |
1547 flag indicating a repopulation (boolean) |
1547 flag indicating a repopulation (boolean) |
1548 </dd> |
1548 </dd> |
1549 </dl><a NAME="BrowserModel.populateDirectoryItem" ID="BrowserModel.populateDirectoryItem"></a> |
1549 </dl><a NAME="BrowserModel.populateDirectoryItem" ID="BrowserModel.populateDirectoryItem"></a> |
1550 <h4>BrowserModel.populateDirectoryItem</h4> |
1550 <h4>BrowserModel.populateDirectoryItem</h4> |
1551 <b>populateDirectoryItem</b>(<i>parentItem, repopulate = False</i>) |
1551 <b>populateDirectoryItem</b>(<i>parentItem, repopulate=False</i>) |
1552 <p> |
1552 <p> |
1553 Public method to populate a directory item's subtree. |
1553 Public method to populate a directory item's subtree. |
1554 </p><dl> |
1554 </p><dl> |
1555 <dt><i>parentItem</i></dt> |
1555 <dt><i>parentItem</i></dt> |
1556 <dd> |
1556 <dd> |
1559 <dd> |
1559 <dd> |
1560 flag indicating a repopulation (boolean) |
1560 flag indicating a repopulation (boolean) |
1561 </dd> |
1561 </dd> |
1562 </dl><a NAME="BrowserModel.populateFileItem" ID="BrowserModel.populateFileItem"></a> |
1562 </dl><a NAME="BrowserModel.populateFileItem" ID="BrowserModel.populateFileItem"></a> |
1563 <h4>BrowserModel.populateFileItem</h4> |
1563 <h4>BrowserModel.populateFileItem</h4> |
1564 <b>populateFileItem</b>(<i>parentItem, repopulate = False</i>) |
1564 <b>populateFileItem</b>(<i>parentItem, repopulate=False</i>) |
1565 <p> |
1565 <p> |
1566 Public method to populate a file item's subtree. |
1566 Public method to populate a file item's subtree. |
1567 </p><dl> |
1567 </p><dl> |
1568 <dt><i>parentItem</i></dt> |
1568 <dt><i>parentItem</i></dt> |
1569 <dd> |
1569 <dd> |
1572 <dd> |
1572 <dd> |
1573 flag indicating a repopulation (boolean) |
1573 flag indicating a repopulation (boolean) |
1574 </dd> |
1574 </dd> |
1575 </dl><a NAME="BrowserModel.populateItem" ID="BrowserModel.populateItem"></a> |
1575 </dl><a NAME="BrowserModel.populateItem" ID="BrowserModel.populateItem"></a> |
1576 <h4>BrowserModel.populateItem</h4> |
1576 <h4>BrowserModel.populateItem</h4> |
1577 <b>populateItem</b>(<i>parentItem, repopulate = False</i>) |
1577 <b>populateItem</b>(<i>parentItem, repopulate=False</i>) |
1578 <p> |
1578 <p> |
1579 Public method to populate an item's subtree. |
1579 Public method to populate an item's subtree. |
1580 </p><dl> |
1580 </p><dl> |
1581 <dt><i>parentItem</i></dt> |
1581 <dt><i>parentItem</i></dt> |
1582 <dd> |
1582 <dd> |
1585 <dd> |
1585 <dd> |
1586 flag indicating a repopulation (boolean) |
1586 flag indicating a repopulation (boolean) |
1587 </dd> |
1587 </dd> |
1588 </dl><a NAME="BrowserModel.populateMethodItem" ID="BrowserModel.populateMethodItem"></a> |
1588 </dl><a NAME="BrowserModel.populateMethodItem" ID="BrowserModel.populateMethodItem"></a> |
1589 <h4>BrowserModel.populateMethodItem</h4> |
1589 <h4>BrowserModel.populateMethodItem</h4> |
1590 <b>populateMethodItem</b>(<i>parentItem, repopulate = False</i>) |
1590 <b>populateMethodItem</b>(<i>parentItem, repopulate=False</i>) |
1591 <p> |
1591 <p> |
1592 Public method to populate a method item's subtree. |
1592 Public method to populate a method item's subtree. |
1593 </p><dl> |
1593 </p><dl> |
1594 <dt><i>parentItem</i></dt> |
1594 <dt><i>parentItem</i></dt> |
1595 <dd> |
1595 <dd> |
1598 <dd> |
1598 <dd> |
1599 flag indicating a repopulation (boolean) |
1599 flag indicating a repopulation (boolean) |
1600 </dd> |
1600 </dd> |
1601 </dl><a NAME="BrowserModel.populateSysPathItem" ID="BrowserModel.populateSysPathItem"></a> |
1601 </dl><a NAME="BrowserModel.populateSysPathItem" ID="BrowserModel.populateSysPathItem"></a> |
1602 <h4>BrowserModel.populateSysPathItem</h4> |
1602 <h4>BrowserModel.populateSysPathItem</h4> |
1603 <b>populateSysPathItem</b>(<i>parentItem, repopulate = False</i>) |
1603 <b>populateSysPathItem</b>(<i>parentItem, repopulate=False</i>) |
1604 <p> |
1604 <p> |
1605 Public method to populate a sys.path item's subtree. |
1605 Public method to populate a sys.path item's subtree. |
1606 </p><dl> |
1606 </p><dl> |
1607 <dt><i>parentItem</i></dt> |
1607 <dt><i>parentItem</i></dt> |
1608 <dd> |
1608 <dd> |
1631 <dd> |
1631 <dd> |
1632 index of the toplevel directory to be removed (QModelIndex) |
1632 index of the toplevel directory to be removed (QModelIndex) |
1633 </dd> |
1633 </dd> |
1634 </dl><a NAME="BrowserModel.rowCount" ID="BrowserModel.rowCount"></a> |
1634 </dl><a NAME="BrowserModel.rowCount" ID="BrowserModel.rowCount"></a> |
1635 <h4>BrowserModel.rowCount</h4> |
1635 <h4>BrowserModel.rowCount</h4> |
1636 <b>rowCount</b>(<i>parent = QModelIndex()</i>) |
1636 <b>rowCount</b>(<i>parent=QModelIndex()</i>) |
1637 <p> |
1637 <p> |
1638 Public method to get the number of rows. |
1638 Public method to get the number of rows. |
1639 </p><dl> |
1639 </p><dl> |
1640 <dt><i>parent</i></dt> |
1640 <dt><i>parent</i></dt> |
1641 <dd> |
1641 <dd> |