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

Bug: LabeledSlider too restrictive for some properties #223

Open
tlambert03 opened this issue Oct 12, 2023 · 0 comments
Open

Bug: LabeledSlider too restrictive for some properties #223

tlambert03 opened this issue Oct 12, 2023 · 0 comments

Comments

@tlambert03
Copy link
Member

as discovered by @raulbola in pymmcore-plus/napari-micromanager#293 (comment), the Kinetix camera (and probably others) has a property PreampOffLimit with a 0 and 4294967295 (uint32) range. That extends beyond the 2147483647 (int32) supported by QSlider, and therefore the QLabeledSlider provided by superqt.

We could either

  1. use a QLabeledDoubleSlider under the hood and cast to/from integer
  2. make a PR to superqt adding a QLargeIntSlider and a QLabeledLargeIntSlider
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

No branches or pull requests

1 participant