qt5base-lts/tests/auto/widgets/graphicsview
Mitch Curtis 5ec344cc77 Make *ItemBoundingRect modes work with custom shapes.
Currently, calling
QGraphicsScene::items(QPointF(0, 0), Qt::IntersectsItemBoundingRect) or
QGraphicsScene::items(QPointF(0, 0), Qt::ContainsItemBoundingRect)
will exclude items whose shape does not contain QPointF(0, 0). This is
because QGraphicsSceneIndexPointIntersector::intersect() also checks if
the point is contained within the shape, instead of just checking
if it is contained within the bounding rect.

Task-number: QTBUG-19036

Change-Id: Ie701af2a5694d40cf9b3c9c19adbb09a53a4e398
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Andreas Aardal Hanssen <andreas@hanssen.name>
2013-07-16 20:42:01 +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 QGV: fix items not to be selected on right mouse button release 2013-05-14 15:21:23 +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