PythonQt.QtGui.QTapAndHoldGesture · declarations 001
Back to PythonQt.QtGui.QTapAndHoldGesture
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTapAndHoldGesture.destroyed; argument details are not documented.
objectNameChanged
objectNameChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTapAndHoldGesture.objectNameChanged; argument details are not documented.
position
instance-attribute
position: QPointF
Qt 5 reference:
position : QPointF
This property holds the position of the tap
Access functions:
| QPointF | position() const |
|---|---|
| void | setPosition(const QPointF \&pos) |
Source: https://doc.qt.io/archives/qt-5.15/qtapandholdgesture.html#position
setPosition
setPosition(pos: Any) -> None
X.setPosition(pos)
Upstream PySide2 reference signatures (binding differences may apply):
setPosition(self, pos: PySide2.QtCore.QPointF) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtapandholdgesture.html#setPosition
setTimeout
setTimeout(msecs: int) -> None
X.setTimeout(msecs)
Supplemental documentation: Qt 5 reference:
[static] void QTapAndHoldGesture::setTimeout(int msecs)
Set the timeout, in milliseconds, before the gesture triggers.
The recognizer will detect a touch down and if msecs later the touch is still down, it will trigger the QTapAndHoldGesture. The default value is 700 milliseconds.
See also timeout().
Upstream PySide2 reference signatures (binding differences may apply):
setTimeout(msecs: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtapandholdgesture.html#setTimeout
timeout
timeout() -> int
X.timeout() -> int
Supplemental documentation: Qt 5 reference:
[static] int QTapAndHoldGesture::timeout()
Gets the timeout, in milliseconds, before the gesture triggers.
The recognizer will detect a touch down and if timeout() later the touch is still down, it will trigger the QTapAndHoldGesture. The default value is 700 milliseconds.
See also setTimeout().
Upstream PySide2 reference signatures (binding differences may apply):
timeout() -> int
Source: https://doc.qt.io/archives/qt-5.15/qtapandholdgesture.html#timeout