QTapGesture Class Reference

[QtGui module]

该QTapGesture类描述了点击手势用户所做的。More…

继承QGesture

Methods

  • __init__ (self, QObject parent = None)
  • QPointF position (self)
  • setPosition (self, QPointF pos)

Detailed Description

该QTapGesture类描述了点击手势用户所做的。

手势使用手势在你的应用程序在处理Qt和信息的概述,请参阅Gestures Programming文档。


Method Documentation

  1. QTapGesture.__init__ (self, QObject parent = None)

parent的说法,如果不是没有,原因self通过Qt的,而不是PyQt的拥有。

  1. QPointF QTapGesture.position (self)

[

  1. QTapGesture.setPosition (self, QPointF pos)

](qpointf.html)