In our custom module I’d like to include sliders to perform a rotation transform. This post suggests reusing the slicer.qMRMLTransformSliders widget is the way to go but I can’t seem to access some of the properties from python. The setTypeOfTransform method is not available and If I try to set the TransformType property using Qt syntax I get an attribute error:
t.TransformType = slicer.qMRMLTransformSliders.ROTATION
Traceback (most recent call last):
AttributeError: Enum ‘TransformType’ can not be overwritten on qMRMLTransformSliders object
Nor can I access the minMaxVisible property to configure the widget manually.
Maybe I’m going about this the wrong way? Any help would be appreciated.
Thanks