blob: e2af15fde0e360d8f7513cb5126f113974dbda91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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")
}
}
}
|