Elegant way of getting if element is focused in function QGraphicsItem::shape()

Printable View