]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/pdm-anomaly-detection.git/commitdiff
Qt display: by default show the images for the motor setup, call flow, and system...
authorHongmei Gou <h-gou@ti.com>
Tue, 21 May 2019 22:16:40 +0000 (18:16 -0400)
committerHongmei Gou <h-gou@ti.com>
Tue, 21 May 2019 22:16:40 +0000 (18:16 -0400)
* The images above can provide useful information for the out of box demo
  which is using pre-recorded sensor data

Signed-off-by: Hongmei Gou <h-gou@ti.com>
qml/pdm-anomaly-detection/ControlPanel.qml
qml/pdm-anomaly-detection/main.qml

index c9554de26e54dd751118430ac14d28dd242c2e97..f1b4df0626d8467122fd30d63a13fcf034c10c9a 100644 (file)
@@ -10,7 +10,7 @@ ColumnLayout {
     MultiButton {
         id: imageDisplayButton
         text: " Setup Image and Diagram"
-        items: ["Show", "Hide"]
+        items: ["Hide", "Show"]
         currentSelection: 0
         onSelectionChanged: imageDisplayChanged(currentSelection == 1);
     }
index d5972c77c5e4bed44876c9fb4a27729d37d46e93..b12959a4646c7b8b348b5dd4a38d7f6a65513650 100644 (file)
@@ -55,7 +55,7 @@ Item {
         id: picmotordrive
         source: "./motor-drive.png"
         scale: 0.83
-        visible: false
+        visible: true
         anchors.top: scopeView.top
         anchors.topMargin: 80
         anchors.right: scopeView.right
@@ -78,7 +78,7 @@ Item {
         id: picanomalydetection
         source: "./anomaly-detection.png"
         scale: 0.85
-        visible: false
+        visible: true
         anchors.top: pdmView.top
         anchors.topMargin: 70
         anchors.right: pdmView.right
@@ -89,7 +89,7 @@ Item {
         id: picsystemmodel
         source: "./system-model.png"
         scale: 0.8
-        visible: false
+        visible: true
         anchors.top: pdmView.top
         anchors.topMargin:160
         anchors.right: pdmView.right