How to exclude QGraphicsDropShadowEffect from a desired widget side?
-
Is it possible to exclude a shadow effect at a given side of a widget?
I mean, suppose you want to draw the shadow just at the bottom.
I'm looking for another option than moving the effect with
setXOffsetsetYOffsetI have found this API but for qgraphicseffect:
https://doc.qt.io/qt-6/qgraphicseffect.html#updateBoundingRecHow could i call it from a
QGraphicsDropShadowEffect?auto label = new QLabel(); QGraphicsDropShadowEffect * dse = new QGraphicsDropShadowEffect(); dse->setBlurRadius(60); dse->setOffset(0); dse->setColor(0x007eff); label->setGraphicsEffect(dse); // Would like the effect be ablied just to the top and bottom borders