NaviNIBS.Navigator.GUI.ViewPanels package¶
- class NaviNIBS.Navigator.GUI.ViewPanels.MainViewPanel(key, session=None, label=None, icon=None, iconFn=None)[source]¶
Bases:
object
- Parameters:
_key
_session
_label
_icon
_iconFn – To be set by subclass. If iconFn is set, icon will be ignored and iconFn will be called to generate the icon. This allows regenerating the icon automatically, e.g. after color palette changes.
- _key: str¶
- _label: str | None¶
- _icon: QIcon | None¶
- _iconFn: Callable[[...], QIcon] | None¶
To be set by subclass. If iconFn is set, icon will be ignored and iconFn will be called to generate the icon. This allows regenerating the icon automatically, e.g. after color palette changes.
- sigPanelShown: Signal¶
- sigPanelHidden: Signal¶
- property key¶
- property label¶
- property wdgt¶
- property dockWdgt¶
- property session¶
- property isVisible¶
- property hasInitialized¶
- property isInitializing¶
- 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
]]
Subpackages¶
- NaviNIBS.Navigator.GUI.ViewPanels.NavigatePanel package
- NaviNIBS.Navigator.GUI.ViewPanels.TriggerSettingsPanel package
TriggerSettingsPanel
- Submodules
Submodules¶
- NaviNIBS.Navigator.GUI.ViewPanels.CameraPanel module
- NaviNIBS.Navigator.GUI.ViewPanels.CoordinateSystemsPanel module
- NaviNIBS.Navigator.GUI.ViewPanels.DigitizeLocationsPanel module
- NaviNIBS.Navigator.GUI.ViewPanels.FiducialsPanel module
- NaviNIBS.Navigator.GUI.ViewPanels.HeadModelPanel module
- NaviNIBS.Navigator.GUI.ViewPanels.MRIPanel module
- NaviNIBS.Navigator.GUI.ViewPanels.MainViewPanelWithDockWidgets module
- NaviNIBS.Navigator.GUI.ViewPanels.ManageSessionPanel module
ManageSessionPanel
ManageSessionPanel._navigatorGUI
ManageSessionPanel._autosavePeriod
ManageSessionPanel._inProgressBaseDir
ManageSessionPanel.sigAboutToFinishLoadingSession
ManageSessionPanel.sigLoadedSession
ManageSessionPanel.sigClosedSession
ManageSessionPanel.addSaveButtonToDockTabStrip()
ManageSessionPanel.loadSession()
ManageSessionPanel.importSession()
ManageSessionPanel.restoreLayoutIfAvailable()
- NaviNIBS.Navigator.GUI.ViewPanels.SubjectRegistrationPanel module
- NaviNIBS.Navigator.GUI.ViewPanels.TargetsPanel module
- NaviNIBS.Navigator.GUI.ViewPanels.ToolsPanel module