fsleyes.plugins.controls.atlaspanel.atlasmanagementpanel¶
This module provides the AtlasManagementPanel, which is a sub-panel
that is used by the AtlasPanel.
- class fsleyes.plugins.controls.atlaspanel.atlasmanagementpanel.AtlasManagementPanel(parent, overlayList, displayCtx, 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, atlasPanel)[source]¶
Create an
AtlasManagementPanel.- Parameters
parent – the
wxparent object.overlayList – The
OverlayListinstance.displayCtx – The
DisplayContextinstance.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.
- __atlasAdded(registry, topic, desc)¶
Called when an atlas is removed from the
AtlasRegistry. Removes the corresponding atlas from the list.
- __atlasRemoved(registry, topic, desc)¶
Called when an atlas is removed from the
AtlasRegistry. Removes the corresponding atlas from the list.
- __onListAdd(ev)¶
Called when the user clicks the Add button on the list. Calls the
loadatlas.loadAtlas()function.
- __onListRemove(ev)¶
Called when the user clicks the Remove button on the list. Removes the corresponding atlas from the
AtlasRegistry.
- __annotations__ = {}¶
- __module__ = 'fsleyes.plugins.controls.atlaspanel.atlasmanagementpanel'¶