diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-01-07 21:40:15 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-07 21:41:52 -0800 |
commit | b6ae6979e530fa32dbdb472a2e9698cb719945a8 (patch) | |
tree | 124ad2b8fe4d0d93d70cf4b6c10556a4283dd270 /qt-mobile/qml/main.qml | |
parent | 06dcc9ab8d6d7ca7d9967fa9db4c8e87ae376dec (diff) | |
download | subsurface-b6ae6979e530fa32dbdb472a2e9698cb719945a8.tar.gz |
QML UI: show the available GPS fixes
So far the user can't interact with these. We should implement an ability to
visualize the GPS fix and to delete it.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-mobile/qml/main.qml')
-rw-r--r-- | qt-mobile/qml/main.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qt-mobile/qml/main.qml b/qt-mobile/qml/main.qml index b9a377c56..db238bb22 100644 --- a/qt-mobile/qml/main.qml +++ b/qt-mobile/qml/main.qml @@ -105,6 +105,14 @@ MobileComponents.ApplicationWindow { } Action { + text: "Show GPS fixes" + onTriggered: { + manager.populateGpsData(); + stackView.push(gpsWindow) + } + } + + Action { text: "Clear GPS cache" onTriggered: { manager.clearGpsData(); @@ -224,6 +232,10 @@ MobileComponents.ApplicationWindow { visible: false } + GpsList { + id: gpsWindow + } + ThemeTest { id: themetest visible: false |