MCPcopy Create free account
hub / github.com/KDE/kdevelop / paint

Method paint

kdevplatform/outputview/outputdelegate.cpp:81–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79OutputDelegate::~OutputDelegate() = default;
80
81void OutputDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const
82{
83 Q_D(const OutputDelegate);
84
85 const QStyleOptionViewItem& opt = d->modifyStyleOptions(option, index);
86
87 QItemDelegate::paint(painter, opt, index);
88}
89
90QSize OutputDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const
91{

Callers

nothing calls this directly

Calls 2

paintFunction · 0.85
modifyStyleOptionsMethod · 0.80

Tested by

no test coverage detected