Table Of Contents

Previous topic

QTapAndHoldGesture

Next topic

QSwipeGesture

QTapGesture

Inheritance diagram of QTapGesture

Note

This class was introduced in Qt 4.6

Synopsis

Functions

Detailed Description

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

For an overview of gesture handling in Qt and information on using gestures in your applications, see the Gestures Programming document.

class PySide.QtGui.QTapGesture([parent=None])
Parameters:parentPySide.QtCore.QObject
PySide.QtGui.QTapGesture.position()
Return type:PySide.QtCore.QPointF

This property holds the position of the tap.

PySide.QtGui.QTapGesture.setPosition(pos)
Parameters:posPySide.QtCore.QPointF

This property holds the position of the tap.