Note
This class was introduced in Qt 4.6
The PySide.QtGui.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.
Parameters: | parent – PySide.QtCore.QObject |
---|
Return type: | PySide.QtCore.qreal |
---|
This property holds the acceleration in the motion of the touch point for this gesture.
Return type: | PySide.QtCore.QPointF |
---|
This property holds the offset from the previous input position to the current input.
This is essentially the same as the difference between PySide.QtGui.QPanGesture.offset() and PySide.QtGui.QPanGesture.lastOffset() .
Return type: | PySide.QtCore.QPointF |
---|
This property holds the last offset recorded for this gesture.
The last offset contains the change in position of the user’s input as reported in the PySide.QtGui.QPanGesture.offset() property when a previous gesture event was delivered for this gesture.
If no previous event was delivered with information about this gesture (i.e., this gesture object contains information about the first movement in the gesture) then this property contains a zero size.
Return type: | PySide.QtCore.QPointF |
---|
This property holds the total offset from the first input position to the current input position.
The offset measures the total change in position of the user’s input covered by the gesture on the input device.
Parameters: | value – PySide.QtCore.qreal |
---|
This property holds the acceleration in the motion of the touch point for this gesture.
Parameters: | value – PySide.QtCore.QPointF |
---|
This property holds the last offset recorded for this gesture.
The last offset contains the change in position of the user’s input as reported in the PySide.QtGui.QPanGesture.offset() property when a previous gesture event was delivered for this gesture.
If no previous event was delivered with information about this gesture (i.e., this gesture object contains information about the first movement in the gesture) then this property contains a zero size.
Parameters: | value – PySide.QtCore.QPointF |
---|
This property holds the total offset from the first input position to the current input position.
The offset measures the total change in position of the user’s input covered by the gesture on the input device.