Re: [Qt-qml] Set custom property in onChildrenChanged?

2010-10-30 Thread Charley Bay
Ooops, typo (on parent name), that inserted code to inspect each property within a child (more complete example with pre-pended index) should be: Item { id: myParent onChildrenChanged: { for(var i = 0; i < myParent.children.length; ++i) { console.log("--");

Re: [Qt-qml] Set custom property in onChildrenChanged?

2010-10-30 Thread Charley Bay
>>charley spaketh: >> >Michael respondeth: > Yes, it should work Yes, it works, it was my error. What I'm doing is a little more complicated, and there was enough obfuscation for me to confuse myself. ;-) I now have something that "works", but I want to get opinions on whether my solution is