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

changeset 945
8cd4d08fa9f6
parent 440
69ace3e2dcf6
child 1228
7afaf2fca55b
equal deleted inserted replaced
944:1b59c4ba121e 945:8cd4d08fa9f6
82 <td>Public method to set the data of a model cell.</td> 82 <td>Public method to set the data of a model cell.</td>
83 </tr> 83 </tr>
84 </table> 84 </table>
85 <a NAME="OpenSearchEngineModel.__init__" ID="OpenSearchEngineModel.__init__"></a> 85 <a NAME="OpenSearchEngineModel.__init__" ID="OpenSearchEngineModel.__init__"></a>
86 <h4>OpenSearchEngineModel (Constructor)</h4> 86 <h4>OpenSearchEngineModel (Constructor)</h4>
87 <b>OpenSearchEngineModel</b>(<i>manager, parent = None</i>) 87 <b>OpenSearchEngineModel</b>(<i>manager, parent=None</i>)
88 <p> 88 <p>
89 Constructor 89 Constructor
90 </p><dl> 90 </p><dl>
91 <dt><i>manager</i></dt> 91 <dt><i>manager</i></dt>
92 <dd> 92 <dd>
100 <b>__enginesChanged</b>(<i></i>) 100 <b>__enginesChanged</b>(<i></i>)
101 <p> 101 <p>
102 Private slot handling a change of the registered engines. 102 Private slot handling a change of the registered engines.
103 </p><a NAME="OpenSearchEngineModel.columnCount" ID="OpenSearchEngineModel.columnCount"></a> 103 </p><a NAME="OpenSearchEngineModel.columnCount" ID="OpenSearchEngineModel.columnCount"></a>
104 <h4>OpenSearchEngineModel.columnCount</h4> 104 <h4>OpenSearchEngineModel.columnCount</h4>
105 <b>columnCount</b>(<i>parent = QModelIndex()</i>) 105 <b>columnCount</b>(<i>parent=QModelIndex()</i>)
106 <p> 106 <p>
107 Public method to get the number of columns of the model. 107 Public method to get the number of columns of the model.
108 </p><dl> 108 </p><dl>
109 <dt><i>parent</i></dt> 109 <dt><i>parent</i></dt>
110 <dd> 110 <dd>
148 <dd> 148 <dd>
149 flags (Qt.ItemFlags) 149 flags (Qt.ItemFlags)
150 </dd> 150 </dd>
151 </dl><a NAME="OpenSearchEngineModel.headerData" ID="OpenSearchEngineModel.headerData"></a> 151 </dl><a NAME="OpenSearchEngineModel.headerData" ID="OpenSearchEngineModel.headerData"></a>
152 <h4>OpenSearchEngineModel.headerData</h4> 152 <h4>OpenSearchEngineModel.headerData</h4>
153 <b>headerData</b>(<i>section, orientation, role = Qt.DisplayRole</i>) 153 <b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>)
154 <p> 154 <p>
155 Public method to get the header data. 155 Public method to get the header data.
156 </p><dl> 156 </p><dl>
157 <dt><i>section</i></dt> 157 <dt><i>section</i></dt>
158 <dd> 158 <dd>
169 <dd> 169 <dd>
170 header data 170 header data
171 </dd> 171 </dd>
172 </dl><a NAME="OpenSearchEngineModel.removeRows" ID="OpenSearchEngineModel.removeRows"></a> 172 </dl><a NAME="OpenSearchEngineModel.removeRows" ID="OpenSearchEngineModel.removeRows"></a>
173 <h4>OpenSearchEngineModel.removeRows</h4> 173 <h4>OpenSearchEngineModel.removeRows</h4>
174 <b>removeRows</b>(<i>row, count, parent = QModelIndex()</i>) 174 <b>removeRows</b>(<i>row, count, parent=QModelIndex()</i>)
175 <p> 175 <p>
176 Public method to remove entries from the model. 176 Public method to remove entries from the model.
177 </p><dl> 177 </p><dl>
178 <dt><i>row</i></dt> 178 <dt><i>row</i></dt>
179 <dd> 179 <dd>
190 <dd> 190 <dd>
191 flag indicating success (boolean) 191 flag indicating success (boolean)
192 </dd> 192 </dd>
193 </dl><a NAME="OpenSearchEngineModel.rowCount" ID="OpenSearchEngineModel.rowCount"></a> 193 </dl><a NAME="OpenSearchEngineModel.rowCount" ID="OpenSearchEngineModel.rowCount"></a>
194 <h4>OpenSearchEngineModel.rowCount</h4> 194 <h4>OpenSearchEngineModel.rowCount</h4>
195 <b>rowCount</b>(<i>parent = QModelIndex()</i>) 195 <b>rowCount</b>(<i>parent=QModelIndex()</i>)
196 <p> 196 <p>
197 Public method to get the number of rows of the model. 197 Public method to get the number of rows of the model.
198 </p><dl> 198 </p><dl>
199 <dt><i>parent</i></dt> 199 <dt><i>parent</i></dt>
200 <dd> 200 <dd>
205 <dd> 205 <dd>
206 number of rows (integer) 206 number of rows (integer)
207 </dd> 207 </dd>
208 </dl><a NAME="OpenSearchEngineModel.setData" ID="OpenSearchEngineModel.setData"></a> 208 </dl><a NAME="OpenSearchEngineModel.setData" ID="OpenSearchEngineModel.setData"></a>
209 <h4>OpenSearchEngineModel.setData</h4> 209 <h4>OpenSearchEngineModel.setData</h4>
210 <b>setData</b>(<i>index, value, role = Qt.EditRole</i>) 210 <b>setData</b>(<i>index, value, role=Qt.EditRole</i>)
211 <p> 211 <p>
212 Public method to set the data of a model cell. 212 Public method to set the data of a model cell.
213 </p><dl> 213 </p><dl>
214 <dt><i>index</i></dt> 214 <dt><i>index</i></dt>
215 <dd> 215 <dd>

eric ide

mercurial