MCPcopy Create free account
hub / github.com/KDE/labplot / headerData

Method headerData

src/backend/worksheet/TreeModel.cpp:179–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179QVariant TreeModel::headerData(int section, Qt::Orientation orientation, int role) const {
180 if (orientation == Qt::Horizontal && role == Qt::DisplayRole)
181 return rootItem->data(section);
182
183 return {};
184}
185
186QModelIndex TreeModel::index(int row, int column, const QModelIndex& parent) const {
187 if (parent.isValid() && parent.column() != 0)

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected