summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/t2/Cell.qml
blob: 5d6ff520eeeed5ecf39d1f7bf8ff5ad78d088733 (plain)
1
2
3
4
5
6
7
<Item id="CellContainer" width="40" height="25">
    <properties>
        <Property name="color"/>
    </properties>
    <Rect anchors.fill="{parent}" color="{CellContainer.color}"/>
    <MouseRegion anchors.fill="{parent}" onClicked="HelloText.color = CellContainer.color" />
</Item>