8.5.4.1.10. pymodaq_gui.parameter.pymodaq_ptypes.slide module
- class pymodaq_gui.parameter.pymodaq_ptypes.slide.SliderParameter(**kwargs)[source]
Bases:
SimpleParameterMethods
- itemClass
alias of
SliderParameterItem
- class pymodaq_gui.parameter.pymodaq_ptypes.slide.SliderParameterItem(param, depth)[source]
Bases:
WidgetParameterItemRegistered parameter type which displays a QLineEdit
Methods
limitsChanged(param, limits)optsChanged(param, opts)updateDisplayLabel([value])showEditor
- class pymodaq_gui.parameter.pymodaq_ptypes.slide.SliderSpinBox(*args: Any, **kwargs: Any)[source]
Bases:
QWidget- Attributes:
- opts
Methods
Convert bounds from opts into list of floats
initUI(*args, **kwargs)Init the User Interface.
update_slide(val)val is the spinbox value between its min and max
update_spinbox(val)val is a percentage [0-100] used in order to set the spinbox value between its min and max
insert_widget
setOpts
setValue
value
- update_spinbox(val)[source]
val is a percentage [0-100] used in order to set the spinbox value between its min and max
- property opts