Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    How to find the active user's view in a scene?

    General and Desktop
    1
    1
    271
    Loading More Posts
    • 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.
    • X
      xmaze last edited by

      Hi,

      I have a scene and a graphicsview to display the scene, the scene it is much bigger than the view. I want to add a QGraphicsProxyWidget item as a frame to display some information.
      But i want to have this window always anchored on the right corner of the active view, so the user can see the infos always. How can i do that ?

      I imagine to find a solution like this: When the user change the view of the scene then emits a signal, the program returns the coordinates of the scene which the user can see and the i change the position of the Qgraphicitem. The problem is that i cannot find the right commands to do that.

      Can someone help me ?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post