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



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


Log in to reply
 

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