| 224 | } |
| 225 | |
| 226 | EffectFrame::EffectFrame(EffectFrameStyle style, bool staticSize, QPoint position, Qt::Alignment alignment) |
| 227 | : m_view(new EffectFrameQuickScene(style, staticSize, position, alignment)) |
| 228 | { |
| 229 | connect(m_view, &OffscreenQuickScene::repaintNeeded, this, [this] { |
| 230 | effects->addRepaint(geometry()); |
| 231 | }); |
| 232 | connect(m_view, &OffscreenQuickScene::geometryChanged, this, [](const QRect &oldGeometry, const QRect &newGeometry) { |
| 233 | effects->addRepaint(oldGeometry); |
| 234 | effects->addRepaint(newGeometry); |
| 235 | }); |
| 236 | } |
| 237 | |
| 238 | EffectFrame::~EffectFrame() |
| 239 | { |
nothing calls this directly
no test coverage detected