MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / paintEvent

Method paintEvent

src/common/tooltip/tips.cpp:86–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86void TextTip::paintEvent(QPaintEvent *event)
87{
88 QStylePainter p(this);
89 QStyleOptionFrame opt;
90 opt.initFrom(this);
91 p.drawPrimitive(QStyle::PE_PanelTipLabel, opt);
92 p.end();
93
94 QLabel::paintEvent(event);
95}
96
97void TextTip::resizeEvent(QResizeEvent *event)
98{

Callers

nothing calls this directly

Calls 2

paintEventFunction · 0.50
endMethod · 0.45

Tested by

no test coverage detected