qmlfrontend/Page1.qml
branchqmlfrontend
changeset 12861 488782d9aba9
parent 12858 0c6fb706f747
child 12863 fe16fa088b69
--- a/qmlfrontend/Page1.qml	Mon Dec 25 00:58:47 2017 +0100
+++ b/qmlfrontend/Page1.qml	Tue Dec 26 01:36:58 2017 +0100
@@ -6,4 +6,18 @@
     console.log("Button clicked")
     HWEngine.getPreview()
   }
+
+  Connections {
+      target: HWEngine
+      onPreviewImageChanged: {
+          previewImage.source = "image://preview/image"
+      }
+      onPreviewIsRendering: {
+        console.log("==========")
+          previewImage.source = "qrc:/res/iconTime.png"
+      }
+      onPreviewHogCountChanged: {
+      }
+  }
+
 }