aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/touchinteraction/multipointtouch/AugmentedTouchPoint.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/touchinteraction/multipointtouch/AugmentedTouchPoint.qml')
-rw-r--r--examples/quick/touchinteraction/multipointtouch/AugmentedTouchPoint.qml35
1 files changed, 0 insertions, 35 deletions
diff --git a/examples/quick/touchinteraction/multipointtouch/AugmentedTouchPoint.qml b/examples/quick/touchinteraction/multipointtouch/AugmentedTouchPoint.qml
deleted file mode 100644
index b1d162bbd3..0000000000
--- a/examples/quick/touchinteraction/multipointtouch/AugmentedTouchPoint.qml
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (C) 2017 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-import QtQuick
-import QtQuick.Particles
-
-//! [0]
-TouchPoint {
- id: container
- property ParticleSystem system
- onPressedChanged: {
- if (pressed) {
- timer.restart();
- child.enabled = true;
- system.explode(x,y);
- }
- }
- property QtObject obj: Timer {
- id: timer
- interval: 100
- running: false
- repeat: false
- onTriggered: container.child.enabled = false
- }
- property Item child: SpriteGoal {
- enabled: false
- x: container.area.x - 16
- y: container.area.y - 16
- width: container.area.width + 32
- height: container.area.height + 32 //+32 so it doesn't have to hit the exact center
- system: container.system
- parent: container.system
- goalState: "falling"
- }
-}
-//! [0]