Please, have a look at the docs: QGraphicsItem::flags()

Lykurg