fsleyes.displaycontext.lightboxopts¶
This module provides the LightBoxOpts class, which is used
by LightBoxPanel instances for managing their display settings.
-
class
fsleyes.displaycontext.lightboxopts.LightBoxOpts(*args, **kwargs)[source]¶ Bases:
fsleyes.displaycontext.sceneopts.SceneOptsThe
LightBoxOptsclass contains display settings for theLightBoxPanelclass.All of the properties in the
LightBoxOptsclass are defined in theLightBoxCanvasOptsclass - see its documentation for more details.-
sliceSpacing= <MagicMock name='mock.Real()' id='281473492615072'>¶
-
ncols= <MagicMock name='mock.Int()' id='281473492614688'>¶
-
nrows= <MagicMock name='mock.Int()' id='281473492635760'>¶
-
topRow= <MagicMock name='mock.Int()' id='281473492635808'>¶
-
zrange= <MagicMock name='mock.Bounds()' id='281473492635856'>¶
-
showGridLines= <MagicMock name='mock.Boolean()' id='281473492635904'>¶
-
highlightSlice= <MagicMock name='mock.Boolean()' id='281473492635952'>¶
-
__init__(*args, **kwargs)[source]¶ Create a
LightBoxOptsinstance. All arguments are passed through to theSceneOptsconstructor.The
SceneOpts.zoomattribute is modified, asLightBoxPaneluses it slightly differently to theOrthoPanel.
-
zax= <MagicMock name='mock.Choice()' id='281473492614784'>¶
-
__module__= 'fsleyes.displaycontext.lightboxopts'¶
-
_onPerformanceChange(*a)[source]¶ Overrides
SceneOpts._onPerformanceChange(). Changes the value of therenderModeandhighDpiproperties according to the performance setting.
-