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)

Bases: fsleyes.actions.base.Action

The ClearLayoutsAction allows the user to delete all saved layouts.

__init__(overlayList, displayCtx, frame)

Create a ClearLayoutsAction.

_ClearLayoutsAction__clearLayouts()

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

__module__ = 'fsleyes.actions.clearlayouts'