QTapGesture¶
The QTapGesture
class describes a tap gesture made by the user. More…
New in version 4.6.
Synopsis¶
Functions¶
def
position
()def
setPosition
(pos)
Detailed Description¶
For an overview of gesture handling in Qt and information on using gestures in your applications, see the Gestures in Widgets and Graphics View document.
See also
- class PySide6.QtWidgets.QTapGesture([parent=None])¶
- Parameters
parent –
PySide6.QtCore.QObject
- PySide6.QtWidgets.QTapGesture.position()¶
- Return type
This property holds the position of the tap.
- PySide6.QtWidgets.QTapGesture.setPosition(pos)¶
- Parameters
pos –
PySide6.QtCore.QPointF
This property holds the position of the tap.