diff options
author | Thorbjørn Lund Martsum <tmartsum@gmail.com> | 2012-12-02 17:04:47 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-11 13:37:57 +0100 |
commit | 9cf56b3e09114f65f23bb4a8062d632df94b8a04 (patch) | |
tree | ee80ded6f062a1339a180d2e7d108f3e199b160c /doc/global/template | |
parent | d0a6d6a21516ff8b300ad1181625005b60982f75 (diff) |
QGraphicsView - fix rubberband to expand on wheel event
In SHA 51914375b615ddcac711171ac31779fea01b4323 the rubberband
selection was fixed, so it followed the scene-point on mousemove.
However wheelEvent could move the view - but avoid update of the
rubberband (that would not be updated until next mouse-move).
This patch fixes that (and generally improves rubberband behavior)
since QGraphicsViewPrivate::mouseMoveEventHandler is called by
replayLastMouseEvent, which is called from various places,
where we need to update the rubberband (e.g scrollContentsBy).
Change-Id: I1b78c27edaaecea797a2319086d7a11d437d2bd3
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'doc/global/template')
0 files changed, 0 insertions, 0 deletions