aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-08-08 14:31:35 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2017-08-08 12:57:54 +0000
commit41d0240c8c203fe701efbddc00d0a05254a8a2c4 (patch)
tree55b9edad50aac54b54aebd541f535d827bcb1e2f /examples/quick
parent003e24d72a9647e2dc397906234059fee19103ec (diff)
parent1b0c9b46ce13b0f9c533f18fb420ff10ad56e4f6 (diff)
Merge branch 'wip/pointerhandler' into dev
Diffstat (limited to 'examples/quick')
-rw-r--r--examples/quick/shared/LauncherList.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/quick/shared/LauncherList.qml b/examples/quick/shared/LauncherList.qml
index ba9ee6c5d2..2d1d29c585 100644
--- a/examples/quick/shared/LauncherList.qml
+++ b/examples/quick/shared/LauncherList.qml
@@ -52,6 +52,15 @@ Rectangle {
myModel.append({"name":name, "description":desc, "url":url})
}
+ function hideExample()
+ {
+ ei.visible = false;
+ }
+ function showExample(url)
+ {
+ ei.exampleUrl = url;
+ }
+
// The container rectangle here is used to give a nice "feel" when
// transitioning into an example.
Rectangle {