OneShadowEffect.h 318 B

123456789101112131415161718
  1. #ifndef ONESHADOWEFFECT_H
  2. #define ONESHADOWEFFECT_H
  3. #include <QGraphicsDropShadowEffect>
  4. class OneShadowEffect : public QGraphicsDropShadowEffect
  5. {
  6. public:
  7. OneShadowEffect(QObject *parent = nullptr, int radius = 20);
  8. ~OneShadowEffect();
  9. private:
  10. void init(int radius);
  11. };
  12. #endif // ONESHADOWEFFECT_H