diff options
Diffstat (limited to 'tests/qmldynamicdata')
-rw-r--r-- | tests/qmldynamicdata/qml/qmldynamicdata/main.qml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/tests/qmldynamicdata/qml/qmldynamicdata/main.qml b/tests/qmldynamicdata/qml/qmldynamicdata/main.qml index e8e23b75..4ed3b8ae 100644 --- a/tests/qmldynamicdata/qml/qmldynamicdata/main.qml +++ b/tests/qmldynamicdata/qml/qmldynamicdata/main.qml @@ -58,6 +58,16 @@ Item { } } + ThemeColor { + id: dynamicColor + ColorAnimation on color { + from: "red" + to: "yellow" + duration: 5000 + loops: Animation.Infinite + } + } + Item { id: dataView anchors.bottom: parent.bottom @@ -68,7 +78,10 @@ Item { id: scatterGraph width: dataView.width height: dataView.height - theme: Theme3D { type: Theme3D.ThemeDigia } + theme: Theme3D { + type: Theme3D.ThemeQt + baseColors: [dynamicColor] + } shadowQuality: AbstractGraph3D.ShadowQualitySoftMedium scene.activeCamera.yRotation: 30.0 inputHandler: null @@ -185,7 +198,7 @@ Item { NewButton { id: cameraToggle width: parent.width / 3 - text: "Animate Camera" + text: "Pause Camera" anchors.left: shadowToggle.right onClicked: { |