5 property QtObject declarativerectangle : null
6 property QtObject declarativeitem : null
8 property QtObject bindingTestObject : null
9 property QtObject bindingThisTestObject : null
14 property Rectangle innerRect: Rectangle { border.width: 20 }
20 property bool testBool: false
21 property int testInt: null
22 property QtObject testObject: null
26 // test passing in bindings
31 property int testValue
36 Component.onCompleted: {
37 root.declarativerectangle = a.createObject(root, {"x":17,"y":17, "color":"white", "border.width":3, "innerRect.border.width": 20});
38 root.declarativeitem = b.createObject(root, {"x":17,"y":17,"testBool":true,"testInt":17,"testObject":root});
40 root.bindingTestObject = c.createObject(root, {'testValue': (function(){return width * 3}) }) // use root.width
41 root.bindingThisTestObject = c.createObject(root, {'testValue': (function(){return this.width * 3}) }) // use width of Item within 'c'