aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/creation/data/itemWithPropertyBindingsTest3.qml
blob: 923c6d7210b809881da79f9d549cea6c2c108c39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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.0

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

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