TomographicImaging / CILViewer

A simple Viewer for 3D data built with VTK
Apache License 2.0
8 stars 6 forks source link

hide option for slider #384

Closed DanicaSTFC closed 1 month ago

DanicaSTFC commented 2 months ago

The slider needs to have the option to be hidden as this is required in the preview dialog PR #356 issue #383

The enable/disable is done in enableSliderWidget https://github.com/vais-ral/CILViewer/blob/471c82a81f3b95dd6f177a7890596d9c40f4df22/Wrappers/Python/ccpi/viewer/CILViewer2D.py#L994

The problem is that the kwargs do not extract the new slider parameter when creating the instance of the class Viewer2D

Instructions web viewer https://github.com/vais-ral/CILViewer/tree/master/Wrappers/Python/ccpi/web_viewer