diff --git a/lib/customshadoweffect.h b/lib/customshadoweffect.h index 7a8825c..43d0bec 100644 --- a/lib/customshadoweffect.h +++ b/lib/customshadoweffect.h @@ -9,6 +9,11 @@ class CustomShadowEffect : public QGraphicsEffect { Q_OBJECT + + Q_PROPERTY(qreal distance WRITE setDistance READ distance) + Q_PROPERTY(qreal blurRadius WRITE setBlurRadius READ blurRadius) + Q_PROPERTY(qreal color WRITE setColor READ color) + public: explicit CustomShadowEffect(QObject *parent = 0);