Hallo,
I have created an item in a GraphicsScene (item->setFlag(QGraphicsItem::ItemIsMovable) in the scene) and I have a subclass where I would draw a line when the item is selected (setFlag(QGraphicsItem::ItemIsSelectable) in the subclass) . But my problem is, that the item is movable and selected at the same time.
I would like that the item is not movable when I select it and draw the line....
How can I do this?