Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to find the active user's view in a scene?
xmaze last edited by
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 ?