![]() |
Home · All Classes · Overviews |
The QPanGesture class represents a Pan gesture, providing additional information related to panning. More...
#include <QPanGesture>
Inherits QGesture.
This class was introduced in Qt 4.6.
| QPanGesture ( QWidget * gestureTarget, QObject * parent = 0 ) | |
| QSizeF | lastOffset () const |
| QSizeF | offset () const |
| QSizeF | totalOffset () const |
The QPanGesture class represents a Pan gesture, providing additional information related to panning.
Specifies a pan offset the last time the gesture was triggered.
Access functions:
| QSizeF | lastOffset () const |
Specifies the current pan offset since the last time the gesture was triggered.
Access functions:
| QSizeF | offset () const |
Specifies a total pan offset since the start of the gesture.
Access functions:
| QSizeF | totalOffset () const |
Creates a new pan gesture handler object and marks it as a child of parent. The pan gesture handler watches gestureTarget for its events.
On some platform like Windows it's necessary to provide a non-null widget as parent to get native gesture support.
| Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) | Trademarks | Qt 4.6.0-tp1 |