MCPcopy Create free account
hub / github.com/Adaptix-Framework/AdaptixC2 / paint

Method paint

AdaptixClient/Source/UI/Graph/GraphItem.cpp:25–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void GraphItemNote::paint( QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget )
26{
27 painter->setPen( COLOR_White );
28 painter->drawText( this->boundingRect(), Qt::AlignCenter | Qt::AlignTop, this->header);
29 painter->drawText( this->boundingRect(), Qt::AlignCenter | Qt::AlignBottom, this->text);
30}
31
32
33

Callers

nothing calls this directly

Calls 8

boundingRectMethod · 0.95
IsRootItemMethod · 0.80
isNullMethod · 0.45
rightMethod · 0.45
topMethod · 0.45
setFontMethod · 0.45
restoreMethod · 0.45
isSelectedMethod · 0.45

Tested by

no test coverage detected