HomePhabricator
Diffusion MITK 7033b69669d2

Send active render window

Description

Send active render window

Summary:
Remove mouse event from render window

Listen to and react on a 'FocusChangedEvent'

This event is sent by the RenderingManager and will be used to set the
active render window of a multi widget.
The event is sent if a 'MousePressEvent' is processed.

React on an active render window part

In order to react on an already active render window part,
if the rendering manager plugin view was opened after the render window part,
'RenderWindowPartActivated' needs to be called during UI creation.

Test Plan:
manual

  1. open MxNMultiWidget
  2. create multiple render windows
  3. click on different render windows and see how the border color changes
  4. open the "RenderWindowManager"
  5. open StdMultiWidget
  6. click on differet render windows and see how the name in the combobox changes

Reviewers: kleina, O3 MITK Reviewer Group II, kislinsk

Reviewed By: O3 MITK Reviewer Group II, kislinsk

Subscribers: kislinsk, kalali, kleina

Maniphest Tasks: T26492

Differential Revision: https://phabricator.mitk.org/D553

Details

Provenance
kalaliAuthored on Oct 15 2021, 1:32 PM
kislinskCommitted on Oct 15 2021, 1:32 PM
kislinskPushed on Oct 15 2021, 1:32 PM
Reviewer
O3: MITK Reviewer Group II
Differential Revision
Restricted Differential Revision
Parents
rMITK16844f3905fc: Allow disabling of PACS tools by manually ensuring exclusivity
Branches
Unknown
Tags
Unknown
Tasks
T26492: [mxn multi widget] Send active render window