diff options
author | Martin Jones <martin.jones@nokia.com> | 2012-07-03 13:57:54 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-04 10:12:10 +0200 |
commit | 6a013bf73b27f112bc7cff04225b92d893804b29 (patch) | |
tree | a9f9264c6470731398a27fef83e6c924f80809f0 /src/quick/items/qquickpathview_p_p.h | |
parent | b9c039b3ac76d20ffe2d05259d5406b7c1bac25d (diff) |
PathView needs drag events similar to Flickable
Added dragging property and dragStarted() and dragEnded() signals.
Task-number: QTBUG-21740
Change-Id: I718835ff7e46af615951ec5f248eba41bac31071
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Diffstat (limited to 'src/quick/items/qquickpathview_p_p.h')
-rw-r--r-- | src/quick/items/qquickpathview_p_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/quick/items/qquickpathview_p_p.h b/src/quick/items/qquickpathview_p_p.h index 3285b40036..2a547d9b47 100644 --- a/src/quick/items/qquickpathview_p_p.h +++ b/src/quick/items/qquickpathview_p_p.h @@ -127,6 +127,7 @@ public: void addVelocitySample(qreal v); qreal calcVelocity() const; qint64 computeCurrentTime(QInputEvent *event); + void setDragging(bool d); QQuickPath *path; int currentIndex; @@ -146,6 +147,7 @@ public: bool layoutScheduled : 1; bool moving : 1; bool flicking : 1; + bool dragging : 1; bool requestedOnPath : 1; bool inRequest : 1; QElapsedTimer timer; |