“TypeError: native Qt signal is not callable” with custom slots
问题 The Environment I am running an Anaconda environment with Python 3.4. I am using PyCharm as my IDE. The Objective I am trying to make a pyQt4 QPushButton connect to a custom function: button.clicked().connect([method reference or whatever]) Attempts I have tried using the pyqtSlot() decorator but when I run the code it throws: NameError: name 'pyqtSlot' is not defined I have used the following imports which should include that decorator: from PyQt4 import QtCore, QtGui I also attempted to