blob: 54adc87c54ef9fe1fcd73babe276d389cb76bc29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
import QtQuick 2.12
Item {
id: root
width: 100
height: 100
property int tapCount: 0
TapHandler {
onTapped: { ++root.tapCount }
}
}
|