QPanGesture Class Reference

[ QtGui module]

The QPanGesture class describes a panning gesture made by the user. 更多...

继承 QGesture .

方法


详细描述

The QPanGesture class describes a panning 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 文档。


方法文档编制

QPanGesture.__init__ ( self , QObject   parent  = None)

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

float QPanGesture.acceleration ( self )

QPointF QPanGesture.delta ( self )

QPointF QPanGesture.lastOffset ( self )

QPointF QPanGesture.offset ( self )

QPanGesture.setAcceleration ( self , float  value )

QPanGesture.setLastOffset ( self , QPointF   value )

QPanGesture.setOffset ( self , QPointF   value )