aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickshortcut/data/multiple.qml
blob: 98554846c578f42411f7b12226bdbb4a1e94073e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

import QtQuick 2.9
import QtQuick.Window 2.2

Window {
    id: window

    width: 300
    height: 300

    property bool activated: false
    property alias shortcut: shortcut

    Shortcut {
        id: shortcut
        onActivated: window.activated = true
    }
}