There is a QLayout , you need to hide it. Widgets have a hide() method, no layout'ов . I do not want to hide all the widgets in the layout.
How to do it?

    1 answer 1

    As a reflection ... a widget's layout is not a visual element, it is a way of placing child elements. And we need to hide the children ...

    Option 1. Hide the element itself containing the required layout.

    Option 2. "Run" on the tree of children, and "hide" them

    I would take on the design for option 1.