aboutsummaryrefslogtreecommitdiffstats
path: root/HomeScreen/qml/Home.qml
diff options
context:
space:
mode:
authorPhilippe Lelong <lelong.ph@meltemus.com>2016-12-14 16:56:14 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2016-12-20 13:28:35 +0100
commit29be7bef7c0bb700af8992c73ab7a3c6d1fbdfce (patch)
tree51f06a664d6da7fa3e6e27d9778670660c8b9b95 /HomeScreen/qml/Home.qml
parent15e7b5003a6590f780cb115fb2bdb526ce68defc (diff)
add visa card, start websocket inplementation
Diffstat (limited to 'HomeScreen/qml/Home.qml')
-rw-r--r--HomeScreen/qml/Home.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/HomeScreen/qml/Home.qml b/HomeScreen/qml/Home.qml
index a3603be..8753d29 100644
--- a/HomeScreen/qml/Home.qml
+++ b/HomeScreen/qml/Home.qml
@@ -41,6 +41,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
@@ -84,6 +95,9 @@ Item {
sign90.visible = show
}
+ function showVisa(show) {
+ visa.visible = show
+ }
GridView {
anchors.centerIn: parent
width: cellHeight * 3