qt5base-lts/tests/auto/widgets
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
..
dialogs tst_qfilefialog: Fix leaking temporary directories. 2013-06-26 05:46:19 +02:00
effects QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
graphicsview Make *ItemBoundingRect modes work with custom shapes. 2013-07-16 20:42:01 +02:00
itemviews BlackBerry: fix tst_qlistview 2013-06-18 06:25:52 +02:00
kernel Stabilize tst_QApplication::quitOnLastWindowClosed(). 2013-07-04 17:18:14 +02:00
styles Test password mask delay and characters on Mac. 2013-07-11 10:56:49 +02:00
util Stabilize tst_qcompleter. 2013-04-05 11:28:47 +02:00
widgets Make the test a bit more sane. 2013-07-01 08:57:52 +02:00
widgets.pro