(self, name: str)
Set the default learner name if not otherwise specified by the user.
Set the default learner name if not otherwise specified by the user.
Set the default learner name if not otherwise specified by the user .
def set_default_learner_name(self, name: str) -> None:
        """
        Set the default learner name if not otherwise specified by the user.
        """
        changed = name != self.__default_learner_name
        if name:
            self.name_line_edit.setPlaceholderText(name)
        else:
            self.name_line_edit.setPlaceholderText(self.captionTitle)
        self.__default_learner_name = name
        if not self.learner_name and changed:
            self.learner_name_changed()
def set_default_learner_name ( self , name : str ) -> None : changed = name != self . __default_learner_name if name : self . name_line_edit . setPlaceholderText ( name ) else : self . name_line_edit . setPlaceholderText ( self . captionTitle ) self . __default_learner_name = name if not self . learner_name and changed : self . learner_name_changed ( )