diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-26 00:03:37 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-26 00:03:37 (GMT) |
commit | 334e406ff6441d3980741683714087c59c7dd123 (patch) | |
tree | e637baf0092e6db272b6b1fd32175994e5018dd8 /tests/benchmarks/qfxview/testdata/tatwheel/tat-wheel.xml | |
parent | abb9a3b5031e86bdd89a9338c4f12d703e6f385b (diff) | |
parent | 93f0f38085e8fe2657ef3d7c5e24576d4475e85d (diff) | |
download | Qt-334e406ff6441d3980741683714087c59c7dd123.zip Qt-334e406ff6441d3980741683714087c59c7dd123.tar.gz Qt-334e406ff6441d3980741683714087c59c7dd123.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'tests/benchmarks/qfxview/testdata/tatwheel/tat-wheel.xml')
-rw-r--r-- | tests/benchmarks/qfxview/testdata/tatwheel/tat-wheel.xml | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/tests/benchmarks/qfxview/testdata/tatwheel/tat-wheel.xml b/tests/benchmarks/qfxview/testdata/tatwheel/tat-wheel.xml deleted file mode 100644 index 6da6608..0000000 --- a/tests/benchmarks/qfxview/testdata/tatwheel/tat-wheel.xml +++ /dev/null @@ -1,68 +0,0 @@ -<Item id="Page" width="800" height="600"> - <resources> - <Component id="AppDelegate"> - <Item id="Wrapper" x="0" width="204" height="204" scale="{PathView.scale}" z="{PathView.z}"> - <Item width="{AppIcon.width}" height="{AppIcon.height}" anchors.horizontalCenter="{parent.horizontalCenter}" > - <BlendedImage id="AppIcon" width="240" height="240" primaryFile="{icon + '.png'}" secondaryFile="{icon + '-blur.png'}" anchors.horizontalCenter="{parent.horizontalCenter}" blend="{1 - Wrapper.PathView.opacity}" /> - </Item> - <Text id="AppName" anchors.top="{Wrapper.bottom}" anchors.topMargin="25" - anchors.horizontalCenter="{parent.horizontalCenter}" text="{name}" font.bold="true" font.size="26" color="white"/> - <states> - <State name="HideName" when="{index != pathView.currentIndex}"> - <SetProperty target="{AppName}" property="opacity" value="0"/> - </State> - </states> - <transitions> - <Transition> - <NumericAnimation properties="opacity" duration="500"/> - </Transition> - </transitions> - </Item> - </Component> - </resources> - - <Image id="Background" opaque="true" file="pics/background.png" anchors.fill="{parent}"/> - - <Item y="0" id="Wheel"> - <Script> - <![CDATA[ - function prevItem() { - if (Applications.currentIndex > 0) - Applications.currentIndex--; - else - Applications.currentIndex = Applications.count - 1; - } - function nextItem() { - if (Applications.currentIndex < Applications.count - 1) - Applications.currentIndex++; - else - Applications.currentIndex = 0; - } - ]]> - </Script> - <PathView id="Applications" model="{appModel}" width="800" height="600" delegate="{AppDelegate}" focusable="true"> - <path> - <Path startX="320" startY="350"> - <PathAttribute name="scale" value="1.0"/> - <PathAttribute name="z" value="50"/> - <PathAttribute name="opacity" value="1"/> - <PathQuad x="320" y="150" controlX="740" controlY="250" /> - <PathAttribute name="scale" value="0.1"/> - <PathAttribute name="z" value="0"/> - <PathAttribute name="opacity" value="-0.5"/> - <PathQuad x="320" y="350" controlX="-100" controlY="250"/> - </Path> - </path> - <currentIndex> - <SerialAnimation running="true" repeat="true"> - <NumericAnimation target="{Applications}" from="0" to="{Applications.count}" duration="1000" /> - </SerialAnimation> - </currentIndex> - </PathView> - <transitions> - <Transition> - <NumericAnimation properties="x,y,scale,opacity" duration="250"/> - </Transition> - </transitions> - </Item> -</Item> |