void SourceItem::updateGroup() { if (!_lineCall) return; TraceFunction* f = _lineCall->call()->called(); QColor c = GlobalGUIConfig::functionColor(_view->groupType(), f); setIcon(4, colorPixmap(10, 10, c)); }
void CallerCoverageItem::setGroupType(TraceCost::CostType gt) { if (_skipped) return; if (_groupType == gt) return; _groupType = gt; QColor c = Configuration::functionColor(_groupType, _function); setPixmap(3, colorPixmap(10, 10, c)); }
CostListItem::CostListItem(Q3ListView* parent, TraceCostItem* costItem, EventType* ct, int size) :Q3ListViewItem(parent) { _groupSize = size; _skipped = 0; _costItem = costItem; setCostType(ct); if (costItem) { updateName(); setPixmap(1, colorPixmap(10, 10, GlobalConfig::groupColor(_costItem))); } }
CostListItem::CostListItem(QTreeWidget* parent, TraceCostItem* costItem, EventType* et, int size) :QTreeWidgetItem(parent) { _groupSize = size; _skipped = 0; _costItem = costItem; setEventType(et); setTextAlignment(0, Qt::AlignRight); if (costItem) { updateName(); setIcon(1, colorPixmap(10, 10, GlobalGUIConfig::groupColor(_costItem))); } }
void StackItem::updateGroup() { QColor c = Configuration::functionColor(_view->groupType(), _function); setPixmap(3, colorPixmap(10, 10, c)); }
void CallItem::updateGroup() { QColor c = GlobalConfig::functionColor(_view->groupType(), _shown); setIcon(3, colorPixmap(10, 10, c)); }
void StackItem::updateGroup() { QColor c = GlobalGUIConfig::functionColor(_view->groupType(), _function); setIcon(3, colorPixmap(10, 10, c)); }