mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
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>
This commit is contained in:
parent
a55efcf7d8
commit
8056e16589
2 changed files with 13 additions and 0 deletions
|
@ -153,6 +153,13 @@ Kirigami.ApplicationWindow {
|
|||
startAddDive()
|
||||
}
|
||||
}
|
||||
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
|
||||
|
@ -353,6 +360,11 @@ Kirigami.ApplicationWindow {
|
|||
visible: false
|
||||
}
|
||||
|
||||
DownloadFromDiveComputer {
|
||||
id: downloadFromDc
|
||||
visible: false
|
||||
}
|
||||
|
||||
ThemeTest {
|
||||
id: themetest
|
||||
visible: false
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<file>DiveDetails.qml</file>
|
||||
<file>DiveDetailsEdit.qml</file>
|
||||
<file>DiveDetailsView.qml</file>
|
||||
<file>DownloadFromDiveComputer.qml</file>
|
||||
<file>GpsList.qml</file>
|
||||
<file>HintsTextEdit.qml</file>
|
||||
<file>Log.qml</file>
|
||||
|
|
Loading…
Add table
Reference in a new issue