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

Method setTreeData

src/backend/worksheet/TreeModel.cpp:261–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261bool TreeModel::setTreeData(const QVariant& data, const int row, const int column, const QModelIndex& parent, int role) {
262 QModelIndex curveIndex = index(row, column, parent);
263 return setData(curveIndex, data, role);
264}
265
266bool TreeModel::setData(const QModelIndex& index, const QVariant& value, int role) {
267 if (role == Qt::EditRole || role == Qt::DisplayRole) {

Callers 5

cursorPosChangedMethod · 0.80
curveDataChangedMethod · 0.80
curveAddedMethod · 0.80
updateCurveBackgroundMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected