2 import QtQuick.Window 2.2
3 import QtQuick.Layouts 1.1
4 import QtQuick.Controls 2.0
5 import AGL.Demo.Controls 1.0
12 scale: screenInfo.scale_factor()
14 function qmlOnScreenParameter(message) {
15 console.log(qsTr('OnScreenVICS:QML:System >>> qmlOnScreenMessage.'), message);
16 var message_json = JSON.parse (message);
17 data1.text = message_json.data1;
18 data2.text = message_json.data2;
19 data3.text = message_json.data3;
34 textFormat: Text.AutoText
36 verticalAlignment: Text.AlignVCenter
37 horizontalAlignment: Text.AlignHCenter
45 textFormat: Text.AutoText
47 verticalAlignment: Text.AlignVCenter
48 horizontalAlignment: Text.AlignHCenter
56 textFormat: Text.AutoText
58 verticalAlignment: Text.AlignVCenter
59 horizontalAlignment: Text.AlignHCenter
65 anchors.top: line1.bottom
67 anchors.horizontalCenter: parent.horizontalCenter
72 eventHandler.onScreenReply("Button1");
79 eventHandler.onScreenReply("Button2");
86 eventHandler.onScreenReply("Button3");