From d9d1b58e6a23f71012c7f1eef585241cc17d696c Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 12 Feb 2016 04:51:03 -0800 Subject: 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 --- qt-mobile/qml/About.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'qt-mobile/qml/About.qml') diff --git a/qt-mobile/qml/About.qml b/qt-mobile/qml/About.qml index fb389ca86..87d7a0a3e 100644 --- a/qt-mobile/qml/About.qml +++ b/qt-mobile/qml/About.qml @@ -8,6 +8,17 @@ MobileComponents.Page { id: aboutPage property int pageWidth: subsurfaceTheme.columnWidth - MobileComponents.Units.gridUnit + contextualActions: [ + Action { + text: "Close About" + iconName: "dialog-cancel" + onTriggered: { + stackView.pop() + contextDrawer.close() + } + } + ] + ScrollView { anchors.fill: parent -- cgit v1.2.3-70-g09d2