[PyQt] help with this question
dougb at bellz.org
Tue Apr 6 02:22:35 BST 2010
Rafael Lemus wrote:
> I've been wondering if there is a pyqt method that can tell me which was
> the widget that sent a signal, this is because I want, that whenever a QPushButton is
> clicked it sends me to a method and in this method I could compare
> which button send me a signal so i can emit another signal.
Call QObject.sender() in the slot method.
More information about the PyQt