def setSelected(self, selected): """Overload QGraphicsItem.""" QGraphicsPathItem.setSelected(self, selected)