QTapGesture#
The QTapGesture
class describes a tap gesture made by the user. More…
New in version 4.6.
Synopsis#
Properties#
position
- The position of the tap
Functions#
def
position
()def
setPosition
(pos)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
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
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtWidgets.QTapGesture.position: PySide6.QtCore.QPointF#
This property holds the position of the tap.
- Access functions:
position
()setPosition
(pos)
- PySide6.QtWidgets.QTapGesture.position()#
- Return type:
See also
Getter of property position
.
- PySide6.QtWidgets.QTapGesture.setPosition(pos)#
- Parameters:
pos –
PySide6.QtCore.QPointF
See also
Setter of property position
.