![]() | Home · All Classes · Modules |
The QSwipeGesture class describes a swipe gesture made by the user. More...
Inherits QGesture.
The QSwipeGesture class describes a swipe gesture made by the user.
See also Gestures Programming, QPanGesture, and QPinchGesture.
This enum describes the possible directions for the gesture's motion along the horizontal and vertical axes.
Constant | Value | Description |
---|---|---|
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.
PyQt 4.7.3 for X11 | Copyright © Riverbank Computing Ltd and Nokia 2010 | Qt 4.6.2 |