aboutsummaryrefslogtreecommitdiffstats
path: root/HomeScreen/qml
diff options
context:
space:
mode:
Diffstat (limited to 'HomeScreen/qml')
-rw-r--r--HomeScreen/qml/Home.qml16
-rw-r--r--HomeScreen/qml/MediaAreaBlank.qml4
-rw-r--r--HomeScreen/qml/StatusArea.qml1
-rw-r--r--HomeScreen/qml/images/Utility_Logo_Red-01.pngbin0 -> 7306 bytes
-rw-r--r--HomeScreen/qml/images/images.qrc1
5 files changed, 20 insertions, 2 deletions
diff --git a/HomeScreen/qml/Home.qml b/HomeScreen/qml/Home.qml
index 8753d29..63bb385 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
diff --git a/HomeScreen/qml/MediaAreaBlank.qml b/HomeScreen/qml/MediaAreaBlank.qml
index 3d53061..48595eb 100644
--- a/HomeScreen/qml/MediaAreaBlank.qml
+++ b/HomeScreen/qml/MediaAreaBlank.qml
@@ -23,7 +23,11 @@ Image {
source: './images/Utility_Logo_Background-01.png'
Image {
+ objectName: "Logo_colour"
anchors.centerIn: parent
source: './images/Utility_Logo_Colour-01.png'
+ function setImage(imagePath) {
+ source = imagePath
+ }
}
}
diff --git a/HomeScreen/qml/StatusArea.qml b/HomeScreen/qml/StatusArea.qml
index 12d0d46..3d55947 100644
--- a/HomeScreen/qml/StatusArea.qml
+++ b/HomeScreen/qml/StatusArea.qml
@@ -144,6 +144,7 @@ Item {
}
}
}
+ Component.onCompleted: root.languageChanged("en")
}
ColumnLayout {
id: icons
diff --git a/HomeScreen/qml/images/Utility_Logo_Red-01.png b/HomeScreen/qml/images/Utility_Logo_Red-01.png
new file mode 100644
index 0000000..8c49068
--- /dev/null
+++ b/HomeScreen/qml/images/Utility_Logo_Red-01.png
Binary files differ
diff --git a/HomeScreen/qml/images/images.qrc b/HomeScreen/qml/images/images.qrc
index 2d8e902..1323107 100644
--- a/HomeScreen/qml/images/images.qrc
+++ b/HomeScreen/qml/images/images.qrc
@@ -6,5 +6,6 @@
<file>Utility_Music_Background-01.png</file>
<file>Utility_Radio_Background-01.png</file>
<file>AGL_HMI_Background_NoCar-01.png</file>
+ <file>Utility_Logo_Red-01.png</file>
</qresource>
</RCC>