QTapGesture

The QTapGesture class describes a tap gesture made by the user. More

Inheritance diagram of PySide2.QtWidgets.QTapGesture

New in version 4.6.

Synopsis

Functions

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.

class PySide2.QtWidgets.QTapGesture([parent=None])
Parameters

parentPySide2.QtCore.QObject

PySide2.QtWidgets.QTapGesture.position()
Return type

PySide2.QtCore.QPointF

This property holds the position of the tap.

PySide2.QtWidgets.QTapGesture.setPosition(pos)
Parameters

posPySide2.QtCore.QPointF

This property holds the position of the tap.