mottosso / Qt.py

Minimal Python 2 & 3 shim around all Qt bindings - PySide, PySide2, PyQt4 and PyQt5.
MIT License
896 stars 252 forks source link

Deprecated QGraphicsItem Functions #263

Open andryjong opened 6 years ago

andryjong commented 6 years ago

Both acceptsHoverEvents() and acceptHoverEvents() (similarly setAcceptsHoverEvents() and setAcceptHoverEvents()) used to be supported in QGraphicsItem (and all of it's inherit classes). However, the former of each seem to have been deprecated in PySide2 and PyQt5.

Might be a good candidate for QtCompat?

mottosso commented 6 years ago

Thanks @andryjong, this sounds like a good idea. Would you be able to submit a PR for this?

andryjong commented 6 years ago

Can try to do this over Christmas!