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

ENH: Add method to check if double-spinbox value is being edited #1219

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

lassoan
Copy link
Member

@lassoan lassoan commented Sep 18, 2024

New method is added to ctkDoubleSpinBox and ctkSliderWidget to check if a value is currently being set using the spinbox. This is useful because when there are many sibling widgets then many signals may be emitted and it may be difficult to determine which widget was the source of all changes.

This feature was needed for fixing Slicer/Slicer#7574

New method is added to ctkDoubleSpinBox and ctkSliderWidget to check if a value is currently being set using the spinbox.
This is useful because when there are many sibling widgets then many signals may be emitted and it may be difficult to determine which widget was the source of all changes.

This feature was needed for fixing Slicer/Slicer#7574
Copy link
Member

@pieper pieper left a comment

Choose a reason for hiding this comment

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

Makes sense, thanks 👍

@pieper pieper merged commit 76e2122 into commontk:master Sep 18, 2024
4 checks passed
@lassoan lassoan deleted the add-spinbox-is-setting-value branch September 18, 2024 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants