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
    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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.