Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Multiple QGraphicsProxyWidgets getting mouseMoveEvents?

Multiple QGraphicsProxyWidgets getting mouseMoveEvents?

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 476 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    ScottR
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved