summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml4
-rw-r--r--tests/manual/qmlgradient/qml/qmlgradient/main.qml2
-rw-r--r--tests/manual/qmlperf/qml/qmlperf/main.qml20
3 files changed, 13 insertions, 13 deletions
diff --git a/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml b/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml
index d5a8506e..25bf3486 100644
--- a/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml
+++ b/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml
@@ -158,12 +158,12 @@ Rectangle {
property int mouseX: -1
property int mouseY: -1
- onPositionChanged: {
+ onPositionChanged: (mouse)=> {
mouseX = mouse.x;
mouseY = mouse.y;
}
- onWheel: {
+ onWheel: (wheel)=> {
// Adjust zoom level based on what zoom range we're in.
var zoomLevel = scatterGraph.scene.activeCamera.zoomLevel;
if (zoomLevel > 100)
diff --git a/tests/manual/qmlgradient/qml/qmlgradient/main.qml b/tests/manual/qmlgradient/qml/qmlgradient/main.qml
index 8aff340c..7df90def 100644
--- a/tests/manual/qmlgradient/qml/qmlgradient/main.qml
+++ b/tests/manual/qmlgradient/qml/qmlgradient/main.qml
@@ -122,7 +122,7 @@ Rectangle {
axisX.title: "Latitude"
axisZ.title: "Longitude"
- Surface3DSeries{
+ Surface3DSeries {
id: heightSeries
drawMode: Surface3DSeries.DrawSurface
visible: true
diff --git a/tests/manual/qmlperf/qml/qmlperf/main.qml b/tests/manual/qmlperf/qml/qmlperf/main.qml
index 84ad4a71..1ff64ad5 100644
--- a/tests/manual/qmlperf/qml/qmlperf/main.qml
+++ b/tests/manual/qmlperf/qml/qmlperf/main.qml
@@ -136,17 +136,17 @@ Rectangle {
fpsText.text = itemCount + " : " + scatterPlot.currentFps.toFixed(1);
}
-// theme: Theme3D {
-// type: Theme3D.ThemeRetro
-// colorStyle: Theme3D.ColorStyleRangeGradient
-// baseGradients: customGradient
+ theme: Theme3D {
+ type: Theme3D.ThemeRetro
+ colorStyle: Theme3D.ColorStyleRangeGradient
+ baseGradients: customGradient
-// ColorGradient {
-// id: customGradient
-// ColorGradientStop { position: 1.0; color: "red" }
-// ColorGradientStop { position: 0.0; color: "blue" }
-// }
-// }
+ ColorGradient {
+ id: customGradient
+ ColorGradientStop { position: 1.0; color: "red" }
+ ColorGradientStop { position: 0.0; color: "blue" }
+ }
+ }
Scatter3DSeries {
id: scatterSeries