mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix indentation
It's a bit all over the place. This makes it consistent and aligned. Signed-off-by: Sebastian Kügler <sebas@kde.org>
This commit is contained in:
parent
d9cfdc3b69
commit
72411eee63
1 changed files with 78 additions and 69 deletions
|
|
@ -40,21 +40,21 @@ MobileComponents.ApplicationWindow {
|
||||||
},
|
},
|
||||||
|
|
||||||
Action {
|
Action {
|
||||||
text: "Load dives from cloud"
|
text: "Load Dives"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
manager.loadDives();
|
manager.loadDives();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
Action {
|
Action {
|
||||||
text: "Download dives from dive computer"
|
text: "Download Dives"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
stackView.push(downloadDivesWindow)
|
stackView.push(downloadDivesWindow)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
Action {
|
Action {
|
||||||
text: "Add dive"
|
text: "Add Dive"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
manager.addDive();
|
manager.addDive();
|
||||||
stackView.push(detailsWindow)
|
stackView.push(detailsWindow)
|
||||||
|
|
@ -62,7 +62,7 @@ MobileComponents.ApplicationWindow {
|
||||||
},
|
},
|
||||||
|
|
||||||
Action {
|
Action {
|
||||||
text: "Save changes"
|
text: "Save Changes"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
manager.saveChanges();
|
manager.saveChanges();
|
||||||
}
|
}
|
||||||
|
|
@ -70,6 +70,14 @@ MobileComponents.ApplicationWindow {
|
||||||
|
|
||||||
MobileComponents.ActionGroup {
|
MobileComponents.ActionGroup {
|
||||||
text: "GPS"
|
text: "GPS"
|
||||||
|
Action {
|
||||||
|
text: "Run location service"
|
||||||
|
checkable: true
|
||||||
|
checked: manager.locationServiceEnabled
|
||||||
|
onToggled: {
|
||||||
|
manager.locationServiceEnabled = checked;
|
||||||
|
}
|
||||||
|
}
|
||||||
Action {
|
Action {
|
||||||
text: "Apply GPS data to dives"
|
text: "Apply GPS data to dives"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
|
|
@ -93,19 +101,20 @@ MobileComponents.ApplicationWindow {
|
||||||
},
|
},
|
||||||
|
|
||||||
Action {
|
Action {
|
||||||
text: "View log"
|
text: "View Log"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
stackView.push(logWindow)
|
stackView.push(logWindow)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
Action {
|
Action {
|
||||||
text: "Theme information"
|
text: "Theme Information"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
stackView.push(themetest)
|
stackView.push(themetest)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
] // end actions
|
||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
height: childrenRect.height
|
height: childrenRect.height
|
||||||
width: MobileComponents.Units.gridUnit * 10
|
width: MobileComponents.Units.gridUnit * 10
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue