Module implementing a zoom widget for the status bar.
None |
E5ZoomWidget | Class implementing a zoom widget for the status bar. |
None |
Class implementing a zoom widget for the status bar.
None |
None |
E5ZoomWidget | Constructor |
__indexForValue | Private method to get the nearest index for a given value. |
__setValueLabelWidth | Private slot to determine the width of the zoom value label. |
__zoomIn | Private slot to zoom in one step. |
__zoomOut | Private slot to zoom out one step. |
__zoomReset | Private slot to reset the value. |
_sliderValueChanged | Protected slot to handle changes of the slider value. |
default | Public method to get the default zoom value. |
isMapped | Public method to check for a mapped zoom widget. |
isPercent | Public method to get the percent mode. |
mapping | Public method to get the current mapping. |
maximum | Public method to get the maximum value. |
minimum | Public method to get the minimum value. |
on_slider_sliderMoved | Private slot to handle changes of the zoom value. |
pageStep | Public method to get the page step value. |
setDefault | Public method to set the default zoom value. |
setMapping | Public method to set a zoom level mapping. |
setMaximum | Public method to set the maximum value. |
setMinimum | Public method to set the minimum value. |
setPageStep | Public method to set the page step value. |
setPercent | Public method to set the percent mode of the widget. |
setSingleStep | Public method to set the single step value. |
setValue | Public slot to set the value. |
singleStep | Public method to get the single step value. |
value | Public method to get the current value. |
None |
Constructor
Private method to get the nearest index for a given value.
Private slot to determine the width of the zoom value label.
Private slot to zoom in one step.
Private slot to zoom out one step.
Private slot to reset the value.
Protected slot to handle changes of the slider value.
Public method to get the default zoom value.
Public method to check for a mapped zoom widget.
Public method to get the percent mode.
Public method to get the current mapping.
Public method to get the maximum value.
Public method to get the minimum value.
Private slot to handle changes of the zoom value.
Public method to get the page step value.
Public method to set the default zoom value.
Public method to set a zoom level mapping.
When zoom level mapping is activated, the slider covers values from 0 to the max. index of the mapping list. The default value is the value of the default zoom level. If percent is given, the zoom level is shown as a percent value.
Public method to set the maximum value.
Public method to set the minimum value.
Public method to set the page step value.
Public method to set the percent mode of the widget.
Public method to set the single step value.
Public slot to set the value.
Public method to get the single step value.
Public method to get the current value.