Unsolved Display Item in full-screen
-
Hi!
I am working on an app which is composed of a lot of sidebars/control elements/menu bar, and a 3D view (
QQuickFramebufferObject
) and I wanted that when pressing F5 (are any other key, it does not matter), the 3D view would occupy the whole window and the window would go fullscreen.On the fullscreen part, that's easy, I simply call
showFullScreen
on my Window.But I can't find a way to make my 3D view use the whole window space. The 3D view is far in the item tree and would be hidden by other things (and I don't know if there is a way to absolutely position items in Window coordinates when you are deep in the Item tree).
My question is: Is there a way to achieve this effect without losing the 3D view OpenGL context and all the attached Qt connexions/attributes/etc (ie: Without C++ or QML noticing that the 3D view Item is not at the same place it was before)
Thanks!
-
Anyone with even just an idea on how this could be achieved ?
-
@ebatsin hi
have you thought about simply creating a new Window(.qml) component that contains the context of your 3dView.
Create that and show that in full screen ? Instead of moving your whole application in fullscreen ?
May be a workaround for the issue 🤷♂️