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

Method setBackgroundColor

src/backend/worksheet/TreeModel.cpp:114–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114bool TreeItem::setBackgroundColor(int column, const QVariant& value) {
115 if (column < 0 || column >= itemData.size())
116 return false;
117
118 m_backgroundColor = value.value<QColor>();
119 return true;
120}
121
122// ##########################################################
123// TreeModel ###############################################

Callers 3

setDataMethod · 0.45
prepareResultColumnsMethod · 0.45
loadMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected