QPanGesture

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

Inheritance diagram of PySide6.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 PySide6.QtWidgets.QPanGesture([parent=None])
Parameters

parentPySide6.QtCore.QObject

PySide6.QtWidgets.QPanGesture.acceleration()
Return type

float

PySide6.QtWidgets.QPanGesture.delta()
Return type

PySide6.QtCore.QPointF

PySide6.QtWidgets.QPanGesture.lastOffset()
Return type

PySide6.QtCore.QPointF

See also

setLastOffset()

PySide6.QtWidgets.QPanGesture.offset()
Return type

PySide6.QtCore.QPointF

See also

setOffset()

PySide6.QtWidgets.QPanGesture.setAcceleration(value)
Parameters

value – float

See also

acceleration()

PySide6.QtWidgets.QPanGesture.setLastOffset(value)
Parameters

valuePySide6.QtCore.QPointF

See also

lastOffset()

PySide6.QtWidgets.QPanGesture.setOffset(value)
Parameters

valuePySide6.QtCore.QPointF

See also

offset()