class_docstr: State manager for groups of widgets.
  
  WidgetGroup handles common problems that arise when dealing with groups of widgets like a control
  panel:
  - Provide a single place for saving / restoring the state of all widgets in the group
  - Provide a single signal for detecting when any of the widgets have changed
code: def autoAdd(self, obj):
      # Find all children of this object and add them if possible.
      accepted = self.acceptsType(obj)
      if accepted:
          self.addWidget(obj)
  
      if not accepted or self.checkForChildren(obj):
          for c in obj.children():
              self.autoAdd(c)
  
imports: import inspect
  import weakref
  from .Qt import QtCore, QtWidgets
label_desc: Use image node_id 6 for calling the WidgetGroup obj's underlying member method code with example usage: obj.autoAdd(obj) without return types