1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
import QtQuick Item { implicitWidth: 12 property int a: 5 property int c: child.b + 2 property int i: child.i * 2 Item { id: child property int b: parent.a + 4 property int i: parent.implicitWidth - 1 } Item { id: sibling implicitWidth: 29 } Item { id: evil property string a: "599" property string implicitWidth: "444" } }