implement new menu structure

This patch creates the following menu structure in the application menu
as discussed on irc:

Cloud credentials
Preferences
Manage dives
	Download from computer
	Add dive manually
	Refresh dives
	Upload to cloud
GPS
	Add GPS tags to dives
	Upload GPS data
	Clear GPS cache
Advanced (hidden by default)
	App log
	Theme Information

"Save" moves out of the context menu, since it's a global thing (syncs
to server).

Signed-off-by: Sebastian Kügler <sebas@kde.org>
This commit is contained in:
Sebastian Kügler 2015-12-08 02:33:11 +01:00
parent bfcc4aaf05
commit 36e3c5485e
2 changed files with 48 additions and 55 deletions

View file

@ -44,15 +44,6 @@ MobileComponents.Page {
]
contextualActions: [
Action {
text: "Save"
enabled: diveDetailsWindow.state == "edit"
iconName: "document-save"
onTriggered: {
manager.saveChanges();
contextDrawer.close();
}
},
Action {
text: checked ? "View" : "Edit"
checkable: true