Can I apply a Neumorphism effect to a QWidget?
问题 While Qt provides the QGraphicsDropShadowEffect, there's no "Neumorphism" effect available: In css there is the box-shadow property (that's how it's done in the image above), which can have multiple colors, but Qt lacks support for that property, and it's not possible to apply more than one graphics effect at once. Can this be done? 回答1: The solution is to create a custom subclass of QGraphicsEffect and using gradients. At first I thought about following the same concept used for CSS,