fsleyes.actions.clearlayouts

This module provides the ClearLayoutsAction, which allows the user to clear/delete all saved layouts.

class fsleyes.actions.clearlayouts.ClearLayoutsAction(overlayList, displayCtx, frame)[source]

Bases: fsleyes.actions.base.Action

The ClearLayoutsAction allows the user to delete all saved layouts.

__init__(overlayList, displayCtx, frame)[source]

Create a ClearLayoutsAction.

__clearLayouts()

Deletes all saved layouts. Gets the user to confirm that they want to proceed before doing so.

__annotations__ = {}
__module__ = 'fsleyes.actions.clearlayouts'