| 109 | } |
| 110 | |
| 111 | QVariant StructSelectModel::headerData(int section, Qt::Orientation orientation, int role) const |
| 112 | { |
| 113 | if (orientation == Qt::Horizontal && role == Qt::DisplayRole) |
| 114 | { |
| 115 | switch (section) |
| 116 | { |
| 117 | case WATCH_COL_LABEL: |
| 118 | return tr("Name"); |
| 119 | default: |
| 120 | break; |
| 121 | } |
| 122 | } |
| 123 | return {}; |
| 124 | } |
| 125 | |
| 126 | bool StructSelectModel::setData(const QModelIndex& index, const QVariant& value, int role) |
| 127 | { |
nothing calls this directly
no outgoing calls
no test coverage detected