summaryrefslogtreecommitdiffstats
path: root/examples/declarative/behaviours/MyRect.qml
blob: a272e1fb3f84c0c1d6f972954caa5ee6d3c5a351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import Qt 4.6

Rectangle {
    radius: 15
    border.color: "black"
    width: 100
    height: 100
    id: page
    MouseRegion {
        anchors.fill: parent
        onClicked: { bluerect.parent = page; bluerect.x=0 }
    }
}