fsleyes.actions.loadplugin
¶
This module provides the LoadPluginAction
class, an action which
allows the user to load/install FSLeyes plugins.
- class fsleyes.actions.loadplugin.LoadPluginAction(overlayList, displayCtx, frame)[source]¶
Bases:
fsleyes.actions.base.Action
The
LoadPluginAction
class is anAction
which allows the user to load/install FSLeyes plugins - see theplugins
module.- __init__(overlayList, displayCtx, frame)[source]¶
Create a
LoadPluginAction
.- Parameters
overlayList – The
OverlayList
.displayCtx – The top-level
DisplayContext
.overlayList – The
FSLeyesFrame
.
- __loadPlugin(*args, **kwargs)¶
Prompts the user to select a plugin file, asks them whether they would like to install it permanently, and then passes it to either
loadPlugin()
orinstallPlugin()
.
- __annotations__ = {}¶
- __module__ = 'fsleyes.actions.loadplugin'¶