ZoomPanHandler QML Type

Pinch/drag handling for graph or image zoom/pan interactions. More...

Import Statement: import QuickGraphLib
Inherits:

PinchArea

Properties

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).


minScale : size

Minimum zoom (separate X/Y zoom limits can be set with the width/height of size).


viewTransform : matrix4x4 [read-only]

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.