code: def connect_widget(self):
          
          if self.signal_name is not None:
              # None for read only widgets
              sid = self.widget.connect(self.signal_name, self.widget_changed)
              self.connections.append(sid)
docs: Perform the initial connection of the widget
  
          the default implementation will connect to the widgets signal
          based on self.signal_name