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
+ 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
anchors.horizontalCenter: parent.horizontalCenter
id: helloText
anchors.centerIn: parent
color: "white"
- text: "Hello José!"
+ text: ""
font.pixelSize: 40
font.family: "Roboto"
SequentialAnimation on font.letterSpacing {
sign90.visible = show
}
+ function showVisa(show, num) {
+ visa.visible = show
+ cardNumber.text = num;
+ }
GridView {
anchors.centerIn: parent
width: cellHeight * 3