aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmldesigner/data/merging/ListViewStyle.qml
blob: 4e68326f0a70248cd5919c5e7c5b3bfbec62878d (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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import QtQuick 2.12


Rectangle {
    id: artboard
    width: 800
    height: 600
    color: "#ee4040"

    Rectangle {
        id: listViewBackground
        x: 19
        y: 34
        width: 420
        height: 420

        color: "#69b5ec"

    }

    Rectangle {
        id: delegateNormal
        x: 19
        y: 51
        color: "#bdbdbd"

        height: 120

        width: 420

        radius: 4
        Text {
            id: labelNormal //id required for binding preservation
            color: "#343434"
            text: "some text"
            anchors.top: parent.top
            anchors.horizontalCenter: parent.horizontalCenter

            anchors.margins: 24
        }
    }


    Rectangle {
        id: delegateHighlighted
        x: 19
        y: 177
        color: "#8125eb29"
        height: 120

        width: 420

        radius: 4
        Text {
            id: labelHighlighted //id required for binding preservation
            color: "#efefef"
            text: "some text"
            anchors.top: parent.top
            anchors.horizontalCenter: parent.horizontalCenter

            anchors.margins: 52
        }
    }


    Rectangle {
        id: listViewHighLight
        x: 19
        y: 323
        width: 420
        height: 120
        color: "#343434"
        radius: 4
        border.color: "#0d52a4"
        border.width: 8
    }



}