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/ButtonPage.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/quickcontrols2/gallery/pages/ButtonPage.qml') diff --git a/examples/quickcontrols2/gallery/pages/ButtonPage.qml b/examples/quickcontrols2/gallery/pages/ButtonPage.qml index c77b41e4..dce39203 100644 --- a/examples/quickcontrols2/gallery/pages/ButtonPage.qml +++ b/examples/quickcontrols2/gallery/pages/ButtonPage.qml @@ -55,6 +55,8 @@ import QtQuick.Controls 2.12 ScrollablePage { id: page + readonly property string control : "button" + Column { spacing: 40 width: parent.width -- cgit v1.2.3