[Qt-qml] Accessing resources of item loaded using Loader.
Eduardo Fleury
eduardo.fleury at openbossa.org
Tue May 11 21:16:48 CEST 2010
Hi Rakesh,
> How to access resources of Item say \\ Test1.qml using Loader{id:
> pageloader; source: "Test1.qml} \\ test.qml file.
AFAIK you must access the "item" property of the Loader that is the
loaded instance.
In you example, assuming that "running" is a property of the top level
item in "Test1.qml", I understand you should be able to do
pageloader.item.running = true;
--
Eduardo M. Fleury
OpenBossa - INdT
http://eduardofleury.com/
http://www.openbossa.org/
More information about the Qt-qml
mailing list