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 setWidget(self, w, v):
      if self.scales[w] is not None:
          v *= self.scales[w]
  
      if type(w) in WidgetGroup.classes:
          setFunc = WidgetGroup.classes[type(w)][2]
      else:
          setFunc = w.widgetGroupInterface()[2]
  
      # if the setter function provided in the interface is a bound method,
      # then just call the method directly. Otherwise, pass in the widget as the first arg
      # to the function.
      if inspect.ismethod(setFunc) and setFunc.__self__ is not None:
          setFunc(v)
      else:
          setFunc(w, v)
  
imports: import inspect
  import weakref
  from .Qt import QtCore, QtWidgets
label_desc: Use image node_id 13 for calling the WidgetGroup obj's underlying member method code with example usage: obj.setWidget(w, v) without return types