[Qt-qml] Change property of dynamically created component

2010-11-08 Thread shiping.ji
Hi, We have a QML with two states and one loader component. In state2, a new component yellowRectComponent is created by the loader. In state3, we'd like to modify this newly created component's properties, but it doesn't seem to work (the new component creation is successful though). Do you

Re: [Qt-qml] Change property of dynamically created component

2010-11-08 Thread shiping.ji
Hi, Forgot the attachment, here it comes :) BR, Shiping -Original Message- From: Jones Martin (Nokia-MS-Qt/Brisbane) Sent: 09 November, 2010 01:05 To: Ji Shiping (Nokia-MS/Espoo); qt-qml@trolltech.com Subject: RE: Change property of dynamically created component There's nothing wrong

Re: [Qt-qml] Change property of dynamically created component

2010-11-10 Thread shiping.ji
Hi, This explains the case, now we fully understood what was wrong in our approach. Thanks a lot for Michael and Warwick's help. BR, Shiping -Original Message- From: Brasser Michael (Nokia-MS-Qt/Brisbane) Sent: 11 November, 2010 03:43 To: Ji Shiping (Nokia-MS/Espoo) Cc: