aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols/qquickpopup/data/tabFence.qml
blob: a96cf1687ceb561d1c5118e27d243755035c3639 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Copyright (C) 2019 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

import QtQuick
import QtQuick.Layouts
import QtQuick.Window
import QtQuick.Controls

ApplicationWindow {
    width: 400
    height: 400
    objectName: "Rectangle"

    property alias dialog: dialog
    property alias outsideButton1: outsideButton1
    property alias outsideButton2: outsideButton2
    property alias dialogButton1: dialogButton1
    property alias dialogButton2: dialogButton2

    ColumnLayout {
        Button {
            id: outsideButton1
            text: "Button1"
        }
        Button {
            id: outsideButton2
            text: "Button2"
        }
    }

    Dialog {
        id: dialog
        objectName: "Dialog"
        width: 200
        height: 200
        anchors.centerIn: parent
        visible: true

        ColumnLayout {
            Button {
                id: dialogButton1
                text: "Button3"
            }
            Button {
                id: dialogButton2
                text: "Button4"
            }
        }
    }
}