• PySide 模块
  • PySide.QtGui
  • 内容表

    上一话题

    QTapAndHoldGesture

    下一话题

    QSwipeGesture

    QTapGesture

    注意

    该类在 Qt4.6 引入

    概要

    函数

    详细描述

    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 文档。

    class PySide.QtGui. QTapGesture ( [ parent=None ] )
    参数: parent PySide.QtCore.QObject
    PySide.QtGui.QTapGesture. position ( )
    返回类型: PySide.QtCore.QPointF

    This property holds the position of the tap.

    PySide.QtGui.QTapGesture. setPosition ( pos )
    参数: pos PySide.QtCore.QPointF

    This property holds the position of the tap.