blob: b36fcdef086f97aa34eb8c6c7ae9f3b2a1bf68af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (C) 2017 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
import QtQuick 2.12
Item {
width: 320
height: 240
Button {
id: button
objectName: "Overridden"
label: "Overridden"
x: 10; y: 10; width: parent.width - 20; height: 40
TapHandler {
gesturePolicy: TapHandler.ReleaseWithinBounds
objectName: "override"
onTapped: button.tapped()
}
}
}
|