Hi Mikael, Unfortunately PySide does not have a way to declare a signal with QtVariant arguments because that type does not have a similar type in Python, for this types and others removed from PySide you need to use string (name of type), to declare the signal, like you did.
Sorry about the missing documentation about that, we are working to update the documentation to avoid mistakes. BR On Fri, Sep 10, 2010 at 9:02 AM, Mikael Lammentausta < [email protected]> wrote: > 2010/9/10 Mikael Lammentausta <[email protected]> > > >> Signal triggered from QML is received in QtCore.Slot, but the emitted >> signal is not received back in QML. Maybe this has something to do with the >> signal being type QVariant, while it has been removed from PySide, and I >> defined it as unicode? >> >> > Right, after having a look at answered posts, the solution was to define > the signal "data" as: > > data = QtCore.Signal('QVariant') > > This was fixed for QString in master? As I am using the latest git version, > is the recommended solution to define the signal like this or is this a bug? > > -- > -- mikael > > _______________________________________________ > PySide mailing list > [email protected] > http://lists.openbossa.org/listinfo/pyside > > -- Renato Araujo Oliveira Filho Instituto Nokia de Tecnologia - INdT Mobile: +55 (81) 8704-2144
_______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
