Hi,
I think it would be a nice project to investigate adding a Qt/C++
embedding API to PySide that offers features like
the QtScript API and would allow embedding PySide/Python into C++
applications easily.
This should also consider using the QMetaObject system to dynamically
generate Python classes for unknown/unwrapped Qt objects when they are
encountered (e.g. when added via the C++ API).
The QMetaObject API could be used as a fallback for unwrapped classes to
allow access to all signals/slots/properties, dynamically generating
Python method objects.
One approach to this could be to use the existing
http://pythonqt.sourceforge.net/ API
and port it to make use of PySide underneath and to extend PySide with
the missing features
and a public C++ API to link against.
From a C++ point of view, one is interested in doing the following:
- calling any python objects using QVariantList as args and QVariant as
return value
- adding variables to python modules and dicts using QVariant
- registering a python callable as signal listener
- making QObjects/QMetaObjects known to python and being able to
dynamically script them via QMetaObject if there are no wrappers.
- having a reference counted smart pointer that allows access to the
underlying PyObject
and many other details, see the feature list of PythonQt for more details.
Am 02.03.2011 22:52, schrieb [email protected]:
Hi new mailing list:),
GSoc 2011 is open! This year PySide team will send some proposals. We
are putting all the ideas together at "PySide GSoc Ideas"[1] wiki
page. If you have any other proposal feel free to suggest us!
PySide Team
[1]http://developer.qt.nokia.com/wiki/PySideGSocIdeas
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside