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

Image scroller for live view #1917

Merged
merged 8 commits into from
Sep 6, 2023
Merged

Image scroller for live view #1917

merged 8 commits into from
Sep 6, 2023

Conversation

samtygier-stfc
Copy link
Collaborator

@samtygier-stfc samtygier-stfc commented Aug 31, 2023

Issue

Closes #1916

Needs rebase after #1915 is merged

Description

Extract ZSlider into its own module, and add type annotations
Add a ZSlider to the live viewer
Hook up ZSlider to adjust range as images arrive, and to show the selected image
A bit of refactoring to move image list state into the model

Testing & Acceptance Criteria

Check that Live View still functions well as a non interactive tool, updating correctly as new images arrive
Check that the range of the zslider matches the number of images in the live directory
Check that it is possible to scroll through the images
Check that corrupt images do not cause problems (frame will just be blank for files that could not be read)

Documentation

Release notes

@coveralls
Copy link

Coverage Status

coverage: 76.614% (+0.03%) from 76.588% when pulling 8a3d33e on 1916-zscroller into f5a6cb8 on main.

Copy link
Collaborator

@JackEAllen JackEAllen left a comment

Choose a reason for hiding this comment

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

Looks good! Just small suggestion to add a class docstring. Once #1915 has merged in and this branch is rebased, happy to approve. 👍

mantidimaging/gui/widgets/zslider/zslider.py Show resolved Hide resolved
@samtygier-stfc samtygier-stfc marked this pull request as ready for review September 4, 2023 19:39
@JackEAllen JackEAllen enabled auto-merge September 5, 2023 12:54
@JackEAllen JackEAllen added this pull request to the merge queue Sep 6, 2023
Merged via the queue into main with commit d9f590e Sep 6, 2023
8 checks passed
@JackEAllen JackEAllen deleted the 1916-zscroller branch September 6, 2023 15:46
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.

Live viewer image scroller
3 participants