aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativepositioners/dynamic.qml
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-05-30 11:23:22 +1000
committerMartin Jones <martin.jones@nokia.com>2011-05-30 11:23:22 +1000
commit0063c93d1ca1cc69b890e6263b95f18a7667b6ff (patch)
tree1e77bb6c8f49499e6d0012984d947105b0ac9084 /tests/auto/declarative/qmlvisual/qdeclarativepositioners/dynamic.qml
parent481eb161412b33222a74570183f74220265d19b9 (diff)
qmlvisual is broken and unmaintained. Remove it.
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativepositioners/dynamic.qml')
-rw-r--r--tests/auto/declarative/qmlvisual/qdeclarativepositioners/dynamic.qml71
1 files changed, 0 insertions, 71 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativepositioners/dynamic.qml b/tests/auto/declarative/qmlvisual/qdeclarativepositioners/dynamic.qml
deleted file mode 100644
index a1bb78f3ce..0000000000
--- a/tests/auto/declarative/qmlvisual/qdeclarativepositioners/dynamic.qml
+++ /dev/null
@@ -1,71 +0,0 @@
-import QtQuick 1.0
-
-Item {
- width: 120; height: 60;
- property int step: 0
- property int tickTime: 250;
- function tick()
- {
- step++;
- if(step == 1){
- //row1.destroy(); //Not dynamically created, so is this valid?
- }else if(step == 2){
- r2a.destroy();
- }else if(step == 3){
- r2b.destroy();
- }else if(step == 4){
- r2c.destroy();
- }else if(step == 5){
- r3a.parent = row2;
- }else if(step == 6){
- r3b.parent = row2;
- }else if(step == 7){
- r3c.parent = row2;
- }else if(step == 8){
- //row3.destroy();//empty now, so should have no effect//May be invalid, but was deleting the reparent items at one point
- }else{
- repeater.model++;
- }
- }
-
- //Tests base positioner functionality, so don't need them all.
- Column{
- move: Transition{NumberAnimation{properties:"y"; duration: tickTime}}
- Row{
- id: row1
- height: childrenRect.height
- Rectangle{id: r1a; width:20; height:20; color: "red"}
- Rectangle{id: r1b; width:20; height:20; color: "green"}
- Rectangle{id: r1c; width:20; height:20; color: "blue"}
- }
- Row{
- id: row2
- height: childrenRect.height
- move: Transition{NumberAnimation{properties:"x"; duration: tickTime}}
- add: Transition{NumberAnimation{properties:"x"; duration: tickTime}}
- Repeater{
- id: repeater
- model: 0;
- delegate: Component{ Rectangle { color: "yellow"; x:20; width:20; height:20;}}
- }
- Rectangle{id: r2a; width:20; height:20; color: "red"}
- Rectangle{id: r2b; width:20; height:20; color: "green"}
- Rectangle{id: r2c; width:20; height:20; color: "blue"}
- }
- Row{
- move: Transition{NumberAnimation{properties:"x"; duration: tickTime}}
- id: row3
- height: childrenRect.height
- Rectangle{id: r3a; width:20; height:20; color: "red"}
- Rectangle{id: r3b; width:20; height:20; color: "green"}
- Rectangle{id: r3c; width:20; height:20; color: "blue"}
- }
- }
- Timer{
- interval: tickTime;
- running: true;
- repeat: true;
- onTriggered: tick();
- }
-}
-