| 25 | { |
| 26 | } |
| 27 | |
| 28 | void ElaScrollPageArea::paintEvent(QPaintEvent* event) |
| 29 | { |
| 30 | Q_D(ElaScrollPageArea); |
| 31 | QPainter painter(this); |
| 32 | painter.save(); |
| 33 | painter.setRenderHint(QPainter::Antialiasing); |
| 34 | painter.setPen(ElaThemeColor(d->_themeMode, BasicBorder)); |
| 35 | painter.setBrush(ElaColorAnimation::getColor(this, ElaThemeColor(d->_themeMode, BasicBaseAlpha), "Background")); |
| 36 | QRect foregroundRect(1, 1, width() - 2, height() - 2); |
| 37 | painter.drawRoundedRect(foregroundRect, d->_pBorderRadius, d->_pBorderRadius); |
| 38 | painter.restore(); |
| 39 | } |
nothing calls this directly
no outgoing calls
no test coverage detected