Skip to content
New issue

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

DotWidget class qt5 support fix in function wheelEvent #22

Open
wants to merge 2 commits into
base: kinetic-devel
Choose a base branch
from

Conversation

oscar-lima
Copy link

event.delta() function is deprecated in qt5, now event.angleDelta().y() needs to be used.
We keep backwards compatibility for qt4.

check: https://stackoverflow.com/questions/48379373/attributeerror-qwheelevent-object-has-no-attribute-delta

"Qt4 had a delta attribute in the class QWheelEvent but now in Qt5 this has been replaced by two different properties angleDelta and pixelDelta"

@oscar-lima oscar-lima changed the base branch from indigo-devel to kinetic-devel December 8, 2018 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant