Qt::ItemFlags flags = QAbstractItemModel::flags(index); if (index.column() == 0) flags |= Qt::ItemIsUserCheckable; return flags;