aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtQml/qqmlapplicationengine.qml
blob: 77149ecdc1690d20b59f9ed6c0fb08cc3d1c5b8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (C) 2021 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0

import QtQuick
import QtQuick.Window

Window {
    width: 300
    height: 200
    visible: true

    Item {
        width: 200
        height: 60
        Text {
            anchors {
                verticalCenter: parent.verticalCenter;
                horizontalCenter: parent.horizontalCenter;
            }
            text: "Text"
        }
    }
}