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

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
--- a/Documentation/Source/eric5.Helpviewer.History.HistoryModel.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.Helpviewer.History.HistoryModel.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.Helpviewer.History.HistoryModel</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 &#109;&#111;&#100;&#101;&#108;.
+Module implementing the history model.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,7 +32,7 @@
 <table>
 <tr>
 <td><a href="#HistoryModel">HistoryModel</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 &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Class implementing the history model.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -43,7 +43,7 @@
 <a NAME="HistoryModel" ID="HistoryModel"></a>
 <h2>HistoryModel</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 &#109;&#111;&#100;&#101;&#108;.
+    Class implementing the history model.
 </p>
 <h3>Derived from</h3>
 QAbstractTableModel
@@ -55,155 +55,155 @@
 <table>
 <tr>
 <td><a href="#HistoryModel.__init__">HistoryModel</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#HistoryModel.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>
+<td>Public method to get the number of columns.</td>
 </tr><tr>
 <td><a href="#HistoryModel.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>
+<td>Public method to get data from the model.</td>
 </tr><tr>
 <td><a href="#HistoryModel.entryAdded">entryAdded</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#100;&#100;&#105;&#116;&#105;&#111;&#110; &#111;&#102; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y.</td>
+<td>Public slot to handle the addition of a history entry.</td>
 </tr><tr>
 <td><a href="#HistoryModel.entryUpdated">entryUpdated</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#117;&#112;&#100;&#97;&#116;&#101; &#111;&#102; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y.</td>
+<td>Public slot to handle the update of a history entry.</td>
 </tr><tr>
 <td><a href="#HistoryModel.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>
+<td>Public method to get the header data.</td>
 </tr><tr>
 <td><a href="#HistoryModel.historyReset">historyReset</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#115;&#101;&#116; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public slot to reset the model.</td>
 </tr><tr>
 <td><a href="#HistoryModel.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; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public method to remove history entries from the model.</td>
 </tr><tr>
 <td><a href="#HistoryModel.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>
+<td>Public method to determine the number of rows.</td>
 </tr>
 </table>
 <a NAME="HistoryModel.__init__" ID="HistoryModel.__init__"></a>
 <h4>HistoryModel (Constructor)</h4>
 <b>HistoryModel</b>(<i>historyManager, parent = None</i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><dl>
 <dt><i>historyManager</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#109;&#97;&#110;&#97;&#103;&#101;&#114; &#111;&#98;&#106;&#101;&#99;&#116; (&#72;&#105;&#115;&#116;&#111;&#114;y&#77;&#97;&#110;&#97;&#103;&#101;&#114;)
+reference to the history manager object (HistoryManager)
 </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;)
+reference to the parent object (QObject)
 </dd>
 </dl><a NAME="HistoryModel.columnCount" ID="HistoryModel.columnCount"></a>
 <h4>HistoryModel.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;.
+        Public method to get the number of columns.
 </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)
+index of parent (QModelIndex)
 </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;)
+number of columns (integer)
 </dd>
 </dl><a NAME="HistoryModel.data" ID="HistoryModel.data"></a>
 <h4>HistoryModel.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;.
+        Public method to get data from the model.
 </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)
+index of history entry to get data for (QModelIndex)
 </dd><dt><i>role</i></dt>
 <dd>
-&#100;&#97;&#116;&#97; &#114;&#111;&#108;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+data role (integer)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#100;&#97;&#116;&#97;
+history entry data
 </dd>
 </dl><a NAME="HistoryModel.entryAdded" ID="HistoryModel.entryAdded"></a>
 <h4>HistoryModel.entryAdded</h4>
 <b>entryAdded</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#97;&#100;&#100;&#105;&#116;&#105;&#111;&#110; &#111;&#102; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y.
+        Public slot to handle the addition of a history entry.
 </p><a NAME="HistoryModel.entryUpdated" ID="HistoryModel.entryUpdated"></a>
 <h4>HistoryModel.entryUpdated</h4>
 <b>entryUpdated</b>(<i>row</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#117;&#112;&#100;&#97;&#116;&#101; &#111;&#102; &#97; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y.
+        Public slot to handle the update of a history entry.
 </p><dl>
 <dt><i>row</i></dt>
 <dd>
-&#114;&#111;w &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#116;&#104;&#101; &#117;&#112;&#100;&#97;&#116;&#101;&#100; &#101;&#110;&#116;&#114;y (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+row number of the updated entry (integer)
 </dd>
 </dl><a NAME="HistoryModel.headerData" ID="HistoryModel.headerData"></a>
 <h4>HistoryModel.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;.
+        Public method to get the header data.
 </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;)
+section number (integer)
 </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;)
+header orientation (Qt.Orientation)
 </dd><dt><i>role</i></dt>
 <dd>
-&#100;&#97;&#116;&#97; &#114;&#111;&#108;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+data role (integer)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97;
+header data
 </dd>
 </dl><a NAME="HistoryModel.historyReset" ID="HistoryModel.historyReset"></a>
 <h4>HistoryModel.historyReset</h4>
 <b>historyReset</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#115;&#101;&#116; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public slot to reset the model.
 </p><a NAME="HistoryModel.removeRows" ID="HistoryModel.removeRows"></a>
 <h4>HistoryModel.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; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public method to remove history entries from the model.
 </p><dl>
 <dt><i>row</i></dt>
 <dd>
-&#114;&#111;w &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#114;&#115;&#116; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;y &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+row of the first history entry to remove (integer)
 </dd><dt><i>count</i></dt>
 <dd>
-&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#104;&#105;&#115;&#116;&#111;&#114;y &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+number of history entries to remove (integer)
 </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)
+of the parent entry (QModelIndex)
 </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;)
+flag indicating successful removal (boolean)
 </dd>
 </dl><a NAME="HistoryModel.rowCount" ID="HistoryModel.rowCount"></a>
 <h4>HistoryModel.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;.
+        Public method to determine the number of rows.
 </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)
+index of parent (QModelIndex)
 </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;)
+number of rows (integer)
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial