8.5.4.1.10. pymodaq_gui.parameter.pymodaq_ptypes.slide module

class pymodaq_gui.parameter.pymodaq_ptypes.slide.SliderParameter(**kwargs)[source]

Bases: SimpleParameter

Methods

itemClass

itemClass

alias of SliderParameterItem

class pymodaq_gui.parameter.pymodaq_ptypes.slide.SliderParameterItem(param, depth)[source]

Bases: WidgetParameterItem

Registered parameter type which displays a QLineEdit

Methods

limitsChanged(param, limits)

makeWidget()

optsChanged(param, opts)

updateDisplayLabel([value])

showEditor

limitsChanged(param, limits)[source]
makeWidget()[source]
optsChanged(param, opts)[source]
showEditor()[source]
updateDisplayLabel(value=None)[source]
class pymodaq_gui.parameter.pymodaq_ptypes.slide.SliderSpinBox(*args: Any, **kwargs: Any)[source]

Bases: QWidget

Attributes:
opts

Methods

get_bounds()

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

get_bounds()[source]

Convert bounds from opts into list of floats

Returns:

list of floats

initUI(*args, **kwargs)[source]

Init the User Interface.

insert_widget(widget, row=0)[source]
setOpts(**opts)[source]
setValue(val)[source]
update_slide(val)[source]

val is the spinbox value between its min and max

update_spinbox(val)[source]

val is a percentage [0-100] used in order to set the spinbox value between its min and max

value()[source]
property opts