QPanGesture Class Reference
|
qreal | acceleration () const |
QPointF | delta () const |
QPointF | lastOffset () const |
QPointF | offset () const |
void | setAcceleration ( qreal value ) |
void | setLastOffset ( const QPointF & value ) |
void | setOffset ( const QPointF & value ) |
The QPanGesture class describes a panning gesture made by the user.
See also Gestures Programming, QPinchGesture, and QSwipeGesture.
Функции доступа:
qreal | acceleration () const |
void | setAcceleration ( qreal value ) |
This property holds the offset from the previous input position to the current input.
This is essentially the same as the difference between offset() and lastOffset().
Функции доступа:
QPointF | delta () const |
This property holds the last offset recorded for this gesture.
The last offset contains the change in position of the user's input as reported in the offset property when a previous gesture event was delivered for this gesture.
If no previous event was delivered with information about this gesture (i.e., this gesture object contains information about the first movement in the gesture) then this property contains a zero size.
Функции доступа:
QPointF | lastOffset () const |
void | setLastOffset ( const QPointF & value ) |
This property holds the total offset from the first input position to the current input position.
The offset measures the total change in position of the user's input covered by the gesture on the input device.
Функции доступа:
QPointF | offset () const |
void | setOffset ( const QPointF & value ) |
Авторские права © 2010 Nokia Corporation и/или её дочерние компании | Торговые марки | Qt 4.6.4 |
Попытка перевода Qt документации. Если есть желание присоединиться, или если есть замечания или пожелания, то заходите на форум: Перевод Qt документации на русский язык... Люди внесшие вклад в перевод: Команда переводчиков |