I have a widget inside another widget. 1/ 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? 2/ I understand also that the signals needs to be declared at both levels. Is there a way to do that progammatically? 3/ A propos, I noticed that inheritance doesn't seem to pass signal definition. That is class Lwidget(QWidget): mysignal = pyqtSignal() class LSuperWidget(Lwidget): <here the signal needs to be redefined> <-- is there a way to avoid this?
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt