code: def uninitialize_ui(self):
          
  
          LOGGER.debug("> Uninitializing '{0}' Component ui.".format(self.__class__.__name__))
  
          self.__remove_actions()
  
          # Signals / Slots.
          self.__view.expanded.disconnect(self.__view__expanded)
          self.__view.doubleClicked.disconnect(self.__view__doubleClicked)
          self.__view.selectionModel().selectionChanged.disconnect(self.__view_selectionModel__selectionChanged)
          self.__script_editor.Script_Editor_tabWidget.currentChanged.disconnect(
              self.__script_editor_Script_Editor_tabWidget__currentChanged)
          self.__script_editor.model.project_registered.disconnect(self.__script_editor_model__project_registered)
  
          self.__view_remove_actions()
  
          self.__model = None
          self.__delegate = None
          self.__view = None
  
          self.initialized_ui = False
          return True
docs: Uninitializes the Component ui.
  
          :return: Method success.
          :rtype: bool