Preferences dialog: how to create layers of controls?
-
Hi
I am using Qt Creator to create a Preferences window. I have a TreeWidget on the left with the sections and I was planning on having a bunch of GroupBoxes on top of each other containing the various options/controls and showing/hiding them as necessary.
Everything would work, but I have realised that dropping one GroupBox on top of another automatically makes it a child of one behind it.
What can I do to stop this happening?
Thanks
Paul
-
Hi and welcome to devnet,
If you want them all visible then put them in a vertical layout otherwise, you can put them in a QStackedLayout or a QStackedLayout.
-
You're welcome !
Since you have what you were looking for, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :)