diff options
Diffstat (limited to 'HomeScreen/qml')
-rw-r--r-- | HomeScreen/qml/Home.qml | 14 | ||||
-rw-r--r-- | HomeScreen/qml/images/Home/home.qrc | 1 | ||||
-rwxr-xr-x | HomeScreen/qml/images/Home/visa.png | bin | 156768 -> 61687 bytes |
3 files changed, 15 insertions, 0 deletions
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 diff --git a/HomeScreen/qml/images/Home/home.qrc b/HomeScreen/qml/images/Home/home.qrc index 4a112ce..14e2828 100644 --- a/HomeScreen/qml/images/Home/home.qrc +++ b/HomeScreen/qml/images/Home/home.qrc @@ -20,5 +20,6 @@ <file>HMI_AppLauncher_Settings_Active-01.png</file> <file>HMI_AppLauncher_Settings_Inactive-01.png</file> <file>B14-90.png</file> + <file>visa.png</file> </qresource> </RCC> diff --git a/HomeScreen/qml/images/Home/visa.png b/HomeScreen/qml/images/Home/visa.png Binary files differindex 2249621..1c854bc 100755 --- a/HomeScreen/qml/images/Home/visa.png +++ b/HomeScreen/qml/images/Home/visa.png |