Unsolved Different Context Menus for QGraphicsScene and QGraphicsItem
-
I want to create a context menu for a QGraphicsScene that should be different to the context menu that is to be shown for the QGraphicsItems in this QGraphicsScene. How can this be done?
-
Hi,
I'd reimplement the mousePressEvent of the subclassed QGraphicsItem and the same for QGraphicsScene. There you can handle things like you want.
Hope it helps