Multiple QGraphicsProxyWidgets getting mouseMoveEvents?
General and Desktop
1
Posts
1
Posters
476
Views
1
Watching
-
I have an application whose main window includes a QGraphicsView. In the view is a scene with
several QGraphicsProxyWidgets. I want several of the QGraphicsProxyWidgets to get mouseMoveEvents.I don't think putting them in a QGraphicsItemGroup is the answer, because they aren't moving,
rather they are reacting to the mouse by changing what they display. I want the displays to be
coordinated.My thought is to subclass QGraphicsScene and specifically mouseMoveEvent, and send the event
to all the items I want to. Is this the way to do what I want, or is there an simpler solution?Thanks