diff options
Diffstat (limited to 'tests/auto/declarative/visual/flipable')
17 files changed, 0 insertions, 186 deletions
diff --git a/tests/auto/declarative/visual/flipable/flipable.xml b/tests/auto/declarative/visual/flipable/flipable.xml deleted file mode 100644 index 9288acc..0000000 --- a/tests/auto/declarative/visual/flipable/flipable.xml +++ /dev/null @@ -1,138 +0,0 @@ -<Rect color="lightsteelblue" height="400" width="500"> - <VisualModel id="MyVisualModel"> - <model> - <ListModel id="ListModel"> - <Person> - <name>Jessica</name> - <picture>face.png</picture> - </Person> - <Person> - <name>John</name> - <picture>photo0.png</picture> - </Person> - <Person> - <name>Susan</name> - <picture>photo10.png</picture> - </Person> - <Person> - <name>Samantha</name> - <picture>photo1.png</picture> - </Person> - <Person> - <name>Mark</name> - <picture>photo2.png</picture> - </Person> - <Person> - <name>Sarah</name> - <picture>photo3.png</picture> - </Person> - <Person> - <name>Pam</name> - <picture>photo4.png</picture> - </Person> - <Person> - <name>April</name> - <picture>photo5.png</picture> - </Person> - <Person> - <name>Tarryn</name> - <picture>photo6.png</picture> - </Person> - <Person> - <name>Geoff</name> - <picture>photo7.png</picture> - </Person> - <Person> - <name>Bill</name> - <picture>photo8.png</picture> - </Person> - <Person> - <name>Stuart</name> - <picture>photo9.png</picture> - </Person> - </ListModel> - </model> - <delegate> - <Package> - <Flipable id="MeRect" width="100" height="100"> - <properties> - <Property name="r" type="Real" /> - </properties> - <transform> - <Perspective angle="90" x="50" y="50" aspect="1" scale="256"/> - <Axis xStart="50" xEnd="50" yStart="0" yEnd="1" rotation="{MeRect.r}" /> - </transform> - - <front> - <Rect radius="5" color="red" width="100" height="100"> - <Text text="{name}" /> - </Rect> - </front> - - <back> - <Rect radius="5" color="red" width="100" height="100"> - <Image anchors.horizontalCenter="{parent.horizontalCenter}" anchors.verticalCenter="{parent.verticalCenter}" file="{picture}" /> - </Rect> - </back> - </Flipable> - - <Item Package.name="leftBox" id="LeftBox" - width="100" height="100"> - <Rect opacity="0.1" width="80" height="80" radius="4" - color="grey" x="10" y="10"> - <Text text="{name}" /> - <MouseRegion anchors.fill="{parent}" onClick="if(MyItem.currentState=='left') MyItem.currentState='right'; else MyItem.currentState='left';" /> - </Rect> - </Item> - <Item Package.name="rightBox" id="RightBox" - width="100" height="100"> - <Rect opacity="0.1" width="80" height="80" radius="4" - color="grey" x="10" y="10"> - <Text text="{name}" /> - <MouseRegion anchors.fill="{parent}" onClick="if(MyItem.currentState=='left') MyItem.currentState='right'; else MyItem.currentState='left';" /> - </Rect> - </Item> - <Item id="MyItem"> - <states> - <State name="left"> - <SetProperty target="{MeRect}" property="moveToParent" value="{LeftBox}" /> - </State> - <State name="right"> - <SetProperty target="{MeRect}" property="moveToParent" value="{RightBox}" /> - <SetProperty target="{MeRect}" property="r" value="180" /> - </State> - </states> - <transitions> - <Transition fromState="*" toState="*"> - <NumberAnimation property="r" duration="500" /> - <SerialAnimation> - <SetPropertyAction target="{MeRect}" property="moveToParent" value="{Bounce}" /> - <ParallelAnimation> - <NumberAnimation target="{MeRect}" properties="x" to="0" duration="250" /> - <NumberAnimation target="{MeRect}" properties="y" to="0" easing="easeInQuad" duration="250"/> - </ParallelAnimation> - <SetPropertyAction target="{MeRect}" property="moveToParent" /> - <ParallelAnimation> - <NumberAnimation target="{MeRect}" properties="x" to="0" duration="250"/> - <NumberAnimation target="{MeRect}" properties="y" to="0" easing="easeOutQuad" duration="250"/> - </ParallelAnimation> - </SerialAnimation> - </Transition> - </transitions> - <currentState>left</currentState> - </Item> - - </Package> - </delegate> - </VisualModel> - - <Item width="800" height="400" clip="true"> - <Item z="100" id="Bounce" x="200" y="300" /> - <ListView id="MyListView" width="400" height="400" x="400" - model="{MyVisualModel.parts.rightBox}" /> - - <ListView id="MyListView2" width="400" height="400" - model="{MyVisualModel.parts.leftBox}" /> - </Item> - -</Rect> diff --git a/tests/auto/declarative/visual/flipable/image0.png b/tests/auto/declarative/visual/flipable/image0.png Binary files differdeleted file mode 100644 index affb8a5..0000000 --- a/tests/auto/declarative/visual/flipable/image0.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/manifest-play.xml b/tests/auto/declarative/visual/flipable/manifest-play.xml deleted file mode 100644 index 81c08e4..0000000 --- a/tests/auto/declarative/visual/flipable/manifest-play.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<TestLog> - <TestFullFrame time="30" frameId="0"/> - <TestMouse time="2040" type="2" button="1" buttons="1" globalPos="812,72" pos="65,45"/> - <TestMouse time="2100" type="3" button="1" buttons="0" globalPos="812,72" pos="65,45"/> - <TestFrame time="2130" hash="210454ECF70EEA9CA43DD391BC23178B"/> - <TestFrame time="2160" hash="F6612DAD879208F4AF100337271C445C"/> - <TestFrame time="2190" hash="C77FC41100D0B066F8F0BF4ABCF2F0BF"/> - <TestFrame time="2220" hash="1AB3A42E6FC271E049E6071A88AB8EE4"/> - <TestFrame time="2250" hash="DB3D5BC6882699DCC0208E4F5294B609"/> - <TestFrame time="2280" hash="DC5A8B44283DA4A81D3994B873FC5695"/> - <TestFrame time="2310" hash="5149027ECF7813BA64D3AB8FFE0265F5"/> - <TestFrame time="2340" hash="B7E801DF476C012AC3E9E48A9D4AA321"/> - <TestFrame time="2370" hash="F31A647A6A3EC86D7F16EB3147E5FC29"/> - <TestFrame time="2400" hash="FBB068C39D5188A175075667B584F1BE"/> - <TestFrame time="2430" hash="EC487AB66384A4A3A718D03555EBFD41"/> - <TestFrame time="2460" hash="C7AD11EB051B11ACBA38027013215A05"/> - <TestFrame time="2490" hash="AA38FD8E97EC394488274127630E7946"/> - <TestFrame time="2520" hash="1CA2B617AC966B54FFA1A61914F68A9D"/> - <TestFrame time="2550" hash="1726C0BAA930CAF282154F14AC2FD120"/> - <TestFrame time="2580" hash="58F8196148C8B64191AF7B897A811CFB"/> - <TestFrame time="2610" hash="D56D3FA137AA63A0215611450B40F3E0"/> - <TestFrame time="2640" hash="5E1BCDF996B2903D1EAEAC65E17783C2"/> -</TestLog> diff --git a/tests/auto/declarative/visual/flipable/manifest.xml b/tests/auto/declarative/visual/flipable/manifest.xml deleted file mode 100644 index 81c08e4..0000000 --- a/tests/auto/declarative/visual/flipable/manifest.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<TestLog> - <TestFullFrame time="30" frameId="0"/> - <TestMouse time="2040" type="2" button="1" buttons="1" globalPos="812,72" pos="65,45"/> - <TestMouse time="2100" type="3" button="1" buttons="0" globalPos="812,72" pos="65,45"/> - <TestFrame time="2130" hash="210454ECF70EEA9CA43DD391BC23178B"/> - <TestFrame time="2160" hash="F6612DAD879208F4AF100337271C445C"/> - <TestFrame time="2190" hash="C77FC41100D0B066F8F0BF4ABCF2F0BF"/> - <TestFrame time="2220" hash="1AB3A42E6FC271E049E6071A88AB8EE4"/> - <TestFrame time="2250" hash="DB3D5BC6882699DCC0208E4F5294B609"/> - <TestFrame time="2280" hash="DC5A8B44283DA4A81D3994B873FC5695"/> - <TestFrame time="2310" hash="5149027ECF7813BA64D3AB8FFE0265F5"/> - <TestFrame time="2340" hash="B7E801DF476C012AC3E9E48A9D4AA321"/> - <TestFrame time="2370" hash="F31A647A6A3EC86D7F16EB3147E5FC29"/> - <TestFrame time="2400" hash="FBB068C39D5188A175075667B584F1BE"/> - <TestFrame time="2430" hash="EC487AB66384A4A3A718D03555EBFD41"/> - <TestFrame time="2460" hash="C7AD11EB051B11ACBA38027013215A05"/> - <TestFrame time="2490" hash="AA38FD8E97EC394488274127630E7946"/> - <TestFrame time="2520" hash="1CA2B617AC966B54FFA1A61914F68A9D"/> - <TestFrame time="2550" hash="1726C0BAA930CAF282154F14AC2FD120"/> - <TestFrame time="2580" hash="58F8196148C8B64191AF7B897A811CFB"/> - <TestFrame time="2610" hash="D56D3FA137AA63A0215611450B40F3E0"/> - <TestFrame time="2640" hash="5E1BCDF996B2903D1EAEAC65E17783C2"/> -</TestLog> diff --git a/tests/auto/declarative/visual/flipable/pics/arrow.png b/tests/auto/declarative/visual/flipable/pics/arrow.png Binary files differdeleted file mode 100644 index 997190d..0000000 --- a/tests/auto/declarative/visual/flipable/pics/arrow.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/pics/face.png b/tests/auto/declarative/visual/flipable/pics/face.png Binary files differdeleted file mode 100644 index e9529ac..0000000 --- a/tests/auto/declarative/visual/flipable/pics/face.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/pics/photo0.png b/tests/auto/declarative/visual/flipable/pics/photo0.png Binary files differdeleted file mode 100644 index 26bbf5b..0000000 --- a/tests/auto/declarative/visual/flipable/pics/photo0.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/pics/photo1.png b/tests/auto/declarative/visual/flipable/pics/photo1.png Binary files differdeleted file mode 100644 index 2230f71..0000000 --- a/tests/auto/declarative/visual/flipable/pics/photo1.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/pics/photo10.png b/tests/auto/declarative/visual/flipable/pics/photo10.png Binary files differdeleted file mode 100644 index 119f142..0000000 --- a/tests/auto/declarative/visual/flipable/pics/photo10.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/pics/photo2.png b/tests/auto/declarative/visual/flipable/pics/photo2.png Binary files differdeleted file mode 100644 index e3d58c1..0000000 --- a/tests/auto/declarative/visual/flipable/pics/photo2.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/pics/photo3.png b/tests/auto/declarative/visual/flipable/pics/photo3.png Binary files differdeleted file mode 100644 index 4b58df4..0000000 --- a/tests/auto/declarative/visual/flipable/pics/photo3.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/pics/photo4.png b/tests/auto/declarative/visual/flipable/pics/photo4.png Binary files differdeleted file mode 100644 index 4ed4bd2..0000000 --- a/tests/auto/declarative/visual/flipable/pics/photo4.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/pics/photo5.png b/tests/auto/declarative/visual/flipable/pics/photo5.png Binary files differdeleted file mode 100644 index eb26704..0000000 --- a/tests/auto/declarative/visual/flipable/pics/photo5.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/pics/photo6.png b/tests/auto/declarative/visual/flipable/pics/photo6.png Binary files differdeleted file mode 100644 index 69875ce..0000000 --- a/tests/auto/declarative/visual/flipable/pics/photo6.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/pics/photo7.png b/tests/auto/declarative/visual/flipable/pics/photo7.png Binary files differdeleted file mode 100644 index 0b117c9..0000000 --- a/tests/auto/declarative/visual/flipable/pics/photo7.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/pics/photo8.png b/tests/auto/declarative/visual/flipable/pics/photo8.png Binary files differdeleted file mode 100644 index b77b997..0000000 --- a/tests/auto/declarative/visual/flipable/pics/photo8.png +++ /dev/null diff --git a/tests/auto/declarative/visual/flipable/pics/photo9.png b/tests/auto/declarative/visual/flipable/pics/photo9.png Binary files differdeleted file mode 100644 index 8a974d6..0000000 --- a/tests/auto/declarative/visual/flipable/pics/photo9.png +++ /dev/null |