diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-07-27 10:34:25 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2018-07-27 10:34:25 +0900 |
commit | 9b9350b623052d650f9d530f570a245b8d3aedbe (patch) | |
tree | 223e7e41819fb5e4b45f79245a9a4e31628adf3c /app | |
parent | b2670af592e664ed304f7df77d84f1964f039636 (diff) |
add sample codesandbox/zheng_wenlong/beta
Diffstat (limited to 'app')
-rw-r--r-- | app/main.qml | 4 | ||||
-rw-r--r-- | app/phone.qml | 18 | ||||
-rw-r--r-- | app/system.qml | 18 |
3 files changed, 20 insertions, 20 deletions
diff --git a/app/main.qml b/app/main.qml index 4bf54ce..6f46e4b 100644 --- a/app/main.qml +++ b/app/main.qml @@ -23,8 +23,8 @@ import AGL.Demo.Controls 1.0 ApplicationWindow { id: root visible: true - width: 1079 - height: 400 + width: 1080 + height: 1488 color: "#00000000" // function qmlOnScreenMessage(text) { diff --git a/app/phone.qml b/app/phone.qml index 9b9052c..3417685 100644 --- a/app/phone.qml +++ b/app/phone.qml @@ -7,8 +7,8 @@ import AGL.Demo.Controls 1.0 Item { id: onScreenPhone visible: true - width: 1079 - height: 400 + width: 1080 + height: 1488 property string messageText: "Incoming Call" function qmlOnScreenMessage(text) { @@ -36,13 +36,13 @@ Item { } } - Image { - id : background_image - anchors.fill: parent - anchors.topMargin: 0 - anchors.bottomMargin: 0 - source: "images/heart_1079x400.png" - } + // Image { + // id : background_image + // anchors.fill: parent + // anchors.topMargin: 0 + // anchors.bottomMargin: 0 + // source: "images/heart_1079x400.png" + // } ToggleButton { id: answerButton diff --git a/app/system.qml b/app/system.qml index 7eccd4a..1d4727c 100644 --- a/app/system.qml +++ b/app/system.qml @@ -7,21 +7,21 @@ import AGL.Demo.Controls 1.0 Item { id: onScreenSystem visible: true - width: 1079 - height: 400 + width: 1080 + height: 1488 function qmlOnScreenMessage(text) { console.log(qsTr('OnScreenApp:QML:System >>> qmlOnScreenMessage.')); label.text = text; } - Image { - id : background_image - anchors.fill: parent - anchors.topMargin: 0 - anchors.bottomMargin: 0 - source: "images/oval_1079x400.png" - } + // Image { + // id : background_image + // anchors.fill: parent + // anchors.topMargin: 0 + // anchors.bottomMargin: 0 + // source: "images/oval_1079x400.png" + // } Label { id: label |