PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 456 - Slot return values don't propagate back to QML
: Slot return values don't propagate back to QML
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtDeclarative
: HEAD
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-11-03 13:10 EET by Matti Airas
Modified: 2010-11-25 17:48 EET (History)
8 users (show)

See Also:


Attachments
Example application (2.00 KB, application/x-gzip)
2010-11-03 13:10 EET, Matti Airas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matti Airas 2010-11-03 13:10:39 EET
Created attachment 137 [details]
Example application

See the attached example.

There should be a way to return a value from Python to QML. If it appears to be
impossible using the slot approach, we should take a look at implementing the
Q_INVOKE macro in Python (as a decorator, perhaps?). If this is the path, we
probably have to go through the PSEP process. In that case, I'm volunteering in
writing the PSEP (with your help).
Comment 1 renato filho 2010-11-03 17:50:43 EET
fixed on pyside commit:

commit 50f915572de1f6f492f80b2cfc8c8fedd9cdae6f
Author: renatofilho <renato.filho@openbossa.org>
Date:   Wed Nov 3 14:21:11 2010 -0300
Comment 2 renato filho 2010-11-25 17:48:22 EET
released on 1.0.0~beta1