In my QGraphicsScene, I put selectable QGraphicsItems in my class. My scene has multiple modes, one of which follows standard selecting behavior. Other modes include a way for the user to paint items.
The other modes don't call QGraphicsScene::mousePressEvent, QGraphicsScene::mouseMoveEvent and QGraphicsScene::mouseReleaseEvent. Yet still, if I double-click an existing item, it is marked as selected.
Any idea as to why this might happen? For a split second I thought about marking every item in the scene as unselectable when the user switches to a non-select mode, but that's a ridiculous workaround and I'm sure that you know how to tackle this quirk properly.
Bookmarks