Documentation/Source/eric6.UI.BrowserModel.html

changeset 5656
9c21b2746218
parent 4538
cbff7269b187
child 5972
8499df251632
equal deleted inserted replaced
5654:d75dfc0d10f2 5656:9c21b2746218
1781 <dd> 1781 <dd>
1782 item to be removed (BrowserDirectoryItem) 1782 item to be removed (BrowserDirectoryItem)
1783 </dd> 1783 </dd>
1784 </dl><a NAME="BrowserModel.addItem" ID="BrowserModel.addItem"></a> 1784 </dl><a NAME="BrowserModel.addItem" ID="BrowserModel.addItem"></a>
1785 <h4>BrowserModel.addItem</h4> 1785 <h4>BrowserModel.addItem</h4>
1786 <b>addItem</b>(<i>itm, parent=QModelIndex()</i>) 1786 <b>addItem</b>(<i>itm, parent=None</i>)
1787 <p> 1787 <p>
1788 Public slot to add an item. 1788 Public slot to add an item.
1789 </p><dl> 1789 </p><dl>
1790 <dt><i>itm</i></dt> 1790 <dt><i>itm</i></dt>
1791 <dd> 1791 <dd>
1809 <b>clear</b>(<i></i>) 1809 <b>clear</b>(<i></i>)
1810 <p> 1810 <p>
1811 Public method to clear the model. 1811 Public method to clear the model.
1812 </p><a NAME="BrowserModel.columnCount" ID="BrowserModel.columnCount"></a> 1812 </p><a NAME="BrowserModel.columnCount" ID="BrowserModel.columnCount"></a>
1813 <h4>BrowserModel.columnCount</h4> 1813 <h4>BrowserModel.columnCount</h4>
1814 <b>columnCount</b>(<i>parent=QModelIndex()</i>) 1814 <b>columnCount</b>(<i>parent=None</i>)
1815 <p> 1815 <p>
1816 Public method to get the number of columns. 1816 Public method to get the number of columns.
1817 </p><dl> 1817 </p><dl>
1818 <dt><i>parent</i></dt> 1818 <dt><i>parent</i></dt>
1819 <dd> 1819 <dd>
1867 <dd> 1867 <dd>
1868 requested flags (Qt.ItemFlags) 1868 requested flags (Qt.ItemFlags)
1869 </dd> 1869 </dd>
1870 </dl><a NAME="BrowserModel.hasChildren" ID="BrowserModel.hasChildren"></a> 1870 </dl><a NAME="BrowserModel.hasChildren" ID="BrowserModel.hasChildren"></a>
1871 <h4>BrowserModel.hasChildren</h4> 1871 <h4>BrowserModel.hasChildren</h4>
1872 <b>hasChildren</b>(<i>parent=QModelIndex()</i>) 1872 <b>hasChildren</b>(<i>parent=None</i>)
1873 <p> 1873 <p>
1874 Public method to check for the presence of child items. 1874 Public method to check for the presence of child items.
1875 </p><p> 1875 </p><p>
1876 We always return True for normal items in order to do lazy 1876 We always return True for normal items in order to do lazy
1877 population of the tree. 1877 population of the tree.
1906 <dd> 1906 <dd>
1907 requested header data 1907 requested header data
1908 </dd> 1908 </dd>
1909 </dl><a NAME="BrowserModel.index" ID="BrowserModel.index"></a> 1909 </dl><a NAME="BrowserModel.index" ID="BrowserModel.index"></a>
1910 <h4>BrowserModel.index</h4> 1910 <h4>BrowserModel.index</h4>
1911 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) 1911 <b>index</b>(<i>row, column, parent=None</i>)
1912 <p> 1912 <p>
1913 Public method to create an index. 1913 Public method to create an index.
1914 </p><dl> 1914 </p><dl>
1915 <dt><i>row</i></dt> 1915 <dt><i>row</i></dt>
1916 <dd> 1916 <dd>
2081 index of the toplevel directory to be removed 2081 index of the toplevel directory to be removed
2082 (QModelIndex) 2082 (QModelIndex)
2083 </dd> 2083 </dd>
2084 </dl><a NAME="BrowserModel.rowCount" ID="BrowserModel.rowCount"></a> 2084 </dl><a NAME="BrowserModel.rowCount" ID="BrowserModel.rowCount"></a>
2085 <h4>BrowserModel.rowCount</h4> 2085 <h4>BrowserModel.rowCount</h4>
2086 <b>rowCount</b>(<i>parent=QModelIndex()</i>) 2086 <b>rowCount</b>(<i>parent=None</i>)
2087 <p> 2087 <p>
2088 Public method to get the number of rows. 2088 Public method to get the number of rows.
2089 </p><dl> 2089 </p><dl>
2090 <dt><i>parent</i></dt> 2090 <dt><i>parent</i></dt>
2091 <dd> 2091 <dd>

eric ide

mercurial