qt5base-lts/tests/manual/widgets
Thorbjørn Lund Martsum 9cf56b3e09 QGraphicsView - fix rubberband to expand on wheel event
In SHA 51914375b6 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>
2012-12-11 13:37:57 +01:00
..
itemviews QHeaderView: - avoid cursor move on setDefaultSectionSize 2012-11-25 08:29:39 +01:00
qgraphicsview/rubberband QGraphicsView - fix rubberband to expand on wheel event 2012-12-11 13:37:57 +01:00