NaviNIBS.Navigator.GUI.ViewPanels.ToolsPanel module¶
- class NaviNIBS.Navigator.GUI.ViewPanels.ToolsPanel.ToolWidget(tool, session)[source]¶
Bases:
object
- Parameters:
_tool
_session
- finishedAsyncInit: Event¶
- property wdgt¶
- class NaviNIBS.Navigator.GUI.ViewPanels.ToolsPanel.CoilToolWidget(session, tool)[source]¶
Bases:
ToolWidget
- Parameters:
_session
_tool
- class NaviNIBS.Navigator.GUI.ViewPanels.ToolsPanel.PointerToolWidget(session, tool)[source]¶
Bases:
ToolWidget
- Parameters:
_session
_tool
- class NaviNIBS.Navigator.GUI.ViewPanels.ToolsPanel.ToolsPanel(session=None, label=None, iconFn=None, key='Tools')[source]¶
Bases:
MainViewPanel
- Parameters:
_session
_label
_iconFn
_key
- canBeEnabled()[source]¶
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
]]