QML UI: Start Add Dive feature

Start working on the add dive feature, to enable the user add a
new dive using the mobile UI.

Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
This commit is contained in:
Grace Karanja 2015-08-10 08:35:47 +03:00 committed by Dirk Hohndel
parent 10d8a625d0
commit 8d03d26480
4 changed files with 21 additions and 0 deletions

View file

@ -37,6 +37,16 @@ ApplicationWindow {
stackView.push(downloadDivesWindow)
}
}
MenuItem {
text: "Add Dive"
onTriggered: {
manager.addDive();
detailsWindow.clearDetails()
stackView.push(detailsWindow)
}
}
MenuItem {
text: "Save Changes"
onTriggered: {