[Qt-qml] Change property of dynamically created component

martin.jones at nokia.com martin.jones at nokia.com
Tue Nov 9 00:04:34 CET 2010


There's nothing wrong with this in concept.  Could you provide a small self-contained example of what you've tried?

Martin.

> -----Original Message-----
> From: qt-qml-bounces at trolltech.com [mailto:qt-qml-bounces at trolltech.com] On
> Behalf Of Ji Shiping (Nokia-MS/Espoo)
> Sent: Tuesday, 9 November 2010 4:15 AM
> To: qt-qml at trolltech.com
> Subject: [Qt-qml] Change property of dynamically created component
> 
> 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 know whether this is supported scenario or there is alternative way of
> achieving this?
> 
> Thanks.
> 
> BR,
> Shiping
> 
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml




More information about the Qt-qml mailing list