| 68 | } |
| 69 | |
| 70 | Qt::ItemFlags AbstractAttributeModel::flags(const QModelIndex &index) const |
| 71 | { |
| 72 | const auto baseFlags = QAbstractTableModel::flags(index); |
| 73 | if (!index.isValid()) |
| 74 | return baseFlags; |
| 75 | return baseFlags | Qt::ItemIsUserCheckable; |
| 76 | } |
| 77 | |
| 78 | bool AbstractAttributeModel::setData(const QModelIndex &index, const QVariant &value, int role) |
| 79 | { |
no test coverage detected