summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/main.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-13 17:21:43 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-13 17:21:43 -0800
commit7afed04520900906107774bb0d06f68dd142602e (patch)
tree3ab622544f5f7b9c7694c9f123f9d5ab6ccb8967 /qt-mobile/qml/main.qml
parent577da54454e83e448b3a9ba912b4ba58fa64d3ab (diff)
downloadsubsurface-7afed04520900906107774bb0d06f68dd142602e.tar.gz
Location service: upload GPS fixes to webservice
With this Subsurface-mobile should be able to mostly replace the companion app. This needs some more testing and fine tuning (for example the minimum time / distance should be configurable, there should be a location name), but I think the hard part is done now. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/main.qml')
-rw-r--r--qt-mobile/qml/main.qml7
1 files changed, 7 insertions, 0 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index d4b01cb33..f28a5795f 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -87,6 +87,13 @@ ApplicationWindow {
}
MenuItem {
+ text: "Send GPS data to server"
+ onTriggered: {
+ manager.sendGpsData();
+ }
+ }
+
+ MenuItem {
text: "Clear stored GPS data"
onTriggered: {
manager.clearGpsData();