Skip to content

Close slicer parameter window with 2D plot#3930

Merged
jellybean2004 merged 3 commits into
mainfrom
patch_slicer_param_window
May 5, 2026
Merged

Close slicer parameter window with 2D plot#3930
jellybean2004 merged 3 commits into
mainfrom
patch_slicer_param_window

Conversation

@jellybean2004
Copy link
Copy Markdown
Member

Description

Since the slider parameter window is specific to a 2D plot, it should close automatically if its 2D plot is closed/deleted. This PR adds that behaviour with tests.

Fixes #3929

How Has This Been Tested?

Manually tested and ran newly added tests.

Review Checklist:

Documentation

  • There is nothing that needs documenting
  • Documentation changes are in this PR
  • There is an issue open for the documentation (link?)

Installers

  • There is a chance this will affect the installers, if so
    • Windows installer (GH artifact) has been tested (installed and worked)
    • MacOSX installer (GH artifact) has been tested (installed and worked)
    • Wheels installer (GH artifact) has been tested (installed and worked)

Licensing

  • The introduced changes comply with SasView license (BSD 3-Clause)

@DrPaulSharp DrPaulSharp self-requested a review April 28, 2026 10:07
Copy link
Copy Markdown
Contributor

@krzywon krzywon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this locally and it seems to work. I do have a couple of questions that could use addressing.

Comment thread src/sas/qtgui/Plotting/SlicerParameters.py
Comment thread src/sas/qtgui/Plotting/SlicerParameters.py
@jellybean2004 jellybean2004 force-pushed the patch_slicer_param_window branch from 285cc7d to 0f4c2af Compare May 1, 2026 17:50
@jellybean2004
Copy link
Copy Markdown
Member Author

Hey @krzywon, just pushed a commit adding type hints and comments, and rebased. Let me know if you're happy with this.

@jellybean2004 jellybean2004 merged commit f6fbb75 into main May 5, 2026
36 checks passed
@jellybean2004 jellybean2004 deleted the patch_slicer_param_window branch May 5, 2026 07:06
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.

Slicer Parameter Window Persistent after Closing Plot

2 participants