SlicerGitSVNArchive icon indicating copy to clipboard operation
SlicerGitSVNArchive copied to clipboard

ENH: Allow for custom presets prefix and tooltips

Open johan-andruejol opened this issue 6 years ago • 3 comments
trafficstars

Although Slicer allowed to create custom presets for the Slice views, it did not allow the user to customize the tooltip nor the prefix that would show in the view. It is now possible to customize each of the slice views preset to have a custom prefix and/or tooltip.

johan-andruejol avatar Dec 06 '18 16:12 johan-andruejol

Can you add a note about why (in what use case) you want to use these options?

pieper avatar Dec 06 '18 18:12 pieper

@pieper: Sure ! When you add a custom preset, the tooltip always shows "Oblique" as if you were in a "Reformat" view, which is weird for users. As an example: image

Before this, the only way to modify this would have been to find the qMRMLSliderWidget for each qMRMLSliceControllerWidget and manually change each tooltip and each prefix. This would have to be repeated whenever you change layout as well.

johan-andruejol avatar Dec 06 '18 19:12 johan-andruejol

Ah - 👍 thanks!

pieper avatar Dec 06 '18 19:12 pieper