Rendering Question
-
I have a method I need some clarity on
ui->horizontalLayout->removeWidget(render_window); render_window->setParent(nullptr); render_window->setFocusPolicy(Qt::NoFocus); if (running) { render_window->setVisible(true); render_window->RestoreGeometry(); list->show(); } }I'm trying to get this rendered popup Window to its size and position.
-
Except from that this does not even compile - what should this function do? Why do you remove a widget from a layout and show it directly?
-
This post is deleted!
-
Except from that this does not even compile - what should this function do? Why do you remove a widget from a layout and show it directly?
@Christian-Ehrlicher
The function pops out the rendering video/image to another window to show it directly. I'm asking if it's possible to retain it's size and position like a main window.So effectively I'm asking, can you keep track of a size/position of a popout window, so next time, it loads in the same spot.
-
@Christian-Ehrlicher
The function pops out the rendering video/image to another window to show it directly. I'm asking if it's possible to retain it's size and position like a main window.So effectively I'm asking, can you keep track of a size/position of a popout window, so next time, it loads in the same spot.
@TeamGregor said in Rendering Question:
So effectively I'm asking, can you keep track of a size/position of a popout window, so next time, it loads in the same spot.
Still don't understand the use-case but you have to remember it by yourself.