summaryrefslogtreecommitdiffstats
path: root/examples/studio3d/qmldatainput/qml/qmldatainput/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/studio3d/qmldatainput/qml/qmldatainput/main.qml')
-rw-r--r--examples/studio3d/qmldatainput/qml/qmldatainput/main.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/studio3d/qmldatainput/qml/qmldatainput/main.qml b/examples/studio3d/qmldatainput/qml/qmldatainput/main.qml
index ab50796..7d55f73 100644
--- a/examples/studio3d/qmldatainput/qml/qmldatainput/main.qml
+++ b/examples/studio3d/qmldatainput/qml/qmldatainput/main.qml
@@ -94,7 +94,7 @@ Item {
+ (modelData.max !== 0 ? "\n range min: " + modelData.min
+ "\n range max: " + modelData.max
: "")
- + " \n metadata keys: [" + modelData.metadataKeys() + "]"
+ + " \n metadata keys: [" + modelData.metadataKeys + "]"
font.pointSize: 6
}
}
@@ -113,10 +113,6 @@ Item {
property string inputString: ""
property variant inputVariant: 0
- onPresentationLoaded: {
- diList.updateModel();
- }
-
// A changing property to demonstrate DataInput
NumberAnimation {
target: studio3D
@@ -179,6 +175,10 @@ Item {
id: presentation
source: "qrc:/presentation/datainput.uia"
+
+ onDataInputsReady: {
+ diList.updateModel();
+ }
DataInput {
// Name must match the data input name specified in the presentation
name: "rangeInput"