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
@ -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…
x
Reference in New Issue
Block a user