fix(ui): SSignalButton cannot be hidden/shown when inside a view
Description
When using a SSignalButton in a view, slots hide/show are ineffective.
This is due to the overrides of the visibility slots.
Steps to reproduce
Use a SSignalButton in a SView with visible="false".
Try to call SSignalButton::show
later on. Nothing appends.
Proposal
- Keep the overrides of the slots for now, but call first the parent slots to show/hide enable/disable the IGuiContainer.
- Then do the current actions m_button->show/hide, to keep current behavior in cas where SSignalButton is used as a standalone widget.
Test plan
In SightViewer use the Pacs selection activity
When loading a dicom form the pacs the loading icon should appears on the top scene in the bottom right