I think you must reimplement QGraphicsItem::shape() and return a path containing the bounding rect.