[PyQt] Is the result of SIGNAL() a constant?
Aaron Digulla
digulla at hepe.com
Tue Jan 8 21:12:31 GMT 2008
Hello,
>From the documentation, I got the impression that the result of SIGNAL()
is more or less a constant. Is this code valid?
signal = SIGNAL()
self.connect(w1, signal, self.w1Clicked)
self.connect(w2, signal, self.w2Clicked)
ie. can I predefine all signals in my app, save them somewhere (to save
typos) and avoid the additional SIGNAL() calls? Or do I have to call
SIGNAL() every time?
Regards,
--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://darkviews.blogspot.com/ http://www.pdark.de/
More information about the PyQt
mailing list