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

changeset 945
8cd4d08fa9f6
parent 440
69ace3e2dcf6
child 1228
7afaf2fca55b
equal deleted inserted replaced
944:1b59c4ba121e 945:8cd4d08fa9f6
67 <td>Special method determining less relation.</td> 67 <td>Special method determining less relation.</td>
68 </tr> 68 </tr>
69 </table> 69 </table>
70 <a NAME="HistoryData.__init__" ID="HistoryData.__init__"></a> 70 <a NAME="HistoryData.__init__" ID="HistoryData.__init__"></a>
71 <h4>HistoryData (Constructor)</h4> 71 <h4>HistoryData (Constructor)</h4>
72 <b>HistoryData</b>(<i>offset, frequency = 0</i>) 72 <b>HistoryData</b>(<i>offset, frequency=0</i>)
73 <p> 73 <p>
74 Constructor 74 Constructor
75 </p><dl> 75 </p><dl>
76 <dt><i>offset</i></dt> 76 <dt><i>offset</i></dt>
77 <dd> 77 <dd>
99 <h4>HistoryData.__lt__</h4> 99 <h4>HistoryData.__lt__</h4>
100 <b>__lt__</b>(<i>other</i>) 100 <b>__lt__</b>(<i>other</i>)
101 <p> 101 <p>
102 Special method determining less relation. 102 Special method determining less relation.
103 </p><p> 103 </p><p>
104 Note: Like the actual history entries the index mapping is sorted in reverse 104 Note: Like the actual history entries the index mapping is sorted in reverse
105 order by offset 105 order by offset
106 </p><dl> 106 </p><dl>
107 <dt><i>other</i></dt> 107 <dt><i>other</i></dt>
108 <dd> 108 <dd>
109 reference to the history data object to compare against 109 reference to the history data object to compare against
192 <td>Public method to set the source model.</td> 192 <td>Public method to set the source model.</td>
193 </tr> 193 </tr>
194 </table> 194 </table>
195 <a NAME="HistoryFilterModel.__init__" ID="HistoryFilterModel.__init__"></a> 195 <a NAME="HistoryFilterModel.__init__" ID="HistoryFilterModel.__init__"></a>
196 <h4>HistoryFilterModel (Constructor)</h4> 196 <h4>HistoryFilterModel (Constructor)</h4>
197 <b>HistoryFilterModel</b>(<i>sourceModel, parent = None</i>) 197 <b>HistoryFilterModel</b>(<i>sourceModel, parent=None</i>)
198 <p> 198 <p>
199 Constructor 199 Constructor
200 </p><dl> 200 </p><dl>
201 <dt><i>sourceModel</i></dt> 201 <dt><i>sourceModel</i></dt>
202 <dd> 202 <dd>
275 <dd> 275 <dd>
276 end row (integer) 276 end row (integer)
277 </dd> 277 </dd>
278 </dl><a NAME="HistoryFilterModel.columnCount" ID="HistoryFilterModel.columnCount"></a> 278 </dl><a NAME="HistoryFilterModel.columnCount" ID="HistoryFilterModel.columnCount"></a>
279 <h4>HistoryFilterModel.columnCount</h4> 279 <h4>HistoryFilterModel.columnCount</h4>
280 <b>columnCount</b>(<i>parent = QModelIndex()</i>) 280 <b>columnCount</b>(<i>parent=QModelIndex()</i>)
281 <p> 281 <p>
282 Public method to get the number of columns. 282 Public method to get the number of columns.
283 </p><dl> 283 </p><dl>
284 <dt><i>parent</i></dt> 284 <dt><i>parent</i></dt>
285 <dd> 285 <dd>
290 <dd> 290 <dd>
291 number of columns (integer) 291 number of columns (integer)
292 </dd> 292 </dd>
293 </dl><a NAME="HistoryFilterModel.data" ID="HistoryFilterModel.data"></a> 293 </dl><a NAME="HistoryFilterModel.data" ID="HistoryFilterModel.data"></a>
294 <h4>HistoryFilterModel.data</h4> 294 <h4>HistoryFilterModel.data</h4>
295 <b>data</b>(<i>index, role = Qt.DisplayRole</i>) 295 <b>data</b>(<i>index, role=Qt.DisplayRole</i>)
296 <p> 296 <p>
297 Public method to get data from the model. 297 Public method to get data from the model.
298 </p><dl> 298 </p><dl>
299 <dt><i>index</i></dt> 299 <dt><i>index</i></dt>
300 <dd> 300 <dd>
308 <dd> 308 <dd>
309 history entry data 309 history entry data
310 </dd> 310 </dd>
311 </dl><a NAME="HistoryFilterModel.headerData" ID="HistoryFilterModel.headerData"></a> 311 </dl><a NAME="HistoryFilterModel.headerData" ID="HistoryFilterModel.headerData"></a>
312 <h4>HistoryFilterModel.headerData</h4> 312 <h4>HistoryFilterModel.headerData</h4>
313 <b>headerData</b>(<i>section, orientation, role = Qt.DisplayRole</i>) 313 <b>headerData</b>(<i>section, orientation, role=Qt.DisplayRole</i>)
314 <p> 314 <p>
315 Public method to get the header data. 315 Public method to get the header data.
316 </p><dl> 316 </p><dl>
317 <dt><i>section</i></dt> 317 <dt><i>section</i></dt>
318 <dd> 318 <dd>
359 <dd> 359 <dd>
360 row number in the source model (integer) 360 row number in the source model (integer)
361 </dd> 361 </dd>
362 </dl><a NAME="HistoryFilterModel.index" ID="HistoryFilterModel.index"></a> 362 </dl><a NAME="HistoryFilterModel.index" ID="HistoryFilterModel.index"></a>
363 <h4>HistoryFilterModel.index</h4> 363 <h4>HistoryFilterModel.index</h4>
364 <b>index</b>(<i>row, column, parent = QModelIndex()</i>) 364 <b>index</b>(<i>row, column, parent=QModelIndex()</i>)
365 <p> 365 <p>
366 Public method to create an index. 366 Public method to create an index.
367 </p><dl> 367 </p><dl>
368 <dt><i>row</i></dt> 368 <dt><i>row</i></dt>
369 <dd> 369 <dd>
430 <b>recalculateFrequencies</b>(<i></i>) 430 <b>recalculateFrequencies</b>(<i></i>)
431 <p> 431 <p>
432 Public method to recalculate the frequencies. 432 Public method to recalculate the frequencies.
433 </p><a NAME="HistoryFilterModel.removeRows" ID="HistoryFilterModel.removeRows"></a> 433 </p><a NAME="HistoryFilterModel.removeRows" ID="HistoryFilterModel.removeRows"></a>
434 <h4>HistoryFilterModel.removeRows</h4> 434 <h4>HistoryFilterModel.removeRows</h4>
435 <b>removeRows</b>(<i>row, count, parent = QModelIndex()</i>) 435 <b>removeRows</b>(<i>row, count, parent=QModelIndex()</i>)
436 <p> 436 <p>
437 Public method to remove entries from the model. 437 Public method to remove entries from the model.
438 </p><dl> 438 </p><dl>
439 <dt><i>row</i></dt> 439 <dt><i>row</i></dt>
440 <dd> 440 <dd>
451 <dd> 451 <dd>
452 flag indicating successful removal (boolean) 452 flag indicating successful removal (boolean)
453 </dd> 453 </dd>
454 </dl><a NAME="HistoryFilterModel.rowCount" ID="HistoryFilterModel.rowCount"></a> 454 </dl><a NAME="HistoryFilterModel.rowCount" ID="HistoryFilterModel.rowCount"></a>
455 <h4>HistoryFilterModel.rowCount</h4> 455 <h4>HistoryFilterModel.rowCount</h4>
456 <b>rowCount</b>(<i>parent = QModelIndex()</i>) 456 <b>rowCount</b>(<i>parent=QModelIndex()</i>)
457 <p> 457 <p>
458 Public method to determine the number of rows. 458 Public method to determine the number of rows.
459 </p><dl> 459 </p><dl>
460 <dt><i>parent</i></dt> 460 <dt><i>parent</i></dt>
461 <dd> 461 <dd>

eric ide

mercurial