PythonQt.QtGui.QPanGesture · declarations 001
Back to PythonQt.QtGui.QPanGesture
acceleration
instance-attribute
acceleration: float
Qt 5 reference:
acceleration : qreal
This property holds the acceleration in the motion of the touch point for this gesture
Access functions:
| qreal | acceleration() const |
|---|---|
| void | setAcceleration(qreal value) |
Source: https://doc.qt.io/archives/qt-5.15/qpangesture.html#acceleration
delta
instance-attribute
delta: QPointF
Qt 5 reference:
delta : const QPointF
This property holds the offset from the previous input position to the current input
This is essentially the same as the difference between offset() and lastOffset().
Access functions:
| QPointF | delta() const |
|---|---|
Source: https://doc.qt.io/archives/qt-5.15/qpangesture.html#delta
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QPanGesture.destroyed; argument details are not documented.
gestureCancelPolicy
instance-attribute
gestureCancelPolicy: Any
gestureType
instance-attribute
gestureType: Any
hasHotSpot
instance-attribute
hasHotSpot: Any
horizontalVelocity
instance-attribute
horizontalVelocity: Any
hotSpot
instance-attribute
hotSpot: QPointF
lastOffset
instance-attribute
lastOffset: QPointF
Qt 5 reference:
lastOffset : 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 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.
Access functions:
| QPointF | lastOffset() const |
|---|---|
| void | setLastOffset(const QPointF \&value) |
Source: https://doc.qt.io/archives/qt-5.15/qpangesture.html#lastOffset
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QPanGesture.objectNameChanged; argument details are not documented.
offset
instance-attribute
offset: QPointF
Qt 5 reference:
offset : 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.
Access functions:
| QPointF | offset() const |
|---|---|
| void | setOffset(const QPointF \&value) |
Source: https://doc.qt.io/archives/qt-5.15/qpangesture.html#offset
setAcceleration
setAcceleration(value: float) -> None
X.setAcceleration(value)
Upstream PySide2 reference signatures (binding differences may apply):
setAcceleration(self, value: float) -> None
Source: https://doc.qt.io/archives/qt-5.15/qpangesture.html#setAcceleration
setGestureCancelPolicy
setGestureCancelPolicy(policy: Any) -> Any
X.setGestureCancelPolicy(policy)
setHotSpot
setHotSpot(value: Any) -> Any
X.setHotSpot(value)
setLastOffset
setLastOffset(value: Any) -> None
X.setLastOffset(value)
Upstream PySide2 reference signatures (binding differences may apply):
setLastOffset(self, value: PySide2.QtCore.QPointF) -> None
Source: https://doc.qt.io/archives/qt-5.15/qpangesture.html#setLastOffset
setOffset
setOffset(value: Any) -> None
X.setOffset(value)
Upstream PySide2 reference signatures (binding differences may apply):
setOffset(self, value: PySide2.QtCore.QPointF) -> None
Source: https://doc.qt.io/archives/qt-5.15/qpangesture.html#setOffset
unsetHotSpot
unsetHotSpot() -> Any
X.unsetHotSpot()
verticalVelocity
instance-attribute
verticalVelocity: Any