Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to hide a layout with all its children?
Violet Giraffe last edited by Violet Giraffe
It would be convenient to hide / show groups of widgets via their layout, but I don't see any way to. I just want to hide the whole layout from screen with little to no additional coding (I suppose I could iterate over all widgets in a layout and call
setvisible(false), but that's not neat). Is it possible?
AFAIK, not from a layout, however you can have "container widgets" where you set these various layouts and hide them.
Hope it helps