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

Item {
    width: 400
    height: 200

    Dialog {
        topMargin: 20
        leftMargin: 20
        height: 100
        width: 50
        visible: true
        enabled: true
        header: Text {
            text: 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
    }
}