X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fqml%2FHome.qml;fp=HomeScreen%2Fqml%2FHome.qml;h=aadf6df2001018e2d518f10e9eb5b5d79f138594;hb=66f924e8baca29a2dd6bab8c6f17115b16ec4a2f;hp=c4951fef157a11558f3ba685797c8669695a19b6;hpb=dd7bb40b885efbde6ca7121194403857ef263208;p=staging%2FHomeScreen.git diff --git a/HomeScreen/qml/Home.qml b/HomeScreen/qml/Home.qml index c4951fe..aadf6df 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