aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-01-09 11:33:12 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-01-10 10:04:09 +0100
commit492586930b4edbee5a8ab13de3fead9efa1b3e38 (patch)
tree9547b2b14d94b84b3a484a81baae532712e4afe6 /examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml
parentec686af14f817cc51323cfb01186f036905789c3 (diff)
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 <cristian.maureira-fredes@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml')
-rw-r--r--examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml b/examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml
index b0aa6284..504993f2 100644
--- a/examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml
+++ b/examples/quickcontrols2/gallery/pages/BusyIndicatorPage.qml
@@ -54,6 +54,8 @@ import QtQuick.Controls 2.12
ScrollablePage {
id: page
+ readonly property string control : "busyindicator"
+
Column {
spacing: 40
width: parent.width