NaviNIBS.Navigator.GUI.ViewPanels.TargetsPanel module

Bases: object

Note: this doesn’t connect to any change signals from target, instead assuming that caller will re-instantiate the VisualizedTarget for any target changes.

Parameters:
  • _target

  • _plotter

  • _style

  • _color

  • _visible

Bases: MainViewPanelWithDockWidgets, QueuedRedrawMixin

Parameters:
  • _session

  • _label

  • _iconFn

  • _key

  • _surfKeys

Should return (True, None) if panel can be enabled, and (False, ‘<Reason why cannot be enabled>’) otherwise. The second output in the latter case should be a string explaining why the panel cannot be enabled, e.g. ‘Registration must be completed before navigating’

Return type:

tuple[bool, Optional[str]]