There is an easier way. Each item in the model has a set of flags returned by QAbstractItemModel::flags(). Those flags include Qt::ItemIsEditable and Qt::ItemIsEnabled.
There is an easier way. Each item in the model has a set of flags returned by QAbstractItemModel::flags(). Those flags include Qt::ItemIsEditable and Qt::ItemIsEnabled.
Bookmarks