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.
maxScale : size |
Maximum zoom (separate X/Y zoom limits can be set with the width/height of size).
Zooming on a particular axis can be disabled by setting the maximum scale for that axis to 1 (provided the minimum scale for that axis is left at its default of 1).
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.