summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorGeir Vattekar <geir.vattekar@trolltech.com>2009-08-27 14:05:10 (GMT)
committerGeir Vattekar <geir.vattekar@trolltech.com>2009-08-27 14:10:38 (GMT)
commitdd9499f786432687aada7c41d2073869d56f0b59 (patch)
tree2c70b736ed95475a8de191386deb0af0fc3ba10b /src/gui
parent74dfe3e87c6a126e090a86b918f383e4bba9cb5a (diff)
downloadQt-dd9499f786432687aada7c41d2073869d56f0b59.zip
Qt-dd9499f786432687aada7c41d2073869d56f0b59.tar.gz
Qt-dd9499f786432687aada7c41d2073869d56f0b59.tar.bz2
Doc: Explained how mouse events are handled by QGraphicsView.
Task-number: 259924 Reviewed-by: Andreas Aardal Hanssen
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/graphicsview/qgraphicssceneevent.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/graphicsview/qgraphicssceneevent.cpp b/src/gui/graphicsview/qgraphicssceneevent.cpp
index 3ec14c3..afcc4e1 100644
--- a/src/gui/graphicsview/qgraphicssceneevent.cpp
+++ b/src/gui/graphicsview/qgraphicssceneevent.cpp
@@ -87,9 +87,11 @@
\since 4.2
\ingroup graphicsview-api
- When a QGraphicsView receives a QMouseEvent, it translates it to
- a QGraphicsSceneMouseEvent. The event is then forwarded to the
- QGraphicsScene associated with the view.
+ When a QGraphicsView receives a QMouseEvent, it translates it to a
+ QGraphicsSceneMouseEvent. The event is then forwarded to the
+ QGraphicsScene associated with the view. If the event is not
+ handled by the scene, the view may use it, e.g., for the
+ \l{QGraphicsView::}{DragMode}.
In addition to containing the item, scene, and screen coordinates
of the event (as pos(), scenePos(), and screenPos()), mouse