7.5.4.1.1. pymodaq_gui.parameter.pymodaq_ptypes.bool module
- class pymodaq_gui.parameter.pymodaq_ptypes.bool.BoolPushParameter(*args, **kwargs)[source]
Bases:
SimpleParameterMethods
alias of
BoolPushParameterItem- itemClass
alias of
BoolPushParameterItem
- class pymodaq_gui.parameter.pymodaq_ptypes.bool.BoolPushParameterItem(param, depth)[source]
Bases:
WidgetParameterItemRegistered parameter type which displays a QLineEdit
Methods
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.