summaryrefslogtreecommitdiffstats
path: root/tests/QtDeclarative/connect_python_qml.qml
blob: dbf890f6f334dca0187df7f63a235a0ba2f466bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import Qt 4.7

Rectangle {
    id: page
    width: 500; height: 200
    color: "lightgray"

    Rectangle {
	id: button
	width: 150; height: 40
	color: "darkgray"
	anchors.horizontalCenter: page.horizontalCenter
	y: 150
	MouseArea {
	    id: buttonMouseArea
	    objectName: "buttonMouseArea"
	    anchors.fill: parent
	}
    }
}