code: def create_configwidget(self, parent):
          
          if self.CONFIGWIDGET_CLASS is not None:
              configwidget = self.CONFIGWIDGET_CLASS(self, parent)
              configwidget.initialize()
              return configwidget
docs: Create configuration dialog box page widget