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/
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to