Don't delete QtCore.{pyqtSignal,pyqtSlot,pyqtProperty}
See original GitHub issueThe README says the API is PyQt5 compatible, yet the PyQt5 identifiers such as QtCore.pyqtSignal
are explicitly deleted in favor of PySide’s.
PyQt5’s symbols were removed in https://github.com/spyder-ide/qtpy/pull/47 with IMHO not so great justification:
I still think that the duplicate imports are very weird and not needed
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
ImportError: cannot import name pyqtSignal? - Stack Overflow
You're using qtpy rather than PyQt4 directly. According to Don't delete QtCore.{pyqtSignal,pyqtSlot,pyqtProperty} · Issue #76 ...
Read more >Python Examples of PyQt5.QtCore.pyqtSlot - ProgramCreek.com
The following are 30 code examples of PyQt5.QtCore.pyqtSlot(). You can vote up the ones you like or vote down the ones you don't...
Read more >PyQt5 Signals, Slots and Events - Python GUIs
Signals (and slots) allow you to connect disparate parts of your application together, making changes in one component trigger behavior in ...
Read more >python_qt_binding: binding_helper.py Source File
pyqtSlot. 160 sys.modules['QtCore'].Property = sys.modules['QtCore'].pyqtProperty ... 218 # don't create the top-level widget, if a base instance is set.
Read more >PyQt v4 - Python Bindings for Qt v4 - FTP Directory Listing
pyqtSignal (); 7.3 Connecting, Disconnecting and Emitting Signals; 7.4 Connecting Signals Using Keyword Arguments; 7.5 The QtCore.pyqtSlot() Decorator.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I don’t think we will have much problem switching to Signals and Slots here. There just isn’t a reason to enforce a particular style someone randomly decided upon when working to convenience the user can prove as fruitful and, in this case, so effortless.
Where in this discussion do we say that we decided to use Signal and Slot due to Spyder? The only mention to Spyder is yours.