| 89 | } |
| 90 | |
| 91 | QVariant ArrayGroupModel::headerData(int section, Qt::Orientation orientation, int role) const |
| 92 | { |
| 93 | if (role != Qt::DisplayRole || orientation == Qt::Vertical) |
| 94 | { |
| 95 | return QVariant(); |
| 96 | } |
| 97 | if (section < 0 || section > this->columnCount(QModelIndex())) |
| 98 | { |
| 99 | return QVariant(); |
| 100 | } |
| 101 | return QString::fromStdString(this->ColumnToArrayComponent[section].Label); |
| 102 | } |
| 103 | |
| 104 | QVariant ArrayGroupModel::data(const QModelIndex& index, int role) const |
| 105 | { |
nothing calls this directly
no test coverage detected