X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fqml%2FStatusArea.qml;h=87b27ad93abf79a11e3cbe797880b51a8e39a90c;hb=a920d9537132f3778c137edee8d6741102919787;hp=d2e0930f8e84cc3a4fbd5a569d01d5b6e115020e;hpb=0d1f9cfc3afc44f28c5e2d1f3ea06b02feb5f819;p=apps%2Fhomescreen.git diff --git a/homescreen/qml/StatusArea.qml b/homescreen/qml/StatusArea.qml index d2e0930..87b27ad 100644 --- a/homescreen/qml/StatusArea.qml +++ b/homescreen/qml/StatusArea.qml @@ -22,28 +22,28 @@ import HomeScreen 1.0 Item { id: root - width: 295 - height: 218 + //width: 295 + //height: 216 property date now: new Date Timer { interval: 100; running: true; repeat: true; onTriggered: root.now = new Date } - +/* Connections { target: weather onConditionChanged: { var icon = '' - if (condition.indexOf("clouds") != -1) { + if (condition.indexOf("clouds") !== -1) { icon = "WeatherIcons_Cloudy-01.png" - } else if (condition.indexOf("thunderstorm") != -1) { + } else if (condition.indexOf("thunderstorm") !== -1) { icon = "WeatherIcons_Thunderstorm-01.png" - } else if (condition.indexOf("snow") != -1) { + } else if (condition.indexOf("snow") !== -1) { icon = "WeatherIcons_Snow-01.png" - } else if (condition.indexOf("rain") != -1) { + } else if (condition.indexOf("rain") !== -1) { icon = "WeatherIcons_Rain-01.png" } @@ -54,7 +54,7 @@ Item { temperature_item.text = temperature.split(".")[0] + '°F' } } - +*/ RowLayout { anchors.fill: parent spacing: 0 @@ -126,6 +126,7 @@ Item { fillMode: Image.PreserveAspectFit property string deviceName: "none" property bool connStatus: false +/* Connections { target: bluetooth @@ -133,7 +134,9 @@ Item { bt_icon.connStatus = state } } +*/ } +/* Repeater { model: StatusBarModel { objectName: "statusBar" } delegate: Image { @@ -143,6 +146,7 @@ Item { fillMode: Image.PreserveAspectFit } } +*/ } } }