code: def remove_widget(self):
          
  
          LOGGER.debug("> Removing '{0}' Component Widget.".format(self.__class__.__name__))
  
          self.__preferences_manager.findChild(QGridLayout, "Others_Preferences_gridLayout").removeWidget(self)
          self.TCP_Client_Ui_groupBox.setParent(None)
  
          return True
docs: Removes the Component Widget from the engine.
  
          :return: Method success.
          :rtype: bool