summaryrefslogtreecommitdiff
path: root/SDL_Core/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Components/Weather.qml
diff options
context:
space:
mode:
Diffstat (limited to 'SDL_Core/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Components/Weather.qml')
-rw-r--r--SDL_Core/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Components/Weather.qml34
1 files changed, 34 insertions, 0 deletions
diff --git a/SDL_Core/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Components/Weather.qml b/SDL_Core/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Components/Weather.qml
new file mode 100644
index 000000000..0bcaf7720
--- /dev/null
+++ b/SDL_Core/src/components/qt_hmi/References/Work/bananasnacks/qml/Bananas/Components/Weather.qml
@@ -0,0 +1,34 @@
+import QtQuick 2.0
+
+Item {
+ property alias text: text.text
+ property alias temp: temp.text
+ property alias image: image.source
+
+ width: 150
+ height: 75
+
+ Text {
+ id: text
+ text: "Today"
+ anchors.top: parent.top
+ color: "#ffffff"
+ anchors.horizontalCenter: parent.horizontalCenter
+ }
+
+ Text {
+ id: temp
+ text: "72"
+ font.pixelSize: 36
+ anchors.bottom: parent.bottom
+ anchors.right: parent.right
+ color: "#ffffff"
+ }
+
+ Image {
+ id: image
+ source: "../Assets/Cloud.png"
+ anchors.left: parent.left
+ anchors.bottom: parent.bottom
+ }
+}