def flags(self, column):
        """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
        """
        flags = QtCore.Qt.ItemIsEnabled | QtCore.Qt.ItemIsSelectable
        if self._editable:
            flags = flags | QtCore.Qt.ItemIsEditable
        return flags
def flags ( self , column ) : flags = QtCore . Qt . ItemIsEnabled | QtCore . Qt . ItemIsSelectable if self . _editable : flags = flags | QtCore . Qt . ItemIsEditable return flags
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