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"
}
temperature_item.text = temperature.split(".")[0] + '°F'
}
}
-
+*/
RowLayout {
anchors.fill: parent
spacing: 0
fillMode: Image.PreserveAspectFit
property string deviceName: "none"
property bool connStatus: false
+/*
Connections {
target: bluetooth
bt_icon.connStatus = state
}
}
+*/
}
+/*
Repeater {
model: StatusBarModel { objectName: "statusBar" }
delegate: Image {
fillMode: Image.PreserveAspectFit
}
}
+*/
}
}
}