Module implementing the history filter model.
None |
HistoryData | Class storing some history data. |
HistoryFilterModel | Class implementing the history filter model. |
None |
Class storing some history data.
None |
None |
HistoryData | Constructor |
__eq__ | Special method implementing equality. |
__lt__ | Special method determining less relation. |
None |
Constructor
Special method implementing equality.
Special method determining less relation.
Note: Like the actual history entries the index mapping is sorted in reverse order by offset
Class implementing the history filter model.
FrequencyRole |
MaxRole |
None |
HistoryFilterModel | Constructor |
__frequencyScore | Private method to calculate the frequency score. |
__load | Private method to load the model data. |
__sourceDataChanged | Private slot to handle the change of data of the source model. |
__sourceReset | Private slot to handle a reset of the source model. |
__sourceRowsInserted | Private slot to handle the insertion of data in the source model. |
__sourceRowsRemoved | Private slot to handle the removal of data in the source model. |
columnCount | Public method to get the number of columns. |
data | Public method to get data from the model. |
headerData | Public method to get the header data. |
historyContains | Public method to check the history for an entry. |
historyLocation | Public method to get the row number of an entry in the source model. |
index | Public method to create an index. |
mapFromSource | Public method to map an index to the proxy model index. |
mapToSource | Public method to map an index to the source model index. |
parent | Public method to get the parent index. |
recalculateFrequencies | Public method to recalculate the frequencies. |
removeRows | Public method to remove entries from the model. |
rowCount | Public method to determine the number of rows. |
setSourceModel | Public method to set the source model. |
None |
Constructor
Private method to calculate the frequency score.
Private method to load the model data.
Private slot to handle the change of data of the source model.
Private slot to handle a reset of the source model.
Private slot to handle the insertion of data in the source model.
Private slot to handle the removal of data in the source model.
Public method to get the number of columns.
Public method to get data from the model.
Public method to get the header data.
Public method to check the history for an entry.
Public method to get the row number of an entry in the source model.
Public method to create an index.
Public method to map an index to the proxy model index.
Public method to map an index to the source model index.
Public method to get the parent index.
Public method to recalculate the frequencies.
Public method to remove entries from the model.
Public method to determine the number of rows.
Public method to set the source model.