From acebe1738e6598e6653673bf4adf61b1cb1e0911 Mon Sep 17 00:00:00 2001 From: aavit Date: Mon, 29 Oct 2012 12:14:55 +0100 Subject: [PATCH] Update qml test scenes with new property names Change-Id: I67953f257f8948f3ec821cf3e5bc4763aff8d1aa Reviewed-by: Paul Olav Tvete --- tests/manual/scenegraph_lancelot/data/rectangles/test-rectangles.qml | 4 ++-- tests/manual/scenegraph_lancelot/data/shaders/culling/culling_1.qml | 2 +- tests/manual/scenegraph_lancelot/data/shaders/culling/culling_2.qml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/manual/scenegraph_lancelot/data/rectangles/test-rectangles.qml b/tests/manual/scenegraph_lancelot/data/rectangles/test-rectangles.qml index b2dcf4e..0eb0a37 100644 --- a/tests/manual/scenegraph_lancelot/data/rectangles/test-rectangles.qml +++ b/tests/manual/scenegraph_lancelot/data/rectangles/test-rectangles.qml @@ -42,7 +42,7 @@ Rectangle { anchors.fill: parent anchors.margins: 10 radius: index * 20 - border.aligned: local._index == 1 + border.pixelAligned: local._index == 1 border.width: local._index == 0 ? 0 : 0.5 opacity: 0.5 color: "steelBlue" @@ -58,7 +58,7 @@ Rectangle { anchors.fill: parent anchors.margins: 10 radius: index * 20 - border.aligned: local._index == 1 + border.pixelAligned: local._index == 1 border.width: local._index == 0 ? 0 : 0.5 opacity: 0.5 gradient: Gradient { diff --git a/tests/manual/scenegraph_lancelot/data/shaders/culling/culling_1.qml b/tests/manual/scenegraph_lancelot/data/shaders/culling/culling_1.qml index 4768791..76ce60f 100644 --- a/tests/manual/scenegraph_lancelot/data/shaders/culling/culling_1.qml +++ b/tests/manual/scenegraph_lancelot/data/shaders/culling/culling_1.qml @@ -69,7 +69,7 @@ Rectangle { anchors.margins: 10 width: 200 height: 100 - culling: model.bar + cullMode: model.bar property variant frontSource: front property variant backSource: back fragmentShader: " diff --git a/tests/manual/scenegraph_lancelot/data/shaders/culling/culling_2.qml b/tests/manual/scenegraph_lancelot/data/shaders/culling/culling_2.qml index a6fcc26..45f20dd 100644 --- a/tests/manual/scenegraph_lancelot/data/shaders/culling/culling_2.qml +++ b/tests/manual/scenegraph_lancelot/data/shaders/culling/culling_2.qml @@ -69,7 +69,7 @@ Rectangle { anchors.margins: 10 width: 200 height: 100 - culling: model.bar + cullMode: model.bar property variant frontSource: front property variant backSource: back fragmentShader: " -- 2.7.4