diff options
Diffstat (limited to 'sample-qml/main.qml')
-rw-r--r-- | sample-qml/main.qml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sample-qml/main.qml b/sample-qml/main.qml new file mode 100644 index 0000000..e2af15f --- /dev/null +++ b/sample-qml/main.qml @@ -0,0 +1,38 @@ +import QtQuick 2.6 +import QtQuick.Window 2.2 +import "apps/HVAC" +import "imports" +import "dummyimports" + +Window { + visible: true + width: 1080 + height: 1920 + title: qsTr("AGL sample qml app") + + //MainForm { + // anchors.fill: parent + // mouseArea.onClicked: { + // Qt.quit(); + // } + //} + HVAC { + id: hvc + width: 1080 + height: 1920 + visible: true + } + onVisibleChanged: { + if(visible == true) + { + console.log("visible true") + console.log("maybe it is okay") + hsa.consoleout() + hsa.refresh(); + } + else{ + console.log("visible false") + } + } + +} |