qt5base-lts/tests/manual/widgets/qgraphicsview/rubberband/rubberbandtest.pro
Thorbjørn Lund Martsum 51914375b6 QGraphicsView - fix rubberband to stay right on scroll
We should consider the scene-position when we are expanding
moving a rubberband. If the user does some auto-scroll
(Qt should support that itself, but that is another matter)
then the rubberband should not keep the (old) local position
to calculate the rubberband extension, but instead use the
scene-position that was actually clicked.

Change-Id: I04a2df6a1edae8b3587e1ac2104c7fe4ccfb7762
Reviewed-by: Andy Shaw <andy.shaw@digia.com>
Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2012-12-01 08:28:43 +01:00

5 lines
119 B
Prolog

TEMPLATE = app
SOURCES = rubberbandtest.cpp
QT += gui widgets # core-private
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0