On Tuesday 21 December 2010 11:10:24 Vladimír Jícha wrote: > Dne 20.12.2010 21:34, Hugo Parente Lima napsal(a): > > On Monday 20 December 2010 19:21:04 Vladimír Jícha wrote: > > > > The example (a unit test from pyside) is attached, just replace the > > adjust_filename function by nothing, i.e. just the QML file name. > > Thank you, I understand it now better. But still I don't know how to > call a function of other then root QML object. For example if I modified > the QML (please check the attachment), how would I call the > "returnFunction()" now? Thank you.
This is more a QML doubt rather than a PySide one, I'm not a QML expert so I would try to set a property alias to the Text object because I don't have any clue about how to get a QDeclarativeContext different from the root context using the QML API. -- Hugo Parente Lima INdT - Instituto Nokia de Tecnologia
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
