On Tue, 7 Aug 2012 15:45:43 -0400, Evade Flow <[email protected]> wrote:
>> In theory you should be able to use QDBusArgument but I've not tested
>> it - I've always struggled to find test cases.
> @pyqtSlot(QDBusArgument)
> def setPosition(self, pos):
> print("How can I call this function?")
If you change this to...
@pyqtSlot(float, float, float)
def setPosition(self, pos0, pos1, pos2):
print("How can I call this function?", pos0, pos1, pos2)
...then it works. So is the test case still valid?
Phil
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt