Code Review
/
apps
/
homescreen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
homescreenhandler: Set the application currently app running
[apps/homescreen.git]
/
homescreen
/
qml
/
StatusArea.qml
diff --git
a/homescreen/qml/StatusArea.qml
b/homescreen/qml/StatusArea.qml
index
d2e0930
..
87b27ad
100644
(file)
--- a/
homescreen/qml/StatusArea.qml
+++ b/
homescreen/qml/StatusArea.qml
@@
-22,28
+22,28
@@
import HomeScreen 1.0
Item {
id: root
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
}
property date now: new Date
Timer {
interval: 100; running: true; repeat: true;
onTriggered: root.now = new Date
}
-
+/*
Connections {
target: weather
onConditionChanged: {
var icon = ''
Connections {
target: weather
onConditionChanged: {
var icon = ''
- if (condition.indexOf("clouds") != -1) {
+ if (condition.indexOf("clouds") !=
=
-1) {
icon = "WeatherIcons_Cloudy-01.png"
icon = "WeatherIcons_Cloudy-01.png"
- } else if (condition.indexOf("thunderstorm") != -1) {
+ } else if (condition.indexOf("thunderstorm") !=
=
-1) {
icon = "WeatherIcons_Thunderstorm-01.png"
icon = "WeatherIcons_Thunderstorm-01.png"
- } else if (condition.indexOf("snow") != -1) {
+ } else if (condition.indexOf("snow") !=
=
-1) {
icon = "WeatherIcons_Snow-01.png"
icon = "WeatherIcons_Snow-01.png"
- } else if (condition.indexOf("rain") != -1) {
+ } else if (condition.indexOf("rain") !=
=
-1) {
icon = "WeatherIcons_Rain-01.png"
}
icon = "WeatherIcons_Rain-01.png"
}
@@
-54,7
+54,7
@@
Item {
temperature_item.text = temperature.split(".")[0] + '°F'
}
}
temperature_item.text = temperature.split(".")[0] + '°F'
}
}
-
+*/
RowLayout {
anchors.fill: parent
spacing: 0
RowLayout {
anchors.fill: parent
spacing: 0
@@
-126,6
+126,7
@@
Item {
fillMode: Image.PreserveAspectFit
property string deviceName: "none"
property bool connStatus: false
fillMode: Image.PreserveAspectFit
property string deviceName: "none"
property bool connStatus: false
+/*
Connections {
target: bluetooth
Connections {
target: bluetooth
@@
-133,7
+134,9
@@
Item {
bt_icon.connStatus = state
}
}
bt_icon.connStatus = state
}
}
+*/
}
}
+/*
Repeater {
model: StatusBarModel { objectName: "statusBar" }
delegate: Image {
Repeater {
model: StatusBarModel { objectName: "statusBar" }
delegate: Image {
@@
-143,6
+146,7
@@
Item {
fillMode: Image.PreserveAspectFit
}
}
fillMode: Image.PreserveAspectFit
}
}
+*/
}
}
}
}
}
}