enh(ui): use Qt layout instead of multiple 3D viewports in SightViewer
Description
SightViewer proposes a main 3D view that can switch to a split view, in four different scenes. Currently, this is done by using a single 3D scene that is split into four viewports.
This presents the following problems:
- the XML configuration is tedious, with multiple
SViewportUpdater
- the layout is quite rigid, and can not be adjusted in size for example
- we can not switch views easily
Proposal
For me, this should have been implemented with Qt using one of our layout managers (Line, Cardinal, ToolBox, whatever...), and thus with four different 3D scenes. Modifications might be needed for these managers.
Functional specifications
SightViewer uses Qt layout instead of multiple 3D viewports for its scenes.
Technical specifications
Replace the single scene "genericSceneSrv" with 4 scenes "mainSceneSrv", "axialSceneSrv", "sagittalSceneSrv" and "frontalSceneSrv", organized in two LineLayoutManager to make a grid. Remove all occurrences of SViewportUpdater and instead let the layouts do the resizing.
Test plan
Manual tests and automated GUI tests.