code: def flags(self, column):
          
          flags = QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable
          if self._editable:
              flags = flags | QtCore.Qt.ItemIsEditable
          return flags
docs: Return the item flags for the item
  
          Default is QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable
  
          :param column: the column to query
          :type column: int
          :returns: the item flags
          :rtype: QtCore.Qt.ItemFlags
          :raises: None