Open tlambert03 opened 1 month ago
Attention: Patch coverage is 69.53642%
with 46 lines
in your changes missing coverage. Please review.
Project coverage is 85.95%. Comparing base (
952ac33
) to head (bb2b79d
).
Files with missing lines | Patch % | Lines |
---|---|---|
src/superqt/sliders/_categorical_slider.py | 35.13% | 24 Missing :warning: |
src/superqt/sliders/_labeled.py | 80.70% | 22 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Maybe also add an enum version of it?
This adds a new
QCategoricalSlider
andQLabeledCategoricalSlider
, when you want a slider to select from a discrete set of objects (rather than numbers). Similar to a combobox I guess, but easier to change between all the values.API still needs consideration
https://github.com/user-attachments/assets/43ab9ead-2282-45c2-b166-79975e37648a
edit: the label is now a combobox to allow two-way editing