PySide is a very interesting project, and I feel very excited about writing
QML applications in Python.

I got a basic example running, and even had a context property defined from
Python to the QML. Next thing to try out for me would be signals and slots.
This side of PySide is very lightly documented and as the implementation may
be incomplete, I hope to hear some feedback from the experts on this list.

I took an example from Nokia forums:
http://wiki.forum.nokia.com/index.php/CS001625_-_Connecting_Qt_signal_to_QML_function

and wrote this in PySide syntax:
http://gitorious.org/pyside-example-qml-signalslot/qml-signalslot/blobs/master/signalslot-qml.py

Signal triggered from QML is received in QtCore.Slot, but the emitted signal
is not received back in QML. Maybe this has something to do with the signal
being type QVariant, while it has been removed from PySide, and I defined it
as unicode?

You can clone the repository from
http://gitorious.org/pyside-example-qml-signalslot/qml-signalslot , here are
my other signal and slot studies with webview as well, don't mind them..

Am I missing something or is this a missing feature?

-- 
-- mikael
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to