X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=HomeScreen%2Fqml%2FHome.qml;fp=HomeScreen%2Fqml%2FHome.qml;h=d8315ccd699f043b540973dd2abcad0cd10fe10f;hb=66263b2c54d6f34ed57eb422fc51ad80c6f1cc30;hp=aadf6df2001018e2d518f10e9eb5b5d79f138594;hpb=66f924e8baca29a2dd6bab8c6f17115b16ec4a2f;p=staging%2FHomeScreen.git diff --git a/HomeScreen/qml/Home.qml b/HomeScreen/qml/Home.qml index aadf6df..d8315cc 100644 --- a/HomeScreen/qml/Home.qml +++ b/HomeScreen/qml/Home.qml @@ -51,6 +51,17 @@ Item { anchors.topMargin: 20 source: './images/visa.png' visible: false + Label { + id: cardNumber + anchors.top: parent.bottom + anchors.topMargin: 10 + anchors.horizontalCenter: parent.horizontalCenter + horizontalAlignment: Text.AlignHCenter + color: "white" + text: "111" + font.pixelSize: 20 + font.family: "Roboto" + } } Item { id: hello @@ -62,7 +73,7 @@ Item { id: helloText anchors.centerIn: parent color: "white" - text: "Hello José!" + text: "" font.pixelSize: 40 font.family: "Roboto" SequentialAnimation on font.letterSpacing { @@ -95,8 +106,9 @@ Item { sign90.visible = show } - function showVisa(show) { + function showVisa(show, num) { visa.visible = show + cardNumber.text = num; } GridView { anchors.centerIn: parent