Skip to content

Scroll wheel method deprecated in Pyside6? #146

Description

@MicahGale

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.

Activity

  1. paulromano commented on Jun 6, 2024

    @paulromano
    Contributor

    Already fixed in #134 and will be in next release

  2. MicahGale commented on Jun 6, 2024

    @MicahGale
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions