[PyQt] how to get all the signal from a QObject/QWidget ? and other Q about signals
emayssat at gmail.com
Thu Feb 16 23:19:18 GMT 2012
I have a widget inside another widget.
I would like to have a ~for loop that propagate all the signals of the
inner widget as if they were emitted by the container widget.
That is for each signals
self.connect(myChild, SIGNAL("mySignal()"), self.mySignal.emit())
how can I list the signals that an object has?
I understand also that the signals needs to be declared at both levels.
Is there a way to do that progammatically?
A propos, I noticed that inheritance doesn't seem to pass signal definition.
mysignal = pyqtSignal()
<here the signal needs to be redefined> <-- is there a way to
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt