sciapp / python-gr

Python wrapper for the GR framework
https://gr-framework.org
Other
30 stars 8 forks source link

Qt5 QWheelEvent does not have a member delta #2

Closed jkrueger1 closed 6 years ago

jkrueger1 commented 6 years ago

Using Qt5 the use of the mouse wheel creates an error:

'QWheelEvent' object has no attribute 'delta'

The corresponding member is angleDelta in Qt5

FlorianRhiem commented 6 years ago

Hello Jens, thank you for reporting this issue! I have fixed this in the develop branch (5d17bacfc2d99c843c21b9ed51da3c7ff22691e6) and we will release a new version soon.

FlorianRhiem commented 6 years ago

gr 1.2.0 is up on PyPI and should solve this issue. Please update and if the issue persists, let us know.

jkrueger1 commented 6 years ago

It works. The switch to 1.2.0 fixes another issues too. Thanks.