On Sun, Apr 29, 2012 at 5:47 PM, Phil Thompson
p...@riverbankcomputing.com wrote:
I have tried passing return value in the decorator (return=int...).
Any clues where to look?
Have you got a complete test that demonstrates the problem?
Now I do, but when I went about to create that minimal
On Sat, 28 Apr 2012 00:57:47 +0300, Ville M. Vainio vivai...@gmail.com
wrote:
I have a qml file invoking methods on a QObject subclass. I have used
@pyqtSlot decorator to expose the methods as slots.
I can see that the methods are run; however, the return values seem to
be discarded.
Code
On Sat, Apr 28, 2012 at 1:10 AM, Andrew Suffield
asuffi...@suffields.me.uk wrote:
I have a qml file invoking methods on a QObject subclass. I have used
@pyqtSlot decorator to expose the methods as slots.
I can see that the methods are run; however, the return values seem to
be discarded.
I have a qml file invoking methods on a QObject subclass. I have used
@pyqtSlot decorator to expose the methods as slots.
I can see that the methods are run; however, the return values seem to
be discarded.
Code for the QObject subclass (that I expose with setContextProperty)
is like this:
===
On Sat, Apr 28, 2012 at 12:57:47AM +0300, Ville M. Vainio wrote:
I have a qml file invoking methods on a QObject subclass. I have used
@pyqtSlot decorator to expose the methods as slots.
I can see that the methods are run; however, the return values seem to
be discarded.
Qt slots don't