Hi MITK community,

I am dealing with some legacy code that used the function 
changeLayoutTo2x2Dand3DWidget in QmitkStdMultiWidget (not available anymore) to 
change the layout of the 4 window widget at the center of the workbench.

I am trying to update the code to use IRenderWindowPart instead (as suggested 
by this <https://www.mitk.org/wiki/Views_Without_Multi_Widget> documentation 
page). My guess is that the correct way to do this now is to use 
QmitkMultiWidgetLayoutManager 
<https://docs.mitk.org/nightly/classQmitkMultiWidgetLayoutManager.html>, in 
particular the method SetAll2DLeft3DRightLayout, but I don’t understand how to 
pass the current QmitkAbstractMultiWidget to its constructor or its 
SetCurrentRenderWindowWidget method. 

Am I on the right track? If so, what would be the correct way of getting an 
QmitkAbstractMultiWidget object to pass to QmitkMultiWidgetLayoutManage from 
IRenderWindowPart?

Best regards,
Luca Pegolotti


_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to