I have a Window with a
Group Box called
Function control box
I want to include this window into that group box
I do that by using this code
componentIdentification in an
UI object of the window above.
But it seems that nothing happens. Why?
This is what happening. From this:
How can I import a complete window form into a group box in QT?
Conceptually, the group box is supposed to be the other window’s parent (not the opposite), thus you should do:
A better way to do the same thing: set a layout to the parent (the group box) and add the child window to the layout, i.e., in construction:
somewhere else, later:
This way, the group box is automatically set as the component’s parent.
Answered By – p-a-o-l-o
Answer Checked By – Gilberto Lyons (BugsFixing Admin)