[PyQt] dictionary signal

Linos info at linos.es
Tue Nov 20 15:54:40 GMT 2007


Hello,
	i want to emit a signal from a dialog that contains a dictionary (i would like to do with a qt class but QMap
dont seems to be in PyQt, almost this "test = QMap()" doesnt works), i know i can pass a python dictionary in
a short-circuit signal but i would like to send with a qvariant in the same signal, it is this possible? this
is that i am using now, but i would like to add the dictionary:

self.emit(SIGNAL("ticketcerrado(QVariant)"), codigo_vendedor)

I know i can use other signal (short cirtuit) or send every the dictionary value but i think should exist any
other better solution i have not found.

Best Regards,
Miguel Angel.


More information about the PyQt mailing list