fsleyes.controls.atlasmanagementpanel¶
This module provides the AtlasManagementPanel, which is a sub-panel
that is used by the AtlasPanel.
-
class
fsleyes.controls.atlasmanagementpanel.AtlasManagementPanel(parent, overlayList, displayCtx, frame, atlasPanel)[source]¶ Bases:
fsleyes.panel.FSLeyesPanelThe
AtlasManagementPanelis a sub-panel used by theAtlasPanel. It simply displays a list of all known atlases, and allows the user to add/remove atlases to/from the list.-
__init__(parent, overlayList, displayCtx, frame, atlasPanel)[source]¶ Create an
AtlasManagementPanel.- Parameters
parent – the
wxparent object.overlayList – The
OverlayListinstance.displayCtx – The
DisplayContextinstance.frame – The
FSLeyesFrameinstance.atlasPanel – The
AtlasPanelinstance that has created thisAtlasManagementPanel.
-
destroy()[source]¶ Must be called when this
AtlasManagementPanelis no longer needed. Removes some property/notification listeners, and calls the base classdestroymethod.
-
_AtlasManagementPanel__atlasAdded(registry, topic, desc)¶ Called when an atlas is removed from the
AtlasRegistry. Removes the corresponding atlas from the list.
-
_AtlasManagementPanel__atlasRemoved(registry, topic, desc)¶ Called when an atlas is removed from the
AtlasRegistry. Removes the corresponding atlas from the list.
-
_AtlasManagementPanel__onListAdd(ev)¶ Called when the user clicks the Add button on the list. Calls the
loadatlas.loadAtlas()function.
-
_AtlasManagementPanel__onListRemove(ev)¶ Called when the user clicks the Remove button on the list. Removes the corresponding atlas from the
AtlasRegistry.
-
__module__= 'fsleyes.controls.atlasmanagementpanel'¶
-