summaryrefslogtreecommitdiff
path: root/qmapwatchlet/compass-liveview.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qmapwatchlet/compass-liveview.qml')
-rw-r--r--qmapwatchlet/compass-liveview.qml15
1 files changed, 15 insertions, 0 deletions
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
+ }
+}