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

Scroll wheel method deprecated in Pyside6? #146

Closed
MicahGale opened this issue Jun 4, 2024 · 2 comments
Closed

Scroll wheel method deprecated in Pyside6? #146

MicahGale opened this issue Jun 4, 2024 · 2 comments

Comments

@MicahGale
Copy link

When I try to use the scroll wheel in plotter I get the following error on stderr:

Traceback (most recent call last):
  File "/home/mgale/mambaforge/lib/python3.10/site-packages/openmc_plotter/plotgui.py", line 342, in wheelEvent
    if event.delta() and event.modifiers() == QtCore.Qt.ShiftModifier:
AttributeError: 'PySide6.QtGui.QWheelEvent' object has no attribute 'delta'

I'm assuming delta was deprecated at some point.

Versions of libraries:

  • openmc-plotter==0.4.0
  • PySide6==6.7.0
  • PySide6_Addons==6.7.0
  • PySide6_Essentials==6.7.0
  • qtconsole==5.4.3

This is a small slice, I figured you didn't want my full pip freeze.

@paulromano
Copy link
Contributor

Already fixed in #134 and will be in next release

@MicahGale
Copy link
Author

Awesome. Sorry for the extra issue.

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

No branches or pull requests

2 participants