QPanGesture

The QPanGesture class describes a panning gesture made by the user. More

Inheritance diagram of PySide2.QtWidgets.QPanGesture

New in version 4.6.

Synopsis

Functions

Detailed Description

../../_images/pangesture.png

For an overview of gesture handling in Qt and information on using gestures in your applications, see the Gestures in Widgets and Graphics View document.

class QPanGesture([parent=None])
Parameters

parentQObject

PySide2.QtWidgets.QPanGesture.acceleration()
Return type

qreal

PySide2.QtWidgets.QPanGesture.delta()
Return type

QPointF

PySide2.QtWidgets.QPanGesture.lastOffset()
Return type

QPointF

See also

setLastOffset()

PySide2.QtWidgets.QPanGesture.offset()
Return type

QPointF

See also

setOffset()

PySide2.QtWidgets.QPanGesture.setAcceleration(value)
Parameters

valueqreal

See also

acceleration()

PySide2.QtWidgets.QPanGesture.setLastOffset(value)
Parameters

valueQPointF

See also

lastOffset()

PySide2.QtWidgets.QPanGesture.setOffset(value)
Parameters

valueQPointF

See also

offset()