From 07e980e908c45c8d59a566a530e4ef9323aff08c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Korpip=C3=A4=C3=A4?= Date: Wed, 19 Feb 2014 09:02:01 +0200 Subject: Qmlsurfacelayers checkbox order changed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ib547cc541a450e15df36de34623d7042c8b69712 Change-Id: Ib547cc541a450e15df36de34623d7042c8b69712 Reviewed-by: Tomi Korpipää --- .../qmlsurfacelayers/qml/qmlsurfacelayers/main.qml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'examples/datavisualization/qmlsurfacelayers') diff --git a/examples/datavisualization/qmlsurfacelayers/qml/qmlsurfacelayers/main.qml b/examples/datavisualization/qmlsurfacelayers/qml/qmlsurfacelayers/main.qml index 2c425a57..8b802060 100644 --- a/examples/datavisualization/qmlsurfacelayers/qml/qmlsurfacelayers/main.qml +++ b/examples/datavisualization/qmlsurfacelayers/qml/qmlsurfacelayers/main.qml @@ -45,14 +45,14 @@ Item { ColorGradient { id: layerTwoGradient - ColorGradientStop { position: 0.0; color: "red" } - ColorGradientStop { position: 0.15; color: "black" } + ColorGradientStop { position: 0.315; color: "blue" } + ColorGradientStop { position: 0.33; color: "white" } } ColorGradient { id: layerThreeGradient - ColorGradientStop { position: 0.315; color: "blue" } - ColorGradientStop { position: 0.33; color: "white" } + ColorGradientStop { position: 0.0; color: "red" } + ColorGradientStop { position: 0.15; color: "black" } } //! [0] @@ -140,13 +140,13 @@ Item { CheckBox { id: layerTwoToggle - text: "Show Tectonic Layer" + text: "Show Sea Layer" checked: true } CheckBox { id: layerThreeToggle - text: "Show Sea Layer" + text: "Show Tectonic Layer" checked: true } } @@ -171,7 +171,7 @@ Item { CheckBox { id: layerTwoGrid - text: "Show Tectonic as Grid" + text: "Show Sea as Grid" onCheckedChanged: { if (checked) layerTwoSeries.drawMode = Surface3DSeries.DrawWireframe @@ -182,7 +182,7 @@ Item { CheckBox { id: layerThreeGrid - text: "Show Sea as Grid" + text: "Show Tectonic as Grid" onCheckedChanged: { if (checked) layerThreeSeries.drawMode = Surface3DSeries.DrawWireframe -- cgit v1.2.3