Documentation/Source/eric5.Helpviewer.History.HistoryTreeModel.html

Sat, 02 Jan 2010 18:19:35 +0000

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 02 Jan 2010 18:19:35 +0000
changeset 17
edde1fe80b3e
child 21
b88a0e6268bd
permissions
-rw-r--r--

Updated documentation.

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>eric5.Helpviewer.History.HistoryTreeModel</title>
<style>
b'body {\n    background:white;\n    margin: 0em 1em 10em 1em;\n    color: black;\n}\n\nh1 { color: white; background: #4FA4FF; }\nh2 { color: white; background: #4FA4FF; }\nh3 { color: white; background: #00557F; }\nh4 { color: white; background: #00557F; }\n    \na { color: #AA5500; }\n'
</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>eric5.Helpviewer.History.HistoryTreeModel</h1>
<p>
&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#116;&#114;&#101;&#101; &#109;&#111;&#100;&#101;&#108;.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#HistoryTreeModel">HistoryTreeModel</a></td>
<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#116;&#114;&#101;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="HistoryTreeModel" ID="HistoryTreeModel"></a>
<h2>HistoryTreeModel</h2>
<p>
    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#116;&#114;&#101;&#101; &#109;&#111;&#100;&#101;&#108;.
</p>
<h3>Derived from</h3>
QAbstractProxyModel
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#HistoryTreeModel.__init__">HistoryTreeModel</a></td>
<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
</tr><tr>
<td><a href="#HistoryTreeModel.__sourceDateRow">__sourceDateRow</a></td>
<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#116;&#114;&#97;&#110;&#115;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#116;&#111;&#112; &#108;&#101;v&#101;&#108; &#100;&#97;&#116;&#101; &#114;&#111;w &#105;&#110;&#116;&#111; &#116;&#104;&#101; &#111;&#102;&#102;&#115;&#101;&#116; w&#104;&#101;&#114;&#101; &#116;&#104;&#97;&#116; &#100;&#97;&#116;&#101; &#115;&#116;&#97;&#114;&#116;&#115;.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.__sourceReset">__sourceReset</a></td>
<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#114;&#101;&#115;&#101;&#116; &#111;&#102; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.__sourceRowsInserted">__sourceRowsInserted</a></td>
<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#105;&#110;&#115;&#101;&#114;&#116;&#105;&#111;&#110; &#111;&#102; &#100;&#97;&#116;&#97; &#105;&#110; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.__sourceRowsRemoved">__sourceRowsRemoved</a></td>
<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#109;&#111;v&#97;&#108; &#111;&#102; &#100;&#97;&#116;&#97; &#105;&#110; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.columnCount">columnCount</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115;.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.data">data</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.flags">flags</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#105;&#116;&#101;&#109; &#102;&#108;&#97;&#103;&#115;.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.hasChildren">hasChildren</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97;&#110; &#101;&#110;&#116;&#114;y &#104;&#97;&#115; &#115;&#111;&#109;&#101; &#99;&#104;&#105;&#108;&#100;&#114;&#101;&#110;.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.headerData">headerData</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97;.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.index">index</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97;&#110; &#105;&#110;&#100;&#101;x.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.mapFromSource">mapFromSource</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#109;&#97;&#112; &#97;&#110; &#105;&#110;&#100;&#101;x &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;xy &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.mapToSource">mapToSource</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#109;&#97;&#112; &#97;&#110; &#105;&#110;&#100;&#101;x &#116;&#111; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.parent">parent</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.removeRows">removeRows</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.rowCount">rowCount</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115;.</td>
</tr><tr>
<td><a href="#HistoryTreeModel.setSourceModel">setSourceModel</a></td>
<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
</tr>
</table>
<a NAME="HistoryTreeModel.__init__" ID="HistoryTreeModel.__init__"></a>
<h4>HistoryTreeModel (Constructor)</h4>
<b>HistoryTreeModel</b>(<i>sourceModel, parent = None</i>)
<p>
        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
</p><dl>
<dt><i>sourceModel</i></dt>
<dd>
&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; (&#81;&#65;&#98;&#115;&#116;&#114;&#97;&#99;&#116;&#73;&#116;&#101;&#109;&#77;&#111;&#100;&#101;&#108;)
</dd><dt><i>parent</i></dt>
<dd>
&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;)
</dd>
</dl><a NAME="HistoryTreeModel.__sourceDateRow" ID="HistoryTreeModel.__sourceDateRow"></a>
<h4>HistoryTreeModel.__sourceDateRow</h4>
<b>__sourceDateRow</b>(<i>row</i>)
<p>
        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#116;&#114;&#97;&#110;&#115;&#108;&#97;&#116;&#101; &#116;&#104;&#101; &#116;&#111;&#112; &#108;&#101;v&#101;&#108; &#100;&#97;&#116;&#101; &#114;&#111;w &#105;&#110;&#116;&#111; &#116;&#104;&#101; &#111;&#102;&#102;&#115;&#101;&#116; 
        w&#104;&#101;&#114;&#101; &#116;&#104;&#97;&#116; &#100;&#97;&#116;&#101; &#115;&#116;&#97;&#114;&#116;&#115;.
</p><dl>
<dt><i>row</i></dt>
<dd>
&#114;&#111;w &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#116;&#104;&#101; &#100;&#97;&#116;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
&#111;&#102;&#102;&#115;&#101;&#116; w&#104;&#101;&#114;&#101; &#116;&#104;&#97;&#116; &#100;&#97;&#116;&#101; &#115;&#116;&#97;&#114;&#116;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd>
</dl><a NAME="HistoryTreeModel.__sourceReset" ID="HistoryTreeModel.__sourceReset"></a>
<h4>HistoryTreeModel.__sourceReset</h4>
<b>__sourceReset</b>(<i></i>)
<p>
        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#114;&#101;&#115;&#101;&#116; &#111;&#102; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.
</p><a NAME="HistoryTreeModel.__sourceRowsInserted" ID="HistoryTreeModel.__sourceRowsInserted"></a>
<h4>HistoryTreeModel.__sourceRowsInserted</h4>
<b>__sourceRowsInserted</b>(<i>parent, start, end</i>)
<p>
        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#105;&#110;&#115;&#101;&#114;&#116;&#105;&#111;&#110; &#111;&#102; &#100;&#97;&#116;&#97; &#105;&#110; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.
</p><dl>
<dt><i>parent</i></dt>
<dd>
&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd><dt><i>start</i></dt>
<dd>
&#115;&#116;&#97;&#114;&#116; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd><dt><i>end</i></dt>
<dd>
&#101;&#110;&#100; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd>
</dl><a NAME="HistoryTreeModel.__sourceRowsRemoved" ID="HistoryTreeModel.__sourceRowsRemoved"></a>
<h4>HistoryTreeModel.__sourceRowsRemoved</h4>
<b>__sourceRowsRemoved</b>(<i>parent, start, end</i>)
<p>
        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#109;&#111;v&#97;&#108; &#111;&#102; &#100;&#97;&#116;&#97; &#105;&#110; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.
</p><dl>
<dt><i>parent</i></dt>
<dd>
&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd><dt><i>start</i></dt>
<dd>
&#115;&#116;&#97;&#114;&#116; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd><dt><i>end</i></dt>
<dd>
&#101;&#110;&#100; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd>
</dl><a NAME="HistoryTreeModel.columnCount" ID="HistoryTreeModel.columnCount"></a>
<h4>HistoryTreeModel.columnCount</h4>
<b>columnCount</b>(<i>parent = QModelIndex()</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115;.
</p><dl>
<dt><i>parent</i></dt>
<dd>
&#105;&#110;&#100;&#101;x &#111;&#102; &#112;&#97;&#114;&#101;&#110;&#116; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd>
</dl><a NAME="HistoryTreeModel.data" ID="HistoryTreeModel.data"></a>
<h4>HistoryTreeModel.data</h4>
<b>data</b>(<i>index, role = Qt.DisplayRole</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
</p><dl>
<dt><i>index</i></dt>
<dd>
&#105;&#110;&#100;&#101;x &#111;&#102; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#111;&#114; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd><dt><i>role</i></dt>
<dd>
&#100;&#97;&#116;&#97; &#114;&#111;&#108;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
&#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#100;&#97;&#116;&#97;
</dd>
</dl><a NAME="HistoryTreeModel.flags" ID="HistoryTreeModel.flags"></a>
<h4>HistoryTreeModel.flags</h4>
<b>flags</b>(<i>index</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#105;&#116;&#101;&#109; &#102;&#108;&#97;&#103;&#115;.
</p><dl>
<dt><i>index</i></dt>
<dd>
&#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#105;&#116;&#101;&#109; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
&#102;&#108;&#97;&#103;&#115; (&#81;&#116;.&#73;&#116;&#101;&#109;&#70;&#108;&#97;&#103;&#115;)
</dd>
</dl><a NAME="HistoryTreeModel.hasChildren" ID="HistoryTreeModel.hasChildren"></a>
<h4>HistoryTreeModel.hasChildren</h4>
<b>hasChildren</b>(<i>parent = QModelIndex()</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97;&#110; &#101;&#110;&#116;&#114;y &#104;&#97;&#115; &#115;&#111;&#109;&#101; &#99;&#104;&#105;&#108;&#100;&#114;&#101;&#110;.
</p><dl>
<dt><i>parent</i></dt>
<dd>
&#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#101;&#110;&#116;&#114;y &#116;&#111; &#99;&#104;&#101;&#99;&#107; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#112;&#114;&#101;&#115;&#101;&#110;&#99;&#101; &#111;&#102; &#99;&#104;&#105;&#108;&#100;&#114;&#101;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
</dd>
</dl><a NAME="HistoryTreeModel.headerData" ID="HistoryTreeModel.headerData"></a>
<h4>HistoryTreeModel.headerData</h4>
<b>headerData</b>(<i>section, orientation, role = Qt.DisplayRole</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97;.
</p><dl>
<dt><i>section</i></dt>
<dd>
&#115;&#101;&#99;&#116;&#105;&#111;&#110; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd><dt><i>orientation</i></dt>
<dd>
&#104;&#101;&#97;&#100;&#101;&#114; &#111;&#114;&#105;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; (&#81;&#116;.&#79;&#114;&#105;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110;)
</dd><dt><i>role</i></dt>
<dd>
&#100;&#97;&#116;&#97; &#114;&#111;&#108;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
&#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97;
</dd>
</dl><a NAME="HistoryTreeModel.index" ID="HistoryTreeModel.index"></a>
<h4>HistoryTreeModel.index</h4>
<b>index</b>(<i>row, column, parent = QModelIndex()</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97;&#110; &#105;&#110;&#100;&#101;x.
</p><dl>
<dt><i>row</i></dt>
<dd>
&#114;&#111;w &#110;&#117;&#109;&#98;&#101;&#114; &#102;&#111;&#114; &#116;&#104;&#101; &#105;&#110;&#100;&#101;x (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd><dt><i>column</i></dt>
<dd>
&#99;&#111;&#108;&#117;&#109;&#110; &#110;&#117;&#109;&#98;&#101;&#114; &#102;&#111;&#114; &#116;&#104;&#101; &#105;&#110;&#100;&#101;x (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd><dt><i>parent</i></dt>
<dd>
&#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#116;&#101;&#109; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
&#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><a NAME="HistoryTreeModel.mapFromSource" ID="HistoryTreeModel.mapFromSource"></a>
<h4>HistoryTreeModel.mapFromSource</h4>
<b>mapFromSource</b>(<i>sourceIndex</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#109;&#97;&#112; &#97;&#110; &#105;&#110;&#100;&#101;x &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;xy &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x.
</p><dl>
<dt><i>sourceIndex</i></dt>
<dd>
&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#97; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
&#112;&#114;&#111;xy &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><a NAME="HistoryTreeModel.mapToSource" ID="HistoryTreeModel.mapToSource"></a>
<h4>HistoryTreeModel.mapToSource</h4>
<b>mapToSource</b>(<i>proxyIndex</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#109;&#97;&#112; &#97;&#110; &#105;&#110;&#100;&#101;x &#116;&#111; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x.
</p><dl>
<dt><i>proxyIndex</i></dt>
<dd>
&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#97; &#112;&#114;&#111;xy &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
&#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><a NAME="HistoryTreeModel.parent" ID="HistoryTreeModel.parent"></a>
<h4>HistoryTreeModel.parent</h4>
<b>parent</b>(<i>index</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x.
</p><dl>
<dt><i>index</i></dt>
<dd>
&#105;&#110;&#100;&#101;x &#111;&#102; &#105;&#116;&#101;&#109; &#116;&#111; &#103;&#101;&#116; &#112;&#97;&#114;&#101;&#110;&#116; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
&#105;&#110;&#100;&#101;x &#111;&#102; &#112;&#97;&#114;&#101;&#110;&#116; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><a NAME="HistoryTreeModel.removeRows" ID="HistoryTreeModel.removeRows"></a>
<h4>HistoryTreeModel.removeRows</h4>
<b>removeRows</b>(<i>row, count, parent = QModelIndex()</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
</p><dl>
<dt><i>row</i></dt>
<dd>
&#114;&#111;w &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#114;&#115;&#116; &#101;&#110;&#116;&#114;y &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd><dt><i>count</i></dt>
<dd>
&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd><dt><i>index</i></dt>
<dd>
&#111;&#102; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#101;&#110;&#116;&#114;y (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115;&#102;&#117;&#108; &#114;&#101;&#109;&#111;v&#97;&#108; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
</dd>
</dl><a NAME="HistoryTreeModel.rowCount" ID="HistoryTreeModel.rowCount"></a>
<h4>HistoryTreeModel.rowCount</h4>
<b>rowCount</b>(<i>parent = QModelIndex()</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115;.
</p><dl>
<dt><i>parent</i></dt>
<dd>
&#105;&#110;&#100;&#101;x &#111;&#102; &#112;&#97;&#114;&#101;&#110;&#116; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
</dd>
</dl><dl>
<dt>Returns:</dt>
<dd>
&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
</dd>
</dl><a NAME="HistoryTreeModel.setSourceModel" ID="HistoryTreeModel.setSourceModel"></a>
<h4>HistoryTreeModel.setSourceModel</h4>
<b>setSourceModel</b>(<i>sourceModel</i>)
<p>
        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108;.
</p><dl>
<dt><i>sourceModel</i></dt>
<dd>
&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; (&#81;&#65;&#98;&#115;&#116;&#114;&#97;&#99;&#116;&#73;&#116;&#101;&#109;&#77;&#111;&#100;&#101;&#108;)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial