ZoomPanHandler QML Type
Pinch/drag handling for graph or image zoom/pan interactions. More...
Import Statement: | import QuickGraphLib |
Inherits: |
Properties
- baseTransform : matrix4x4
- limitMovement : bool
- maxScale : size
- minScale : size
- viewTransform : matrix4x4
- wheelZoomFactor : double
Detailed Description
See also Zoomable as image and Zoomable axes.
Property Documentation
baseTransform : matrix4x4 |
The view transform, but in a pixel-independent form.
See also GraphArea::baseTransformFromRect.
limitMovement : bool |
When set to true, translations will not be able to leave the original viewRect of the GraphArea.
viewTransform : matrix4x4 |
The current view transform. This can be assigned to GraphArea::viewTransform.
wheelZoomFactor : double |
The amount to zoom in by for 15 degrees of mouse wheel movement.
See also QWheelEvent::angleDelta.