QSwipeGesture Class ReferenceThe QSwipeGesture class describes a swipe gesture made by the user. More... #include <QSwipeGesture> Inherits QGesture. This class was introduced in Qt 4.6. Public Types
Properties
Public Functions
Additional Inherited Members
Detailed DescriptionThe 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. See also QPanGesture and QPinchGesture. Member Type Documentationenum QSwipeGesture::SwipeDirectionThis enum describes the possible directions for the gesture's motion along the horizontal and vertical axes.
Property DocumentationhorizontalDirection : const SwipeDirectionThis property holds the horizontal direction of the gesture. If the gesture has a horizontal component, the horizontal direction is either Left or Right; otherwise, it is NoDirection. Access functions:
See also verticalDirection and swipeAngle. swipeAngle : qrealThis property holds the angle of the motion associated with the gesture. If the gesture has either a horizontal or vertical component, the swipe angle describes the angle between the direction of motion and the x-axis as defined using the standard widget coordinate system. Access functions:
See also horizontalDirection and verticalDirection. verticalDirection : const SwipeDirectionThis property holds the vertical direction of the gesture. If the gesture has a vertical component, the vertical direction is either Up or Down; otherwise, it is NoDirection. Access functions:
See also horizontalDirection and swipeAngle. X
|
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |