[PyQt] PyQt New-style Signal and Slot

redstone-cold redstone-cold at 163.com
Thu Apr 9 05:42:37 BST 2015


I think 
disconnect([slot]) 


in the New-style Signal and Slot should return a bool value to hint if the connection is broken or not ,like it in the original Qt.




and
connect(slot[, type=PyQt5.QtCore.Qt.AutoConnection[, no_receiver_check=False]])


should returna QMetaObject::Connection,  It can be used to disconnect that connection, or check if the connection was successful.


 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150409/93bedfef/attachment.html>


More information about the PyQt mailing list