def METHOD_NAME(self, index):
    if not index.isValid():
        return Qt.ItemIsEnabled | Qt.ItemIsDropEnabled
    result = Qt.ItemIsEnabled | Qt.ItemIsSelectable | Qt.ItemIsDropEnabled
    if index.column() == 1:
        result |= Qt.ItemIsEditable
    return result