summaryrefslogtreecommitdiff
path: root/src/gui/kernel/qgesture.cpp
diff options
context:
space:
mode:
authorThomas Zander <thomas.zander@trolltech.com>2009-10-19 19:11:19 +0200
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-10-22 16:59:19 +0200
commit0f1f53414de3e7d1b62149ee42a334c6f2d01f78 (patch)
tree31594cd62f1224ba5d59896fa28c68f960cb8ef4 /src/gui/kernel/qgesture.cpp
parent75599a71e957cae29ddd4d3df9e89d9d4edc0b3d (diff)
downloadqt4-tools-0f1f53414de3e7d1b62149ee42a334c6f2d01f78.tar.gz
Add QGestureEvent::mapToScene for better graphicsView integration
Diffstat (limited to 'src/gui/kernel/qgesture.cpp')
-rw-r--r--src/gui/kernel/qgesture.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qgesture.cpp b/src/gui/kernel/qgesture.cpp
index e48fd8e3d7..f044c09187 100644
--- a/src/gui/kernel/qgesture.cpp
+++ b/src/gui/kernel/qgesture.cpp
@@ -129,6 +129,10 @@ QGesture::~QGesture()
\brief The point that is used to find the receiver for the gesture event.
+ The hot-spot is a point in the global coordinate system, use
+ QWidget::mapFromGlobal() or QGestureEvent::mapToScene() to get a
+ local hot-spot.
+
If the hot-spot is not set, the targetObject is used as the receiver of the
gesture event.
*/