Home · All Classes · Modules

QPanGesture Class Reference
[QtGui module]

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

Inherits QGesture.

Methods


Detailed Description

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

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


Method Documentation

QPanGesture.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

float QPanGesture.acceleration (self)

QPointF QPanGesture.delta (self)

QPointF QPanGesture.lastOffset (self)

QPointF QPanGesture.offset (self)

QPanGesture.setAcceleration (self, float value)

QPanGesture.setLastOffset (self, QPointF value)

QPanGesture.setOffset (self, QPointF value)


PyQt 4.12 for X11Copyright © Riverbank Computing Ltd and The Qt Company 2015Qt 4.8.7