Important: Please read the Qt Code of Conduct -

Multiple QGraphicsProxyWidgets getting mouseMoveEvents?

  • 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

    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?


Log in to reply