aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/creation/data/itemWithPropertyBindingsTest4.qml
blob: 0d82416949686c411d8e303e1d8cb1bd3d4d7670 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

import QtQuick 2.0

Item {
    property int p1: foo.p1
    property real p2: foo.p2
    property bool p3: foo.p3
    property string p4: foo.p4

    property alias foo: obj

    QtObject {
        id: obj
        property int p1: 1
        property real p2: 1
        property bool p3: true
        property string p4: "foo"
    }
}