标签: python pyqt pyqt4 pyqt5
self.connect(self.emaillist, SIGNAL('itemClicked(QListWidgetItem *)'), self.emailItemClicked) self.emaillist.itemClicked(QListWidgetItem *).connect(self.emailItemClicked)
pyqt4样式代码是第一个,我尝试用pyqt5编写代码,第二个是我的代码,但它显示错误按摩如下: TypeError:原生Qt信号不可调用