summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/t3/Cell.qml
blob: bd5bbe7c801b17d906ea47dac20f9b1e0c03673f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Item {
    id: CellContainer
    width: 40
    height: 25
    properties: Property {
        name: "color"
    }
    Rect {
        anchors.fill: parent
        color: CellContainer.color
    }
    MouseRegion {
        anchors.fill: parent
        onClicked: { HelloText.color = CellContainer.color }
    }
}