MCPcopy Create free account
hub / github.com/YACReader/yacreader / paintEvent

Method paintEvent

custom_widgets/yacreader_titled_toolbar.cpp:39–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void DropShadowLabel::paintEvent(QPaintEvent *event)
40{
41 Q_UNUSED(event);
42
43 QPainter painter(this);
44 painter.setFont(font());
45 drawTextEffect(&painter, QPoint(contentsMargins().left(), 1));
46 drawText(&painter, QPoint(contentsMargins().left(), 0));
47}
48
49void DropShadowLabel::setColor(const QColor &color)
50{

Callers

nothing calls this directly

Calls 2

QPointClass · 0.85
leftMethod · 0.80

Tested by

no test coverage detected