summaryrefslogtreecommitdiff
path: root/sysinfowatchlet
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-01-03 19:04:30 +0100
committerJavier S. Pedro <maemo@javispedro.com>2012-01-03 19:04:30 +0100
commit989b0c15d56472dd430edb378315d5c40bc91d08 (patch)
tree2e3130e161ebd04f019e5b2515e47c619d28373e /sysinfowatchlet
parent42877713055d098a259ac33f3278336610f22b9b (diff)
downloadsowatch-989b0c15d56472dd430edb378315d5c40bc91d08.tar.gz
sowatch-989b0c15d56472dd430edb378315d5c40bc91d08.zip
adding icons to mw watchlet titles
Diffstat (limited to 'sysinfowatchlet')
-rw-r--r--sysinfowatchlet/icon.pngbin0 -> 3237 bytes
-rw-r--r--sysinfowatchlet/metawatch-digital.qml2
-rw-r--r--sysinfowatchlet/sysinfowatchlet.pro2
3 files changed, 3 insertions, 1 deletions
diff --git a/sysinfowatchlet/icon.png b/sysinfowatchlet/icon.png
new file mode 100644
index 0000000..137d583
--- /dev/null
+++ b/sysinfowatchlet/icon.png
Binary files differ
diff --git a/sysinfowatchlet/metawatch-digital.qml b/sysinfowatchlet/metawatch-digital.qml
index 67486ba..1e6acfb 100644
--- a/sysinfowatchlet/metawatch-digital.qml
+++ b/sysinfowatchlet/metawatch-digital.qml
@@ -13,10 +13,12 @@ Rectangle {
MWTitle {
id: title
text: qsTr("Phone Info")
+ icon.source: "icon.png"
}
Column {
spacing: 4
+ width: 96
Text {
text: "Battery: " + batteryLevel + "%"
diff --git a/sysinfowatchlet/sysinfowatchlet.pro b/sysinfowatchlet/sysinfowatchlet.pro
index 96af06a..70fd3f7 100644
--- a/sysinfowatchlet/sysinfowatchlet.pro
+++ b/sysinfowatchlet/sysinfowatchlet.pro
@@ -15,7 +15,7 @@ SOURCES += sysinfoplugin.cpp sysinfowatchlet.cpp
HEADERS += sysinfoplugin.h sysinfowatchlet.h
-qml_files.files = metawatch-digital.qml
+qml_files.files = metawatch-digital.qml icon.png
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../libsowatch/release/ -lsowatch
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../libsowatch/debug/ -lsowatch