Module implementing a special completer for the history.
None |
HistoryCompleter | Class implementing a completer for the browser history. |
HistoryCompletionModel | Class implementing a special model for history based completions. |
HistoryCompletionView | Class implementing a special completer view for history based completions. |
None |
Class implementing a completer for the browser history.
None |
None |
HistoryCompleter | Constructor |
__updateFilter | Private slot to update the search string. |
pathFromIndex | Public method to get a path for a given index. |
splitPath | Public method to split the given path into strings, that are used to match at each level in the model. |
None |
Constructor
Private slot to update the search string.
Public method to get a path for a given index.
Public method to split the given path into strings, that are used to match at each level in the model.
Class implementing a special model for history based completions.
HistoryCompletionRole |
None |
HistoryCompletionModel | Constructor |
data | Public method to get data from the model. |
filterAcceptsRow | Public method to determine, if the row is acceptable. |
isValid | Public method to check the model for validity. |
lessThan | Public method used to sort the displayed items. |
searchString | Public method to get the current search string. |
setSearchString | Public method to set the current search string. |
setValid | Public method to set the model's validity. |
None |
Constructor
Public method to get data from the model.
Public method to determine, if the row is acceptable.
Public method to check the model for validity.
Public method used to sort the displayed items.
It implements a special sorting function based on the history entry's frequency giving a bonus to hits that match on a word boundary so that e.g. "dot.python-projects.org" is a better result for typing "dot" than "slashdot.org". However, it only looks for the string in the host name, not the entire URL, since while it makes sense to e.g. give "www.phoronix.com" a bonus for "ph", it does NOT make sense to give "www.yadda.com/foo.php" the bonus.
Public method to get the current search string.
Public method to set the current search string.
Public method to set the model's validity.
Class implementing a special completer view for history based completions.
None |
None |
HistoryCompletionView | Constructor |
resizeEvent | Protected method handling resize events. |
sizeHintForRow | Public method to give a size hint for rows. |
None |
Constructor
Protected method handling resize events.
Public method to give a size hint for rows.