[PyQt] New style signal connect not working

Jannis Mainczyk mainczjs at iis.fraunhofer.de
Mon Jan 11 16:16:19 GMT 2016


I have the exact same problem. Sadly the pyqtSlot() decorator 
did not solve it.

Here is the Slot Definition
@pyqtSlot()
    def update(self):
        try:

Here is the Signal Definition:
new_mh_added = pyqtSignal()

And here is the Connection:
self.Data.new_mh_added.connect(PlotListWidgets.update)

The following error is raised:
TypeError: update() missing 1 required 
positional argument: 'self'

Is that a bug or am I missing something here?




More information about the PyQt mailing list