aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/shared
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2017-02-08 15:08:53 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2017-02-14 07:01:56 +0000
commit4e7041c65216ada4f5fb604a9df840152ba60317 (patch)
tree30d117f7df2fbabd48781a6abe06a3503a7c68ab /examples/quick/shared
parent34d17ce0243ffad278ac7cf57804bf150524940a (diff)
pointer handlers manual test: can give arg with qml to launch
This makes it easier to repeatedly launch the same test: specify the qml file on the command line instead of having to click the list item each time. e.g. ./pointer tapHandler.qml Change-Id: I30b449b161107b1746418fc45518d202ba7d8381 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'examples/quick/shared')
-rw-r--r--examples/quick/shared/LauncherList.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/quick/shared/LauncherList.qml b/examples/quick/shared/LauncherList.qml
index 6878cf01f2..1c83c99a33 100644
--- a/examples/quick/shared/LauncherList.qml
+++ b/examples/quick/shared/LauncherList.qml
@@ -52,6 +52,10 @@ Rectangle {
{
ei.visible = false;
}
+ function showExample(url)
+ {
+ ei.exampleUrl = url;
+ }
ListView {
clip: true