summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlstateoperations.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-09-03 03:32:22 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-09-03 03:32:22 (GMT)
commitb1d0b92d6c9c150299a0180349ccc50114ae9273 (patch)
tree3f76531777b3c78205ec43eeaab361749f6064d7 /src/declarative/util/qmlstateoperations.h
parenteb4b61fac134c4b05d6137afb466bc62e34e39d1 (diff)
downloadQt-b1d0b92d6c9c150299a0180349ccc50114ae9273.zip
Qt-b1d0b92d6c9c150299a0180349ccc50114ae9273.tar.gz
Qt-b1d0b92d6c9c150299a0180349ccc50114ae9273.tar.bz2
Round out AnchorChanges API.
Diffstat (limited to 'src/declarative/util/qmlstateoperations.h')
-rw-r--r--src/declarative/util/qmlstateoperations.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/declarative/util/qmlstateoperations.h b/src/declarative/util/qmlstateoperations.h
index b2a37a6..a3943e7 100644
--- a/src/declarative/util/qmlstateoperations.h
+++ b/src/declarative/util/qmlstateoperations.h
@@ -113,8 +113,11 @@ class Q_DECLARATIVE_EXPORT QmlAnchorChanges : public QmlStateOperation, public A
Q_PROPERTY(QString reset READ reset WRITE setReset)
Q_PROPERTY(QFxAnchorLine left READ left WRITE setLeft)
Q_PROPERTY(QFxAnchorLine right READ right WRITE setRight)
+ Q_PROPERTY(QFxAnchorLine horizontalCenter READ horizontalCenter WRITE setHorizontalCenter)
Q_PROPERTY(QFxAnchorLine top READ top WRITE setTop)
Q_PROPERTY(QFxAnchorLine bottom READ bottom WRITE setBottom)
+ Q_PROPERTY(QFxAnchorLine verticalCenter READ verticalCenter WRITE setVerticalCenter)
+ Q_PROPERTY(QFxAnchorLine baseline READ baseline WRITE setBaseline)
public:
QmlAnchorChanges(QObject *parent=0);
@@ -134,12 +137,21 @@ public:
QFxAnchorLine right() const;
void setRight(const QFxAnchorLine &edge);
+ QFxAnchorLine horizontalCenter() const;
+ void setHorizontalCenter(const QFxAnchorLine &edge);
+
QFxAnchorLine top() const;
void setTop(const QFxAnchorLine &edge);
QFxAnchorLine bottom() const;
void setBottom(const QFxAnchorLine &edge);
+ QFxAnchorLine verticalCenter() const;
+ void setVerticalCenter(const QFxAnchorLine &edge);
+
+ QFxAnchorLine baseline() const;
+ void setBaseline(const QFxAnchorLine &edge);
+
virtual void execute();
virtual bool isReversable();
virtual void reverse();