summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/statemachine
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2015-12-22 17:15:57 +0100
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>2016-01-05 08:18:18 +0000
commit38c8af7231823429ca6cb9ea6418e2dcef3691a0 (patch)
tree51ff210dadd4af1dd4c6260cece6e89830fdf741 /tests/auto/corelib/statemachine
parent4829edfa4ec4829c25246c46d3fcf236e6e59657 (diff)
Revert "Fix global coordinate mapping for child widgets in QGraphicsView."
This reverts commit 56aad2ad6074237537fecf10d0cda0f3872e7f71. QWidget::mapFromGlobal() does not work correctly when the widget is a child widget of another widget embedded into a QGraphicsView with a transformation (scaling/rotation). It starts applying offsets going up the widget tree (just as mapToGlobal) until it hits the embedded widget not taking into account the transformation. It would need to go in from to top to bottom or better be reimplemented such that a QTransform for mapping coordinates from/to global is determined which is then applied in reverse. Task-number: QTBUG-50030 Task-number: QTBUG-50136 Change-Id: Iadeb891d793be1938c64942bfbf38d541a281c33 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/auto/corelib/statemachine')
0 files changed, 0 insertions, 0 deletions