qt5base-lts/tests/auto/widgets/graphicsview
Andreas Aardal Hanssen 8fce4e97ba Fix double transform for items ignoring parent transformations.
Previously, the topmost untransformable's scene transform, which
includes the item's position and local transformation, was used to
determine the item's anchoring position. This position was then
passed on to be multiplied by the item's transform again. This
works fine for toplevel untransformable items that don't have any
transform set at all, but those who do would have their transforms
applied twice - one to determine the anchoring position, and again
to transform the item itself. Since only translation transformations
can affect the first operation (the anchoring pos), this bug only
applies to items that set ItemIgnoresTransformations and use a
local transform that includes translation.

Task-number: QTBUG-21618
Change-Id: I772d52d59dfd9f242d0140632a87e9c68dfe0ea1
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
2013-08-05 20:15:53 +02:00
..
qgraphicsanchorlayout QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicsanchorlayout1 QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicseffectsource QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicsgridlayout Made sure items with preferred width of 0 could also stretch 2013-05-27 12:38:53 +02:00
qgraphicsitem Fix double transform for items ignoring parent transformations. 2013-08-05 20:15:53 +02:00
qgraphicsitemanimation QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicslayout QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicslayoutitem QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicslinearlayout QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicsobject QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicspixmapitem QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicspolygonitem QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicsproxywidget Add QSKIP to hoverenter-test in tst_qgraphicsproxywidget. 2013-05-07 20:40:41 +02:00
qgraphicsscene Fix warnings about overloaded virtuals in tests (CLANG). 2013-03-12 09:16:42 +01:00
qgraphicssceneindex Make *ItemBoundingRect modes work with custom shapes. 2013-07-16 20:42:01 +02:00
qgraphicstransform QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
qgraphicsview Fix qgraphicsview autotest build for WEC7. 2013-04-17 19:49:18 +02:00
qgraphicswidget Stabilize QGraphicsWidget test. 2013-05-09 10:20:21 +02:00
graphicsview.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00