8.5.4.1.6. pymodaq_gui.parameter.pymodaq_ptypes.led module

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

Bases: SimpleParameter

Methods

itemClass

alias of LedParameterItem

itemClass

alias of LedParameterItem

class pymodaq_gui.parameter.pymodaq_ptypes.led.LedParameterItem(param, depth)[source]

Bases: WidgetParameterItem

Registered parameter type which displays a QLineEdit

Methods

makeWidget()

Return a single widget whose position in the tree is determined by the value of self.asSubItem.

makeWidget()[source]

Return a single widget whose position in the tree is determined by the value of self.asSubItem. If True, it will be placed in the second tree column, and if False, the first tree column of a child item.

The widget must be given three attributes:

sigChanged

a signal that is emitted when the widget’s value is changed

value

a function that returns the value

setValue

a function that sets the value

This function must be overridden by a subclass.

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

Bases: SimpleParameter

Methods

itemClass

alias of LedPushParameterItem

itemClass

alias of LedPushParameterItem

class pymodaq_gui.parameter.pymodaq_ptypes.led.LedPushParameterItem(param, depth)[source]

Bases: LedParameterItem

Registered parameter type which displays a QLineEdit

Methods

makeWidget()

Return a single widget whose position in the tree is determined by the value of self.asSubItem.

makeWidget()[source]

Return a single widget whose position in the tree is determined by the value of self.asSubItem. If True, it will be placed in the second tree column, and if False, the first tree column of a child item.

The widget must be given three attributes:

sigChanged

a signal that is emitted when the widget’s value is changed

value

a function that returns the value

setValue

a function that sets the value

This function must be overridden by a subclass.