From: Creating searchable widget dashboards
Q: Is below statement entirely correct?
Each Qt widget has a
.setVisiblemethod which can be used to toggle that widget’s visibility. >>However, compound or nested widgets can only become invisible when all their child widgets are >>also invisible.
This is from QT website.
It seems like when I hide parent (OnOffWidget) then all child widgets also got hidden.
If an ancestor is not visible, the widget won’t become visible until all its ancestors are shown.