|Home · All Classes · Modules|
The QSwipeGesture class describes a swipe gesture made by the user. More...
The QSwipeGesture class describes a swipe 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 document.
This enum describes the possible directions for the gesture's motion along the horizontal and vertical axes.
|QSwipeGesture.NoDirection||0||The gesture had no motion associated with it on a particular axis.|
|QSwipeGesture.Left||1||The gesture involved a horizontal motion to the left.|
|QSwipeGesture.Right||2||The gesture involved a horizontal motion to the right.|
|QSwipeGesture.Up||3||The gesture involved an upward vertical motion.|
|QSwipeGesture.Down||4||The gesture involved a downward vertical motion.|
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.