diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-11-29 11:13:12 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2018-11-29 11:13:12 +0800 |
commit | 5ba4327b148f81852c6e2a53bc51ab07b238602e (patch) | |
tree | 0be7f86962e8a26ad3cdbc6cb4309c5fd29761f5 /sample/ons/system.qml | |
parent | e79d82c88e350e6b882158624363b82fe3e2d91a (diff) |
modify display/hide onscreen sequence
Diffstat (limited to 'sample/ons/system.qml')
-rw-r--r-- | sample/ons/system.qml | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/sample/ons/system.qml b/sample/ons/system.qml deleted file mode 100644 index 8592698..0000000 --- a/sample/ons/system.qml +++ /dev/null @@ -1,58 +0,0 @@ -import QtQuick 2.6 -import QtQuick.Window 2.2 -import QtQuick.Layouts 1.1 -import QtQuick.Controls 2.0 -import AGL.Demo.Controls 1.0 - -Item { - id: onScreenSystem - visible: true - width: 1079 - height: 400 - - function qmlOnScreenParameter(message) { - console.log(qsTr('OnScreenSys:QML:System >>> qmlOnScreenMessage.'), message); - var message_json = JSON.parse (message); - var text = message_json.text - label.text = text; - } - - Image { - id : background_image - anchors.fill: parent - anchors.topMargin: 0 - anchors.bottomMargin: 0 - source: "images/oval_1079x400.png" - } - - Label { - id: label - x: 40 - y: 72 - width: 1000 - height: 100 - color: "#eeeeec" - text: "system alert" - font.pixelSize: 50 - textFormat: Text.AutoText - font.wordSpacing: 0 - verticalAlignment: Text.AlignVCenter - horizontalAlignment: Text.AlignHCenter - } - - Button { - id: button -// x: 490 -// y: 250 - anchors.top: label.bottom - anchors.topMargin: 100 - anchors.horizontalCenter: parent.horizontalCenter - text: qsTr("OK") - - onClicked: { -// label.text = "system reject" - eventHandler.onScreenReply("OK"); - } - } - -} |