How to pass array/list in signal and emit the signal?
-
wrote on 22 Sept 2011, 21:23 last edited by
HI ,
How to pass an Array/list as argument to the signal and emit it -
wrote on 22 Sept 2011, 21:36 last edited by
What's that supposed to mean? How to define a signal with a list/array as argument?
-
wrote on 22 Sept 2011, 21:52 last edited by
Hi,
sorry for that.How to define a signal with a list/array as argument? and emit it
-
wrote on 22 Sept 2011, 22:16 last edited by
It's not different from any other signal declaration. What did you try? What didn't work?
-
wrote on 22 Sept 2011, 22:31 last edited by
If the signal/slot connection is asynchrouns you additionally must use the qRegisterVariant type stuff...
-
wrote on 22 Sept 2011, 22:52 last edited by
Hi,
Here is the info: PySide:created a signal :
signalTextChanged=QtCore.Signal(list,str)emitting the signal :
self.emit(QtCore.SIGNAL('signalTextChanged(list,str)'),names,prefix)Error:
TypeError: Unknown type used to emit a signal: list
1/6