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.SceneOpts
The
LightBoxOpts
class contains display settings for theLightBoxPanel
class.All of the properties in the
LightBoxOpts
class are defined in theLightBoxCanvasOpts
class - see its documentation for more details.-
sliceSpacing
= <MagicMock name='mock.Real()' id='140735716012240'>¶
-
ncols
= <MagicMock name='mock.Int()' id='140735716012384'>¶
-
nrows
= <MagicMock name='mock.Int()' id='140735716012432'>¶
-
topRow
= <MagicMock name='mock.Int()' id='140735716012480'>¶
-
zrange
= <MagicMock name='mock.Bounds()' id='140735716012528'>¶
-
showGridLines
= <MagicMock name='mock.Boolean()' id='140735716012576'>¶
-
highlightSlice
= <MagicMock name='mock.Boolean()' id='140735716012624'>¶
-
__init__
(*args, **kwargs)[source]¶ Create a
LightBoxOpts
instance. All arguments are passed through to theSceneOpts
constructor.The
SceneOpts.zoom
attribute is modified, asLightBoxPanel
uses it slightly differently to theOrthoPanel
.
-
zax
= <MagicMock name='mock.Choice()' id='140735716012336'>¶
-
__module__
= 'fsleyes.displaycontext.lightboxopts'¶
-
_onPerformanceChange
(*a)[source]¶ Overrides
SceneOpts._onPerformanceChange()
. Changes the value of therenderMode
andhighDpi
properties according to the performance setting.
-