summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qml/main.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-07 21:43:22 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-07 21:43:22 -0800
commit1eda61e1158de19a47acdfc5525f5f0df002052f (patch)
treefd981938b70fe20c20b3ea2ffc90abd9db74de9a /qt-mobile/qml/main.qml
parentce3a78efcac2c9b6bd215bc191560a64c54fd628 (diff)
parentb6ae6979e530fa32dbdb472a2e9698cb719945a8 (diff)
downloadsubsurface-1eda61e1158de19a47acdfc5525f5f0df002052f.tar.gz
Merge branch 'gpsList'
Diffstat (limited to 'qt-mobile/qml/main.qml')
-rw-r--r--qt-mobile/qml/main.qml19
1 files changed, 19 insertions, 0 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml
index c0d079106..db238bb22 100644
--- a/qt-mobile/qml/main.qml
+++ b/qt-mobile/qml/main.qml
@@ -98,6 +98,21 @@ MobileComponents.ApplicationWindow {
}
Action {
+ text: "Download GPS data"
+ onTriggered: {
+ manager.downloadGpsData();
+ }
+ }
+
+ Action {
+ text: "Show GPS fixes"
+ onTriggered: {
+ manager.populateGpsData();
+ stackView.push(gpsWindow)
+ }
+ }
+
+ Action {
text: "Clear GPS cache"
onTriggered: {
manager.clearGpsData();
@@ -217,6 +232,10 @@ MobileComponents.ApplicationWindow {
visible: false
}
+ GpsList {
+ id: gpsWindow
+ }
+
ThemeTest {
id: themetest
visible: false