Page MenuHomePhabricator

Multi widget editor responsibilities
Open, NormalPublic

Description

The custom multi widget editor should have cleanly defined responsibilities.
The main purpose is

  • to combine several render window widgets in a certain layout
  • to change the decoration of them (color, corner annotation text) according to the preferences
  • to set options that affect all render window widgets (render windows)

The layout can be further moved to a layout handling class.
The decoration can be further moved to a decoration handling class.
The options that affect all render windows have to be further analyzed. They may affect:

  • the type of mouse mode that is active (see PACS-like interaction)
  • navigation synchronization across the render windows
  • crosshair position (depending on the synchronization status)
  • multi widget (editor) preferences

Event Timeline

kalali triaged this task as Normal priority.Feb 6 2018, 5:32 PM
kalali created this task.
kalali removed kalali as the assignee of this task.Feb 7 2018, 10:43 AM
kalali removed a subscriber: metzger.Apr 17 2018, 4:34 PM
kalali added a comment.EditedApr 17 2018, 4:49 PM

The layout management can stay in the multi widget class. This QtWidget should define the layout of the multi widget editor and should allow to dynamically add and remove render window widgets.

kalali renamed this task from Multi widget editor responsibility: Preferences handling, layout handling to Multi widget editor responsibilities.Apr 17 2018, 5:30 PM
kalali updated the task description. (Show Details)
kalali claimed this task.Apr 24 2018, 1:13 PM
kalali removed kalali as the assignee of this task.Oct 22 2018, 11:35 AM

The custom multi widget editor holds a QmitkInteractionSchemeToolBar and a QmitkMultiWidgetConfigurationToolBar.
The interaction scheme tool bar is responsible for the type of mouse mode that is active.
The configuration tool bar is responsible for the navigation synchronization across the render windows.

So the responsibility is not inside the multi widget editor but the editor incldues the widgets to access this functionality.

kalali updated the task description. (Show Details)Oct 31 2018, 5:25 PM
kalali added a comment.Aug 7 2019, 9:45 AM

LayoutManager has been added in T24215.

kalali updated the task description. (Show Details)Aug 7 2019, 9:46 AM