AllenCell / napari-allencell-segmenter

A plugin that enables image segmentation provided by Allen Institute for Cell Science
BSD 3-Clause "New" or "Revised" License
16 stars 6 forks source link

UI - Build reusable slider/spinbox combo widget #46

Closed schoinh closed 3 years ago

schoinh commented 3 years ago

Use Case

As a plugin developer, I need a reusable custom widget that contains a slider and a spinbox that are synced to each other. Qt's QSlider widget only supports integer values, so it needs to be adapted to work with float input and outputs as well.

Notes

Alternatives

@Aerendel FYI

Aerendel commented 3 years ago

@schoinh looks like we won't need this story since we are using the magicgui widget?

schoinh commented 3 years ago

Right. Maybe down the road we'll get really picky about what the magicgui widget does/doesn't offer but I think that should be a separate ticket if/when we need it.