[Qt-qml] Change property of dynamically created component
shiping.ji at nokia.com
shiping.ji at nokia.com
Tue Nov 9 07:57:01 CET 2010
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 at trolltech.com
Subject: RE: Change property of dynamically created component
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestPropertyChanges.qml
Type: application/octet-stream
Size: 1664 bytes
Desc: TestPropertyChanges.qml
Url : http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101109/e273edf9/attachment.obj
More information about the Qt-qml
mailing list