code: def setEditable(self, state):
          
          self._editable = state
          
          if state and not self._lineEdit:
              self.setLineEdit(XLineEdit(self))
          
          elif not state and self._lineEdit:
              self._lineEdit.close()
              self._lineEdit.setParent(None)
              self._lineEdit.deleteLater()
              self._lineEdit = None
docs: Sets whether or not this label should be editable or not.
          
          :param      state | <bool>