summaryrefslogtreecommitdiffstats
path: root/tests/QtDeclarative/connect_python_qml.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtDeclarative/connect_python_qml.qml')
-rw-r--r--tests/QtDeclarative/connect_python_qml.qml20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/QtDeclarative/connect_python_qml.qml b/tests/QtDeclarative/connect_python_qml.qml
new file mode 100644
index 0000000..dbf890f
--- /dev/null
+++ b/tests/QtDeclarative/connect_python_qml.qml
@@ -0,0 +1,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
+ }
+ }
+}