On Sunday 13 January 2013 11:46:23 you wrote:
> And I return it from a slot like this:
> class ImageExplorer(QtCore.QObject):
>     @QtCore.Slot(int, int, result=object)
>     def image_targets(self, frame, cam):
>         return TargetListModel([
>             {'x': 100, 'y': 100},
>             {'x': 200, 'y': 200},
>         ])

Sorry, the slot declaration should read:
@QtCore.Slot(int, int, result=TargetListModel)

Yosef.
_______________________________________________
PySide mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/pyside

Reply via email to