summaryrefslogtreecommitdiffstats
path: root/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml
diff options
context:
space:
mode:
authorTuomo Pelkonen <tuomo.pelkonen@gmail.com>2021-01-14 10:49:40 +0200
committerTuomo Pelkonen <tuomo.pelkonen@gmail.com>2021-01-27 10:01:58 +0200
commit6c2aec18ed7f043c17b09c939b9bc521def37aa5 (patch)
tree3dd4face677a6eb9ef2e45b51548d4b5a17263c4 /tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml
parent1fc39261132f0b3edf89934fd055234f8b19ced1 (diff)
Fix most of the QML example applications
Most of the QML examples work now as supposed to. Qmlbars still needs fixing and is not included in this patch. Task-number: QTBUG-89298 Change-Id: Ic8bc6511cdb00dd3db0a181b7a31b3bbc39f0556 Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml')
-rw-r--r--tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml11
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml b/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml
index a49a1184..3c351d29 100644
--- a/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml
+++ b/tests/manual/qmldynamicdata/qml/qmldynamicdata/main.qml
@@ -27,8 +27,9 @@
**
****************************************************************************/
-import QtQuick 2.1
-import QtDataVisualization 1.0
+import QtQuick
+import QtDataVisualization
+import QtQuick.Controls
import "."
Rectangle {
@@ -227,7 +228,7 @@ Rectangle {
}
}
- NewButton {
+ Button {
id: shadowToggle
width: parent.width / 3 // We're adding 3 buttons and want to divide them equally
text: "Hide Shadows"
@@ -244,7 +245,7 @@ Rectangle {
}
}
- NewButton {
+ Button {
id: cameraToggle
width: parent.width / 3
text: "Pause Camera"
@@ -261,7 +262,7 @@ Rectangle {
}
}
- NewButton {
+ Button {
id: exitButton
width: parent.width / 3
text: "Quit"