Hi Miklos,

did you find a solution for your problem? In the meantime, the 
interaction framework got a lot more configurable, so I guess it should 
be possible to do at runtime.

Best,
Sascha

On 04/10/2013 10:30 AM, Miklos Espak wrote:
> Hi,
>
> I would like to change original zooming behaviour in our custom editor 
> that is based on QmitkStdMultiWidget. The goal is to zoom the four 
> render windows together.
>
> For this, first I want to move the crosshair to the mouse position, 
> and then use it as a focus point in each render window. This would 
> guarantee that I see the same area of the image in each render window.
>
> Currently, the crosshair is moved to the mouse position only on left 
> mouse click and mouse move with left button, but not on right mouse 
> click that starts the zooming.
>
> Is it possible to move the crosshair also on right mouse click?
>
> I could achieve this by modifying the legacy StateMachine.xml in the 
> MITK source. However, this would have effect also on the standard 
> editor, not only our customised one, and we need both.
>
> Is there a way to redefine the "navigation" state machine through API?
>
> Any other idea to achieve the same effect? Should I listen to the 
> mouse press events of the render windows directly?
>
> Cheers,
> Miklos
>


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to