8.6.5.1.7. pymodaq_gui.parameter.pymodaq_ptypes.led module

class pymodaq_gui.parameter.pymodaq_ptypes.led.LedParameter(**opts)[source]

Bases: SimpleParameter

Methods

itemClass

itemClass

alias of LedParameterItem

staticMetaObject = PySide6.QtCore.QMetaObject("LedParameter" inherits "SimpleParameter": )
class pymodaq_gui.parameter.pymodaq_ptypes.led.LedParameterItem(param, depth)[source]

Bases: WidgetParameterItem

Methods

makeWidget()

makeWidget()[source]
class pymodaq_gui.parameter.pymodaq_ptypes.led.LedPushParameter(**opts)[source]

Bases: SimpleParameter

Methods

itemClass

itemClass

alias of LedPushParameterItem

staticMetaObject = PySide6.QtCore.QMetaObject("LedPushParameter" inherits "SimpleParameter": )
class pymodaq_gui.parameter.pymodaq_ptypes.led.LedPushParameterItem(param, depth)[source]

Bases: WidgetParameterItem

Methods

makeWidget()

makeWidget()[source]
class pymodaq_gui.parameter.pymodaq_ptypes.led.MultistateLedParameter(**opts)[source]

Bases: _LedLimitsMixin, SimpleParameter

Parameter type displaying a named-state LED.

Methods

itemClass

itemClass

alias of MultistateLedParameterItem

staticMetaObject = PySide6.QtCore.QMetaObject("MultistateLedParameter" inherits "SimpleParameter": )
class pymodaq_gui.parameter.pymodaq_ptypes.led.MultistateLedParameterItem(param, depth)[source]

Bases: WidgetParameterItem

Methods

limitsChanged(param, limits)

makeWidget()

optsChanged(param, opts)

limitsChanged(param, limits)[source]
makeWidget()[source]
optsChanged(param, opts)[source]
pymodaq_gui.parameter.pymodaq_ptypes.led.resolve_limits(limits)[source]

Turn the limits option of a LED parameter into (name, color) pairs

None gives the default two states, 'status' all the states of the Status workflow, a list of names (Status members or the equivalent strings) the corresponding subset of it, coloured with the StatusPalette; (name, color) pairs are used as they are.