PythonQt.Qt.QTouchEvent__TouchPoint · declarations 002
Back to PythonQt.Qt.QTouchEvent__TouchPoint
state
state() -> Any
X.state()
Supplemental documentation: Qt 5 reference:
Qt::TouchPointState TouchPoint::state() const
Returns the current state of this touch point.
Source: https://doc.qt.io/archives/qt-5.15/qtouchevent-touchpoint.html#state
velocity
velocity() -> Any
X.velocity() -> PythonQt.QtGui.QVector2D
Supplemental documentation: Qt 5 reference:
QVector2D TouchPoint::velocity() const
Returns a velocity vector for this touch point. The vector is in the screen's coordinate system, using pixels per seconds for the magnitude.
Note: The returned vector is only valid if the touch device's capabilities include QTouchDevice::Velocity.
See also QTouchDevice::capabilities() and device().
Source: https://doc.qt.io/archives/qt-5.15/qtouchevent-touchpoint.html#velocity