summaryrefslogtreecommitdiff
path: root/qmapwatchlet
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-06-15 21:31:06 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-06-15 21:31:06 +0200
commit6d64f7d6330a42dd57cafcb869dfab34c75ed3bc (patch)
treeff596f6f65a3b1dedc8d2a73c30ce6dbc83dcf91 /qmapwatchlet
parent378611f629abc146eaf0b13301f119d826edb86b (diff)
downloadsowatch-6d64f7d6330a42dd57cafcb869dfab34c75ed3bc.tar.gz
sowatch-6d64f7d6330a42dd57cafcb869dfab34c75ed3bc.zip
add new icons for liveview watchlets
Diffstat (limited to 'qmapwatchlet')
-rw-r--r--qmapwatchlet/compass-liveview-icon.pngbin0 -> 1762 bytes
-rw-r--r--qmapwatchlet/compass-liveview.qml15
-rw-r--r--qmapwatchlet/compass-metawatch-digital-icon.pngbin0 -> 226 bytes
-rw-r--r--qmapwatchlet/qmapwatchlet.pro6
4 files changed, 17 insertions, 4 deletions
diff --git a/qmapwatchlet/compass-liveview-icon.png b/qmapwatchlet/compass-liveview-icon.png
new file mode 100644
index 0000000..bb48368
--- /dev/null
+++ b/qmapwatchlet/compass-liveview-icon.png
Binary files differ
diff --git a/qmapwatchlet/compass-liveview.qml b/qmapwatchlet/compass-liveview.qml
new file mode 100644
index 0000000..60a6aa6
--- /dev/null
+++ b/qmapwatchlet/compass-liveview.qml
@@ -0,0 +1,15 @@
+import QtQuick 1.0
+import com.javispedro.sowatch.qmap 1.0
+
+Rectangle {
+ color: "black"
+
+ CompassView {
+ anchors.centerIn: parent
+ id: compass
+ updateEnabled: watch.active
+ updateInterval: 3000
+ width: 36
+ height: 36
+ }
+}
diff --git a/qmapwatchlet/compass-metawatch-digital-icon.png b/qmapwatchlet/compass-metawatch-digital-icon.png
new file mode 100644
index 0000000..65e7254
--- /dev/null
+++ b/qmapwatchlet/compass-metawatch-digital-icon.png
Binary files differ
diff --git a/qmapwatchlet/qmapwatchlet.pro b/qmapwatchlet/qmapwatchlet.pro
index 240beac..7b655b1 100644
--- a/qmapwatchlet/qmapwatchlet.pro
+++ b/qmapwatchlet/qmapwatchlet.pro
@@ -13,7 +13,8 @@ HEADERS += qmapwatchletplugin.h qmapwatchlet.h mapview.h \
qml_files.files = map-metawatch-digital.qml map-liveview.qml \
map-icon.png map-metawatch-digital-icon.png map-liveview-icon.png arrow.png \
- compass-metawatch-digital.qml compass-icon.png compass.png
+ compass-metawatch-digital.qml compass-liveview.qml \
+ compass-icon.png compass-metawatch-digital-icon.png compass-liveview-icon.png compass.png
LIBS += -L$$OUT_PWD/../libsowatch/ -lsowatch
INCLUDEPATH += $$PWD/../libsowatch
@@ -30,6 +31,3 @@ unix:!symbian {
}
INSTALLS += target qml_files
}
-
-OTHER_FILES += \
- map-liveview.qml