From 492586930b4edbee5a8ab13de3fead9efa1b3e38 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 9 Jan 2020 11:33:12 +0100 Subject: Gallery example: Add "Help" menu and shortcut Add a property "control" identifying the control to be demo-ed to the page and add a help shortcut and menu item displaying its help. Change-Id: Ic3c7c31f5a44fccd57ee018fd3681dc6bdffee58 Reviewed-by: Cristian Maureira-Fredes Reviewed-by: Paul Wicking Reviewed-by: Venugopal Shivashankar --- examples/quickcontrols2/gallery/pages/ScrollablePage.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/quickcontrols2/gallery/pages/ScrollablePage.qml') diff --git a/examples/quickcontrols2/gallery/pages/ScrollablePage.qml b/examples/quickcontrols2/gallery/pages/ScrollablePage.qml index afb5ef5c..2d525cf6 100644 --- a/examples/quickcontrols2/gallery/pages/ScrollablePage.qml +++ b/examples/quickcontrols2/gallery/pages/ScrollablePage.qml @@ -54,6 +54,8 @@ import QtQuick.Controls 2.12 Page { id: page + readonly property string control : "flickable" + default property alias content: pane.contentItem Flickable { -- cgit v1.2.3