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. How to find the active user's view in a scene?
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 405 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.
  • X Offline
    X Offline
    xmaze
    wrote on last edited by
    #1

    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
    0

    • Login

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