Jan-05-2017, 08:42 PM
I can't find any documentation for a .getChildren(), but there is a .findChildren(). Have you tried that?
Example of usage: http://nullege.com/codes/show/src@g@[email protected]
Example of usage: http://nullege.com/codes/show/src@g@[email protected]
# assume "expanded = True" for widget in self.findChildren(QtGui.QWidget): widget.setHidden(not expanded)