QML UI: experimentally enable context menu on each page

This is necessary to allow all user interaction when removing action
buttons from the top bar.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2016-02-12 04:51:03 -08:00
parent a738174a45
commit d9d1b58e6a
6 changed files with 83 additions and 4 deletions

View file

@ -14,6 +14,17 @@ MobileComponents.Page {
anchors.margins: MobileComponents.Units.gridUnit / 2
objectName: "Log"
contextualActions: [
Action {
text: "Close Log"
iconName: "dialog-cancel"
onTriggered: {
stackView.pop()
contextDrawer.close()
}
}
]
ScrollView {
anchors.fill: parent
Flickable {