set it uncheckedWhen i set data via Qt::CheckStateRole the item becomes user - checkable automatically.
you have to reimplement Qt::ItemFlags QAbstractItemModel::flags ( const QModelIndex & index ) constHowever I have to manage QAbstractItemModel instead of QStandardItemModel, then how to change the flags via index as there is no item in QAbstractItemModel?
Bookmarks