diff options
author | Benjamin Poulain <benjamin.poulain@nokia.com> | 2009-10-02 17:11:55 (GMT) |
---|---|---|
committer | Benjamin Poulain <benjamin.poulain@nokia.com> | 2009-10-02 17:20:34 (GMT) |
commit | 31cddefea97be65cdcc0970c237418b5b8a8e1d5 (patch) | |
tree | a969bf0e24d05f31f53a9d9652969b8e5b083424 /demos/shared/hoverpoints.h | |
parent | e3fa7e2f0fd8f69d3de96af9ba0b868bd3ccc07c (diff) | |
download | Qt-31cddefea97be65cdcc0970c237418b5b8a8e1d5.zip Qt-31cddefea97be65cdcc0970c237418b5b8a8e1d5.tar.gz Qt-31cddefea97be65cdcc0970c237418b5b8a8e1d5.tar.bz2 |
Add multitouch capabilities to the shared classes of the demo
Add multitouch feature to the HoverPoints and the ArthurWidget.
Multitouch is enabled by default for widgets using HoverPoints. The
ArthurWidget propagate the TouchEvents in order to have them handled by
a parent if a parent accept the touch events.
Reviewed-by: Denis Dzyubenko
Reviewed-by: Pierre Rossi
Diffstat (limited to 'demos/shared/hoverpoints.h')
-rw-r--r-- | demos/shared/hoverpoints.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/shared/hoverpoints.h b/demos/shared/hoverpoints.h index 8f6e1b8..23ac8c1 100644 --- a/demos/shared/hoverpoints.h +++ b/demos/shared/hoverpoints.h @@ -133,6 +133,8 @@ private: bool m_editable; bool m_enabled; + QHash<int, int> m_fingerPointMapping; + QPen m_pointPen; QBrush m_pointBrush; QPen m_connectionPen; |