[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] No match to overloaded signal
From:       Jeremy Sanders <jeremy () jeremysanders ! net>
Date:       2015-04-09 13:11:00
Message-ID: 55267A64.2060204 () jeremysanders ! net
[Download RAW message or body]

On 09/04/15 15:06, Yuya Nishihara wrote:

> The doc says it was removed at PyQt v5.3. See
> http://pyqt.sourceforge.net/Docs/PyQt5/incompatibilities.html

Thanks - I missed that.

I've been using it for doing things like

for i in range(10):
   def myfunc(v=i):
     print(v)
   button.clicked[()].connect(myfunc)

I'll use a more sophisticated closure to fix this.

Thanks

Jeremy


_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic