Documentation/Source/eric5.Helpviewer.OpenSearch.OpenSearchEngineModel.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
--- a/Documentation/Source/eric5.Helpviewer.OpenSearch.OpenSearchEngineModel.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.Helpviewer.OpenSearch.OpenSearchEngineModel.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.Helpviewer.OpenSearch.OpenSearchEngineModel</h1>
 <p>
-&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#109;&#111;&#100;&#101;&#108; &#102;&#111;&#114; &#115;&#101;&#97;&#114;&#99;&#104; &#101;&#110;&#103;&#105;&#110;&#101;&#115;.
+Module implementing a model for search engines.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,7 +32,7 @@
 <table>
 <tr>
 <td><a href="#OpenSearchEngineModel">OpenSearchEngineModel</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#109;&#111;&#100;&#101;&#108; &#102;&#111;&#114; &#115;&#101;&#97;&#114;&#99;&#104; &#101;&#110;&#103;&#105;&#110;&#101;&#115;.</td>
+<td>Class implementing a model for search engines.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -43,7 +43,7 @@
 <a NAME="OpenSearchEngineModel" ID="OpenSearchEngineModel"></a>
 <h2>OpenSearchEngineModel</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#109;&#111;&#100;&#101;&#108; &#102;&#111;&#114; &#115;&#101;&#97;&#114;&#99;&#104; &#101;&#110;&#103;&#105;&#110;&#101;&#115;.
+    Class implementing a model for search engines.
 </p>
 <h3>Derived from</h3>
 QAbstractTableModel
@@ -55,176 +55,176 @@
 <table>
 <tr>
 <td><a href="#OpenSearchEngineModel.__init__">OpenSearchEngineModel</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#OpenSearchEngineModel.__enginesChanged">__enginesChanged</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#103;&#105;&#115;&#116;&#101;&#114;&#101;&#100; &#101;&#110;&#103;&#105;&#110;&#101;&#115;.</td>
+<td>Private slot handling a change of the registered engines.</td>
 </tr><tr>
 <td><a href="#OpenSearchEngineModel.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; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public method to get the number of columns of the model.</td>
 </tr><tr>
 <td><a href="#OpenSearchEngineModel.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="#OpenSearchEngineModel.flags">flags</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#102;&#108;&#97;&#103;&#115; &#102;&#111;&#114; &#97; &#109;&#111;&#100;&#101;&#108; &#99;&#101;&#108;&#108;.</td>
+<td>Public method to get flags for a model cell.</td>
 </tr><tr>
 <td><a href="#OpenSearchEngineModel.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="#OpenSearchEngineModel.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>
+<td>Public method to remove entries from the model.</td>
 </tr><tr>
 <td><a href="#OpenSearchEngineModel.rowCount">rowCount</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; &#114;&#111;w&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public method to get the number of rows of the model.</td>
 </tr><tr>
 <td><a href="#OpenSearchEngineModel.setData">setData</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#111;&#102; &#97; &#109;&#111;&#100;&#101;&#108; &#99;&#101;&#108;&#108;.</td>
+<td>Public method to set the data of a model cell.</td>
 </tr>
 </table>
 <a NAME="OpenSearchEngineModel.__init__" ID="OpenSearchEngineModel.__init__"></a>
 <h4>OpenSearchEngineModel (Constructor)</h4>
 <b>OpenSearchEngineModel</b>(<i>manager, parent = None</i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><dl>
 <dt><i>manager</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#115;&#101;&#97;&#114;&#99;&#104; &#101;&#110;&#103;&#105;&#110;&#101; &#109;&#97;&#110;&#97;&#103;&#101;&#114; (&#79;&#112;&#101;&#110;&#83;&#101;&#97;&#114;&#99;&#104;&#77;&#97;&#110;&#97;&#103;&#101;&#114;)
+reference to the search engine manager (OpenSearchManager)
 </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="OpenSearchEngineModel.__enginesChanged" ID="OpenSearchEngineModel.__enginesChanged"></a>
 <h4>OpenSearchEngineModel.__enginesChanged</h4>
 <b>__enginesChanged</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#103;&#105;&#115;&#116;&#101;&#114;&#101;&#100; &#101;&#110;&#103;&#105;&#110;&#101;&#115;.
+        Private slot handling a change of the registered engines.
 </p><a NAME="OpenSearchEngineModel.columnCount" ID="OpenSearchEngineModel.columnCount"></a>
 <h4>OpenSearchEngineModel.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; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public method to get the number of columns of the model.
 </p><dl>
 <dt><i>parent</i></dt>
 <dd>
-&#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+parent index (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="OpenSearchEngineModel.data" ID="OpenSearchEngineModel.data"></a>
 <h4>OpenSearchEngineModel.data</h4>
 <b>data</b>(<i>index, role</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 &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#111;&#114; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+index to get data for (QModelIndex)
 </dd><dt><i>role</i></dt>
 <dd>
-&#114;&#111;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+role of the data to retrieve (integer)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#100;&#97;&#116;&#97;
+requested data
 </dd>
 </dl><a NAME="OpenSearchEngineModel.flags" ID="OpenSearchEngineModel.flags"></a>
 <h4>OpenSearchEngineModel.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; &#102;&#108;&#97;&#103;&#115; &#102;&#111;&#114; &#97; &#109;&#111;&#100;&#101;&#108; &#99;&#101;&#108;&#108;.
+        Public method to get flags for a model cell.
 </p><dl>
 <dt><i>index</i></dt>
 <dd>
-&#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108; &#99;&#101;&#108;&#108; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+index of the model cell (QModelIndex)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103;&#115; (&#81;&#116;.&#73;&#116;&#101;&#109;&#70;&#108;&#97;&#103;&#115;)
+flags (Qt.ItemFlags)
 </dd>
 </dl><a NAME="OpenSearchEngineModel.headerData" ID="OpenSearchEngineModel.headerData"></a>
 <h4>OpenSearchEngineModel.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="OpenSearchEngineModel.removeRows" ID="OpenSearchEngineModel.removeRows"></a>
 <h4>OpenSearchEngineModel.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;.
+        Public method to remove entries from the model.
 </p><dl>
 <dt><i>row</i></dt>
 <dd>
-&#115;&#116;&#97;&#114;&#116; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+start row (integer)
 </dd><dt><i>count</i></dt>
 <dd>
-&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+number of rows to remove (integer)
 </dd><dt><i>parent</i></dt>
 <dd>
-&#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+parent index (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; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating success (boolean)
 </dd>
 </dl><a NAME="OpenSearchEngineModel.rowCount" ID="OpenSearchEngineModel.rowCount"></a>
 <h4>OpenSearchEngineModel.rowCount</h4>
 <b>rowCount</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; &#114;&#111;w&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public method to get the number of rows of the model.
 </p><dl>
 <dt><i>parent</i></dt>
 <dd>
-&#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+parent index (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><a NAME="OpenSearchEngineModel.setData" ID="OpenSearchEngineModel.setData"></a>
 <h4>OpenSearchEngineModel.setData</h4>
 <b>setData</b>(<i>index, value, role = Qt.EditRole</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#111;&#102; &#97; &#109;&#111;&#100;&#101;&#108; &#99;&#101;&#108;&#108;.
+        Public method to set the data of a model cell.
 </p><dl>
 <dt><i>index</i></dt>
 <dd>
-&#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108; &#99;&#101;&#108;&#108; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+index of the model cell (QModelIndex)
 </dd><dt><i>value</i></dt>
 <dd>
-v&#97;&#108;&#117;&#101; &#116;&#111; &#98;&#101; &#115;&#101;&#116;
+value to be set
 </dd><dt><i>role</i></dt>
 <dd>
-&#114;&#111;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#97;&#116;&#97; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+role of the data (integer)
 </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; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating success (boolean)
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial