diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-04-28 04:29:34 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-04-28 04:29:34 (GMT) |
commit | 72dfac4fbe7a45ca84ce233eb68161c685bdc31c (patch) | |
tree | 2efcc2784df8197d61088bf95cfb72657b09d872 /demos | |
parent | 7e3aee5b4f50733fa8d88def28b4fce78070f9e2 (diff) | |
download | Qt-72dfac4fbe7a45ca84ce233eb68161c685bdc31c.zip Qt-72dfac4fbe7a45ca84ce233eb68161c685bdc31c.tar.gz Qt-72dfac4fbe7a45ca84ce233eb68161c685bdc31c.tar.bz2 |
API and documentation work on the transform elements.
Axis has been split into Axis, AxisRotation, and AxisTranslation. Basic
docs (in some cases just a stub) have been added for these, Perspective,
and Squish.
Flipable has moved to its own file.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/declarative/mediabrowser/content/MovieInfoContainer.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/declarative/mediabrowser/content/MovieInfoContainer.qml b/demos/declarative/mediabrowser/content/MovieInfoContainer.qml index c53fab6..8ffc76e 100644 --- a/demos/declarative/mediabrowser/content/MovieInfoContainer.qml +++ b/demos/declarative/mediabrowser/content/MovieInfoContainer.qml @@ -12,7 +12,7 @@ </signals> <transform> - <Axis id="Axis" xStart="{Container.width / 2}" xEnd="{Container.width / 2}" yEnd="1" /> + <AxisRotation id="Axis" axis.startX="{Container.width / 2}" axis.endX="{Container.width / 2}" axis.endY="1" /> </transform> <front> @@ -47,13 +47,13 @@ <states> <State name="Back"> - <SetProperty target="{Axis}" property="rotation" value="180"/> + <SetProperty target="{Axis}" property="angle" value="180"/> </State> </states> <transitions> <Transition> - <NumericAnimation easing="easeInOutQuad" properties="rotation" duration="500"/> + <NumericAnimation easing="easeInOutQuad" properties="angle" duration="500"/> </Transition> </transitions> |