diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-05-01 00:49:51 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-05-01 00:49:51 (GMT) |
commit | 020f86805e2f3f9fa8e069c3a0ae04ef4a6d57cd (patch) | |
tree | 2015be2a09b23782b0de2202f95f18c0700a9cdd /src/declarative/util/qmlsetproperties.cpp | |
parent | f57e5f12807e1860839a4b3c47af180230bdbfaa (diff) | |
download | Qt-020f86805e2f3f9fa8e069c3a0ae04ef4a6d57cd.zip Qt-020f86805e2f3f9fa8e069c3a0ae04ef4a6d57cd.tar.gz Qt-020f86805e2f3f9fa8e069c3a0ae04ef4a6d57cd.tar.bz2 |
Format conversion for animation, states and transitions, and transform
elements.
Diffstat (limited to 'src/declarative/util/qmlsetproperties.cpp')
-rw-r--r-- | src/declarative/util/qmlsetproperties.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/declarative/util/qmlsetproperties.cpp b/src/declarative/util/qmlsetproperties.cpp index 108f2b2..9b5a58e 100644 --- a/src/declarative/util/qmlsetproperties.cpp +++ b/src/declarative/util/qmlsetproperties.cpp @@ -108,7 +108,12 @@ void QmlSetPropertiesMetaObject::propertyWrite(int id) you normally would specify them for the actual item: \code - <SetProperties target="{myRect}" x="52" y="300" width="48"/> + SetProperties { + target: myRect + x: 52 + y: 300 + width: 48 + } \endcode \c target is a property of \c SetProperties, so if the property you want to change @@ -129,7 +134,12 @@ void QmlSetPropertiesMetaObject::propertyWrite(int id) you normally would specify them for the actual item: \code - <SetProperties target="{myRect}" x="52" y="300" width="48"/> + SetProperties { + target: myRect + x: 52 + y: 300 + width: 48 + } \endcode \c target is a property of \c SetProperties, so if the property you want to change |