We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maybe my syntax is incorrect but I have code that connects an action to the close event (in PyQt4)
exit = QtGui.QAction('qaction', self) exit.setShortcut('Ctrl+Q') exit.setStatusTip('Close application') self.connect(exit, QtCore.SIGNAL('triggered()'), QtCore.SLOT('close()'))
pyqt4topyqt5 converts signal-slot to: exit.triggered.connect(close)
Which errors out converted program.
Instead convert to: exit.triggered.connect(quit)
The text was updated successfully, but these errors were encountered:
rferrazz
No branches or pull requests
Maybe my syntax is incorrect but I have code that connects an action to the close event (in PyQt4)
pyqt4topyqt5 converts signal-slot to:
exit.triggered.connect(close)
Which errors out converted program.
Instead convert to:
exit.triggered.connect(quit)
The text was updated successfully, but these errors were encountered: