QTapGesture Class Reference

[ QtGui module]

QTapGesture 类描述由用户做出的敲击手势。 更多...

继承 QGesture .

方法


详细描述

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


方法文档编制

QTapGesture.__init__ ( self , QObject   parent  = None)

parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QPointF QTapGesture.position ( self )

QTapGesture.setPosition ( self , QPointF   pos )