Details
-
Bug
-
Resolution: Incomplete
-
P3: Somewhat important
-
None
-
4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.5.0, 4.5.1, 4.5.2, 4.5.3, 4.6.0, 4.6.1, 4.6.2, 4.6.3, 4.7.0
-
None
Description
Having no proper collosion detection for QGraphicsSvgItems is a real pitty thinking about smartphones and their different display resolutions.
QGraphicsPixmapItem works different to QGraphicsSvgItem.
http://lists.trolltech.com/qt-interest/2007-01/thread00539-0.html:
Because QGraphicsSvgItem's collision detection requires boolean painter path
operations, and Qt 4.2 does not support that, we cannot provide automatic
collision detection for items beyond their bounding rect. You can write
your own shape() implementation and return a QPainterPath that resembles
your item's shape to work around it.