From cb31b34dbea210a8890004fd59dea3139b00be6c Mon Sep 17 00:00:00 2001 From: Philippe Lelong Date: Wed, 14 Dec 2016 17:08:53 +0100 Subject: add visa, start websocket implementation Signed-off-by: Philippe Lelong --- HomeScreen/qml/Home.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'HomeScreen/qml/Home.qml') diff --git a/HomeScreen/qml/Home.qml b/HomeScreen/qml/Home.qml index 36f3f8a..2e0f490 100644 --- a/HomeScreen/qml/Home.qml +++ b/HomeScreen/qml/Home.qml @@ -40,6 +40,17 @@ Item { source: './images/B14-90.png' visible: false } + Image { + id: visa + width: 200 + height: 124 + anchors.right: parent.right + anchors.rightMargin: 20 + anchors.top: parent.top + anchors.topMargin: 20 + source: './images/visa.png' + visible: false + } Item { id: hello anchors.horizontalCenter: parent.horizontalCenter @@ -83,6 +94,9 @@ Item { sign90.visible = show } + function showVisa(show) { + visa.visible = show + } GridView { anchors.centerIn: parent width: cellHeight * 3 -- cgit 1.2.3-korg