Noll, Matthias
2017-05-23 08:56:05 UTC
Hi all,
I like to start my plugin with only the 3D render window active. In an older version of MITK it was possible through the StdMultiWidget by simply calling the function changeLayoutToBig3D() e.g. in the plugins' CreateQtPartControl() function.
How can I achieve this now? There are no functions in the IRenderWindowPart to do this.
In the mailing list, Sasha suggested in 2015 to add the plugin dependency to org.mitk.gui.qt.stdmultiwidgeteditor and dynamic_cast the interface. I don't get what interface I need to cast to which class...
This all seems a bit complicated to achieve such a tiny little change. If the user can do it by clicking the QWindowRenderMenu buttons, why can't we do it easily from code. I don't think only having one view active on plugin start is such an uncommon use case.
Anyway, any help would be appreciated.
Best regards,
Matthias
I like to start my plugin with only the 3D render window active. In an older version of MITK it was possible through the StdMultiWidget by simply calling the function changeLayoutToBig3D() e.g. in the plugins' CreateQtPartControl() function.
How can I achieve this now? There are no functions in the IRenderWindowPart to do this.
In the mailing list, Sasha suggested in 2015 to add the plugin dependency to org.mitk.gui.qt.stdmultiwidgeteditor and dynamic_cast the interface. I don't get what interface I need to cast to which class...
This all seems a bit complicated to achieve such a tiny little change. If the user can do it by clicking the QWindowRenderMenu buttons, why can't we do it easily from code. I don't think only having one view active on plugin start is such an uncommon use case.
Anyway, any help would be appreciated.
Best regards,
Matthias