Page MenuHomePhabricator

Inform workbench about a render window layout change
Closed, ResolvedPublic

Description

The custom multi widget allows to change the layout of the shown render windows (e.g. adding a new render window). Other parts of the workbench might need to know which render windows are currently available (e.g. the render window manager). How to the multi widget (editor) inform other workbench parts?

Currently the RenderWindowPartActivated-function of an implementation of the IRenderWindowPartListener is used inside the QmitkRenderWindowManagerView. However, this function is only called if the render window parts is initialized (e.g. the stdmultiwidget is newly opened).

Event Timeline

kalali triaged this task as Normal priority.May 22 2018, 3:38 PM
kalali created this task.
kalali renamed this task from Inform workbench about a layout change to Inform workbench about a render window layout change.May 22 2018, 4:09 PM

IRenderWindowPartListener are now able to define actions for RenderWindowPartInputChanged. This function is called inside the QmitkViewCoordinator if the PartInputChanged-function is triggerd by an Events::INPUT_CHANGED-event.

kalali claimed this task.