Function call through loader...
-
wrote on 16 Jul 2012, 11:44 last edited by
I have four files in the same directory at same level.
1] a.qml has a loaderA which loads a b.qml.
2] b.qml has a loaderB which loads a c.qml.
3] c.qml has a function.
4] now i want to call these function from a d.js file.usually for one loader this can be achieved by loaderA.item.function, but how can i do it in this case.?
loaderA.item.loaderB.item.function didn't work... -
wrote on 16 Jul 2012, 12:01 last edited by
a js file is included in one QML file.
in this js file, you can use idItem.function() -
wrote on 16 Jul 2012, 12:46 last edited by
could you post the code please ?
1/4