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

Method paintEvent

3rdparty/WAF/Animation/SideSlide/SideSlideDecorator.cpp:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85void SideSlideDecorator::paintEvent(QPaintEvent* _event)
86{
87 QPainter painter(this);
88 painter.drawPixmap(0, 0, m_backgroundPixmap);
89 painter.fillRect(rect(), m_decorationColor);
90 painter.drawPixmap(m_slidePos, m_slideWidgetPixmap);
91
92 QWidget::paintEvent(_event);
93}
94
95void SideSlideDecorator::mousePressEvent(QMouseEvent *_event)
96{

Callers

nothing calls this directly

Calls 1

rectFunction · 0.85

Tested by

no test coverage detected