diff options
Diffstat (limited to 'tests/auto/qtquick1/qdeclarativebinding/data')
3 files changed, 0 insertions, 56 deletions
diff --git a/tests/auto/qtquick1/qdeclarativebinding/data/deletedObject.qml b/tests/auto/qtquick1/qdeclarativebinding/data/deletedObject.qml deleted file mode 100644 index ba4c9f6f7c..0000000000 --- a/tests/auto/qtquick1/qdeclarativebinding/data/deletedObject.qml +++ /dev/null @@ -1,24 +0,0 @@ -import QtQuick 1.0 - -Rectangle { - id: wrapper - width: 400 - height: 400 - - property bool activateBinding: false - - Binding { - id: binding - target: Qt.createQmlObject('import QtQuick 1.0; Item { property real value: 10 }', wrapper) - property: "value" - when: activateBinding - value: x + y - } - - Component.onCompleted: binding.target.destroy(); - -// MouseArea { -// anchors.fill: parent -// onClicked: activateBinding = true; -// } -} diff --git a/tests/auto/qtquick1/qdeclarativebinding/data/test-binding.qml b/tests/auto/qtquick1/qdeclarativebinding/data/test-binding.qml deleted file mode 100644 index 94497368a7..0000000000 --- a/tests/auto/qtquick1/qdeclarativebinding/data/test-binding.qml +++ /dev/null @@ -1,16 +0,0 @@ -import QtQuick 1.0 - -Rectangle { - id: screen - width: 320; height: 240 - property string text - property bool changeColor: false - - Text { id: s1; text: "Hello" } - Rectangle { id: r1; width: 1; height: 1; color: "yellow" } - Rectangle { id: r2; width: 1; height: 1; color: "red" } - - Binding { target: screen; property: "text"; value: s1.text; objectName: "binding1" } - Binding { target: screen; property: "color"; value: r1.color } - Binding { target: screen; property: "color"; when: screen.changeColor == true; value: r2.color; objectName: "binding3" } -} diff --git a/tests/auto/qtquick1/qdeclarativebinding/data/test-binding2.qml b/tests/auto/qtquick1/qdeclarativebinding/data/test-binding2.qml deleted file mode 100644 index 3e99e2b5e6..0000000000 --- a/tests/auto/qtquick1/qdeclarativebinding/data/test-binding2.qml +++ /dev/null @@ -1,16 +0,0 @@ -import QtQuick 1.0 - -Rectangle { - id: screen - width: 320; height: 240 - property string text - property bool changeColor: false - - Text { id: s1; text: "Hello" } - Rectangle { id: r1; width: 1; height: 1; color: "yellow" } - Rectangle { id: r2; width: 1; height: 1; color: "red" } - - Binding { target: screen; property: "text"; value: s1.text } - Binding { target: screen; property: "color"; value: r1.color } - Binding { target: screen; property: "color"; value: r2.color; when: screen.changeColor == true } -} |