内容表

上一话题

QTapAndHoldGesture

下一话题

QTextBrowser

QTapGesture

QTapGesture class describes a tap gesture made by the user. 更多

Inheritance diagram of PySide2.QtWidgets.QTapGesture

4.6 版新增。

概要

函数

详细描述

For an overview of gesture handling in Qt and information on using gestures in your applications, see the 在 Widget 和图形视图中的手势 文档。

class QTapGesture ( [ parent=None ] )
参数

parent QObject

PySide2.QtWidgets.QTapGesture. position ( )
返回类型

QPointF

另请参阅

setPosition()

PySide2.QtWidgets.QTapGesture. setPosition ( pos )
参数

pos QPointF

另请参阅

position()