aboutsummaryrefslogtreecommitdiffstats
path: root/tests/baseline/controls/data/dialog/dialog.qml
blob: cf41707da00d0ac3938031bb4d6076a0a1c3b11f (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
import QtQuick
import QtQuick.Controls

Item {
    width: 400
    height: 200

    Dialog {
        topMargin: 20
        leftMargin: 20
        height: 100
        width: 50
        visible: true
        enabled: true
        title: qsTr("dialog 1")
    }

    Dialog {
        topMargin: 20
        leftMargin: 90
        height: 50
        width: 50
        visible: true
        enabled: false
    }

    Dialog {
        topMargin: 20
        leftMargin: 160
        height: 60
        width: 200
        visible: true
        standardButtons: Dialog.Ok | Dialog.Cancel
    }
}