fsleyes.actions.reloadoverlay

This module provides the ReloadOverlayAction, a global action which reloads the currently selected overlay from disk.

class fsleyes.actions.reloadoverlay.ReloadOverlayAction(overlayList, displayCtx, frame)

Bases: fsleyes.actions.base.Action

The ReloadOverlayAction reloads the currently selected overlay from disk. Currently only Image overlays are supported.

__init__(overlayList, displayCtx, frame)

Create a ReloadOverlayAction.

Parameters
destroy()

Must be called when this ReloadOverlayAction is no longer required. Removes some property listeners, and calls Action.destroy().

_ReloadOverlayAction__reloadOverlay()

Reloads the currently selected overlay from disk.

_ReloadOverlayAction__selectedOverlayChanged(*a)

Called when the currently selected overlay changes. Enables/disables this Action depending on the type of the newly selected overlay.

__module__ = 'fsleyes.actions.reloadoverlay'