QML UI: Load dives from cloud

Load dives from the Subsurface cloud service using the user's saved
credentials. This will display the dives in the same way as loading
them from a local file.

Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
This commit is contained in:
Grace Karanja 2015-07-10 11:31:24 +03:00 committed by Dirk Hohndel
parent f01ec470e7
commit 866d67c5e7
3 changed files with 28 additions and 52 deletions

View file

@ -9,16 +9,6 @@ ApplicationWindow {
title: qsTr("Subsurface")
width: 500;
FileDialog {
id: fileOpen
selectExisting: true
selectMultiple: true
onAccepted: {
manager.setFilename(fileUrl)
}
}
QMLManager {
id: manager
}
@ -48,10 +38,10 @@ ApplicationWindow {
}
Button {
id: openFile
text: "Open File"
id: loadDivesButton
text: "Load Dives"
onClicked: {
fileOpen.open();
manager.loadDives();
}
}
}