diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-05-11 12:47:54 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-05-27 11:07:01 -0700 |
commit | 8056e16589d31d4b6392569a842c7ee37e1ce965 (patch) | |
tree | f58d17c4df69b65583517c835fb2c565d2b049dd /mobile-widgets/qml/main.qml | |
parent | a55efcf7d88e0521d754508b7ff9f0e89692950a (diff) | |
download | subsurface-8056e16589d31d4b6392569a842c7ee37e1ce965.tar.gz |
QML UI: initial code for Download from Dive Computer
Add a new action on the drawer to display the
Download from Dive Computer options. Nothing works yet.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r-- | mobile-widgets/qml/main.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index d04f2cba3..c4a6a99d6 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -154,6 +154,13 @@ Kirigami.ApplicationWindow { } } Kirigami.Action { + text: qsTr("Download from DC") + enabled: true + onTriggered: { + stackView.push(downloadFromDc) + } + } + Kirigami.Action { text: qsTr("Manual sync with cloud") enabled: manager.credentialStatus === QMLManager.VALID || manager.credentialStatus === QMLManager.VALID_EMAIL || manager.credentialStatus === QMLManager.NOCLOUD onTriggered: { @@ -353,6 +360,11 @@ Kirigami.ApplicationWindow { visible: false } + DownloadFromDiveComputer { + id: downloadFromDc + visible: false + } + ThemeTest { id: themetest visible: false |