Mdule implementing the viewmanager navigation history related classes.
None |
NavigationHistory | Class implementing the navigation history controller. |
NavigationHistoryItem | Class defining the data structure of a navigation history entry. |
None |
Class implementing the navigation history controller.
None |
None |
NavigationHistory | Constructor |
__adjustHistorySize | Private method to adjust the size of the kept history. |
addItem | Public method to add an item to the history and make it the current one. |
back | Public slot to set the current item to be the previous one and move to that place. |
backItem | Public method to get the item before the current item. |
backItems | Public method to get the list of items in the backwards history list. |
canGoBack | Public method to check, if backward movement is possible. |
canGoForward | Public method to check, if forward movement is possible. |
clear | Public method to clear the history. |
count | Public method to get the total number of items in the history. |
currentItem | Public method to get the current item. |
forward | Public slot to set the current item to be the next one and move to that place. |
forwardItem | Public method to get the item after the current item. |
forwardItems | Public method to get the list of items in the forwards history list. |
goToItem | Public method to set the current item to the specified item in the history and go to that location. |
items | Public method to get the list of items currently in the history. |
recordPosition | Public slot to record the given position. |
setMaximumSize | Public method to set the maximum number of entries to be kept. |
setMinimumLineOffset | Public method to set minimum line offset to record a new entry. |
None |
Constructor
Private method to adjust the size of the kept history.
Public method to add an item to the history and make it the current one.
This method clears the forward history list. If the given item is already the current item, the addition and clearing is skipped.
Public slot to set the current item to be the previous one and move to that place.
Public method to get the item before the current item.
Public method to get the list of items in the backwards history list.
Public method to check, if backward movement is possible.
Public method to check, if forward movement is possible.
Public method to clear the history.
Public method to get the total number of items in the history.
Public method to get the current item.
Public slot to set the current item to be the next one and move to that place.
Public method to get the item after the current item.
Public method to get the list of items in the forwards history list.
Public method to set the current item to the specified item in the history and go to that location.
Public method to get the list of items currently in the history.
Public slot to record the given position.
This method records the given filename and line number with the history, if that is not already the current position. Recording a new position will clear the forward history list. Given positions will only be recorded, if the filename is different to the current one or the line number is different by a configurable offset (default 10).
Public method to set the maximum number of entries to be kept.
Public method to set minimum line offset to record a new entry.
Class defining the data structure of a navigation history entry.
filename |
linenumber |
None |
None |
None |