aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-08-09 07:14:23 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2017-08-09 07:14:23 +0000
commitbf0368f9af60278f5216dabed3cf9a2bf0e1233b (patch)
tree7115045c3e3b915564d7c25d27502ec6f48db926 /examples/quick
parent0047b3bdc0938077d7049f4103f835b52897b93a (diff)
parent41d0240c8c203fe701efbddc00d0a05254a8a2c4 (diff)
Merge "Merge branch 'wip/pointerhandler' into dev" into refs/staging/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 {