Hi Federico,

as an addendum to Saschas answer. On the off chance you might not have noticed 
it, the MultiWidget does offer several choices for layouting the windows. See 
the "Layout choices" image in [1]. Maybe one of these fits your need?

Best,
Caspar

[1] 
http://docs.mitk.org/2012.12/MITKUserManualPage.html#MITKUserManualPageMultiWidgetCustomizingViews

-----Ursprüngliche Nachricht-----
Von: Sascha Zelzer [mailto:[email protected]] 
Gesendet: Montag, 25. März 2013 18:58
An: Federico Milano
Cc: [email protected]
Betreff: Re: [mitk-users] Best way to customize QmitkStdMultiWidget behaviour

Hi Federico,

the QmitkStdMultiWidget is an old class, pre-dating the introduction of 
interfaces in MITK. We introducted mitk::IRenderWindowPart for that purpose, 
which QmitkStdMultiWidgetEditor implements.

Not every View in MITK is using the mitk::IRenderWindowPart yet to interface 
with implementations like QmitkStdMultiWidgetEditor, but this is the idea.

If you are not satisfied with the available layout choices in 
QmitkStdMultiWidget, I am afraid you will have to implement your own editor.

Best,
Sascha

On 03/21/2013 03:38 PM, Federico Milano wrote:
> Hi. I want to change/customize some simple things about 
> QmitkStdMultiWidget, for example, the order of the default anatomical 
> views; I don't want to change its interface, only some of its 
> behaviours. What's the best way to do this? I was thinking of 
> rewriting also the QmitkStdMultiWidgetEditor plugin...but I have 
> noticed that this plugin is exposing directly QmitkStdMultiWidget, and 
> QmitkStdMultiWidget is not an abstract/interface class.
>
> I would really appreciate any advise.
>
> Best regards,
>
> Federico


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free 
today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to