[PyQt] How to get box shadows in qlabels?

michael h michaelkenth at gmail.com
Tue Mar 10 02:50:43 GMT 2020

On Sun, Mar 8, 2020 at 9:35 PM Souvik Dutta <souvik.viksou at outlook.com>

> I am trying to get some neumorphism effect in qlabel. I want two box
> shadows for this. Both of them will be in opposite direction, one will be
> white and another will be black. How can I do this, I mean is there an
> inbuilt function. I tried adding box-shadows, box-shadow and boxshadow in
> the style sheet but everytime it says no property called boxshadow.
I don't believe QSS supports box-shadow. QLabel does have
setGraphicsEffect() though.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20200309/2c846a56/attachment.htm>

More information about the PyQt mailing list