Module implementing a base class for showing a document map.
None |
E5MapWidget | Class implementing a base class for showing a document map. |
None |
Class implementing a base class for showing a document map.
None |
None |
E5MapWidget | Constructor |
__generateSliderRange | Private method to generate the slider rectangle. |
__setSliderColor | Private method to set the slider color depending upon the background color. |
__updateMasterViewportWidth | Private method to update the master's viewport width. |
_paintIt | Protected method for painting the widget's indicators. |
backgroundColor | Public method to get the background color. |
calculateGeometry | Public method to recalculate the map widget's geometry. |
generateIndicatorRect | Public method to generate an indicator rectangle. |
isEnabled | Public method to check the enabled state. |
isOnRightSide | Public method to test, if the map is shown on the right side of the master widget. |
lineDimensions | Public method to get the line (indicator) dimensions. |
mouseMoveEvent | Protected method to handle a mouse moves. |
mousePressEvent | Protected method to handle a mouse button press. |
paintEvent | Protected method to handle a paint event. |
position2Value | Public method to convert a position into a scrollbar value. |
scaleFactor | Public method to determine the scrollbar's scale factor. |
setBackgroundColor | Public method to set the widget background color. |
setEnabled | Public method to set the enabled state. |
setLineDimensions | Public method to set the line (indicator) dimensions. |
setMapPosition | Public method to set, whether the map should be shown to the right or left of the master widget. |
setMaster | Public method to set the map master widget. |
setWidth | Public method to set the widget width. |
sizeHint | Public method to give an indication about the preferred size. |
value2Position | Public method to convert a scrollbar value into a position. |
wheelEvent | Protected slot handling mouse wheel events. |
width | Public method to get the widget's width. |
None |
Constructor
Private method to generate the slider rectangle.
Private method to set the slider color depending upon the background color.
Private method to update the master's viewport width.
Protected method for painting the widget's indicators.
Note: This method should be implemented by subclasses.
Public method to get the background color.
Public method to recalculate the map widget's geometry.
Public method to generate an indicator rectangle.
Public method to check the enabled state.
Public method to test, if the map is shown on the right side of the master widget.
Public method to get the line (indicator) dimensions.
Protected method to handle a mouse moves.
Protected method to handle a mouse button press.
Protected method to handle a paint event.
Public method to convert a position into a scrollbar value.
Public method to determine the scrollbar's scale factor.
Public method to set the widget background color.
Public method to set the enabled state.
Public method to set the line (indicator) dimensions.
Public method to set, whether the map should be shown to the right or left of the master widget.
Public method to set the map master widget.
Public method to set the widget width.
Public method to give an indication about the preferred size.
Public method to convert a scrollbar value into a position.
Protected slot handling mouse wheel events.
Public method to get the widget's width.