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

Add widgets for Java Number implementations #303

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Add widgets for Java Number implementations #303

merged 2 commits into from
Oct 29, 2024

Conversation

gselzer
Copy link
Collaborator

@gselzer gselzer commented Oct 29, 2024

Specifically, this PR adds a set of parameter widgets for each Number implementation. These widgets are direct subclasses of magicgui's FloatSpinBox/SpinBox, but with the range bounded by the range of the Java type (they additionally wrap the returned programmatic value into a Java type).

Closes #276

@gselzer gselzer added the enhancement New feature or request label Oct 29, 2024
@gselzer gselzer added this to the 0.2.0 milestone Oct 29, 2024
@gselzer gselzer requested a review from elevans October 29, 2024 19:53
@gselzer gselzer self-assigned this Oct 29, 2024
@gselzer gselzer merged commit 25289d4 into main Oct 29, 2024
8 checks passed
@gselzer gselzer deleted the JNumber-widgets branch October 29, 2024 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Numeric type inputs have undesirable bounds
1 participant