MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / paintEvent

Method paintEvent

src/interface/QMessageOverlay.cpp:54–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void QMessageOverlay::paintEvent(QPaintEvent *_event)
55{
56 QPainter p;
57 p.begin(this);
58 p.drawPixmap(-1, -1, width(), height(), m_parentWidgetPixmap);
59 p.setBrush(QBrush(QColor(0, 0, 0, 220)));
60 p.drawRect(-1, -1, width() + 1, height() + 1);
61 p.end();
62 QWidget::paintEvent(_event);
63}
64
65void QMessageOverlay::showEvent(QShowEvent *_event)
66{

Callers

nothing calls this directly

Calls 6

widthFunction · 0.85
heightFunction · 0.85
QColorClass · 0.85
setBrushMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected