code: def save_text_setting(self, key, line_edit):
          
          set_setting(key, line_edit.text(), self.settings)
docs: Save text setting according to line_edit value.
  
          :param key: Key to retrieve setting value.
          :type key: str
  
          :param line_edit: Line edit for user to edit the setting
          :type line_edit: PyQt5.QtWidgets.QLineEdit.QLineEdit