Debian Codegraph @

tests/auto/qml/qqmlproperty/data/invalidBinding.qml

raw
1 import QtQuick 2.0
2
3 Item {
4 property Text text: myText
5
6 property Rectangle rectangle1: myText
7 property Rectangle rectangle2: getMyText()
8
9 function getMyText() { return myText; }
10
11 Text {
12 id: myText
13
14 anchors.verticalCenter: parent // invalid binding
15 }
16 }