aboutsummaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qml/creation/data/itemWithPropertyBindingsTest4.qml
blob: e3c897d7569b00ebb1e198de11abb31a7ae55105 (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 WITH Qt-GPL-exception-1.0

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"
    }
}