aboutsummaryrefslogtreecommitdiff
path: root/src/corelib/animation/widget/mwidgetzoomanimation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/animation/widget/mwidgetzoomanimation.h')
-rw-r--r--src/corelib/animation/widget/mwidgetzoomanimation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/corelib/animation/widget/mwidgetzoomanimation.h b/src/corelib/animation/widget/mwidgetzoomanimation.h
index ee3d36df..718854de 100644
--- a/src/corelib/animation/widget/mwidgetzoomanimation.h
+++ b/src/corelib/animation/widget/mwidgetzoomanimation.h
@@ -32,6 +32,7 @@ class MWidgetZoomAnimationPrivate;
class MWidgetZoomAnimation : public MAbstractWidgetAnimation
{
Q_OBJECT
+ Q_PROPERTY(QPointF origin READ origin WRITE setOrigin)
M_ANIMATION_GROUP(MWidgetZoomAnimationStyle)
public:
@@ -42,6 +43,7 @@ public:
void setTransitionDirection(TransitionDirection direction);
void setOrigin(const QPointF &pos);
+ QPointF origin() const;
protected:
MWidgetZoomAnimation(MWidgetZoomAnimationPrivate *dd, QObject *parent = NULL);