| 75 | QWidget::mouseReleaseEvent(event); |
| 76 | } |
| 77 | |
| 78 | void ElaToggleButton::paintEvent(QPaintEvent* event) |
| 79 | { |
| 80 | Q_D(ElaToggleButton); |
| 81 | QPainter painter(this); |
| 82 | painter.setRenderHints(QPainter::Antialiasing | QPainter::TextAntialiasing); |
| 83 | |
| 84 | painter.save(); |
| 85 | QRect foregroundRect(1, 1, width() - 2, height() - 2); |
| 86 | QStyleOption option; |
nothing calls this directly
no outgoing calls
no test coverage detected