qudi.util.widgets.slider

This file contains a wrapper to display the SpinBox in scientific way

Classes

DoubleSlider(*args, **kwargs)

class qudi.util.widgets.slider.DoubleSlider(*args, **kwargs)[source]

Bases: PySide2.QtWidgets.QSlider

doubleRangeChanged

!! processed by numpydoc !!

doubleSliderMoved

!! processed by numpydoc !!

doubleValueChanged

!! processed by numpydoc !!

property granularity: int

!! processed by numpydoc !!

maximum(self) int[source]
minimum(self) int[source]
setMaximum(self, arg__1: int) None[source]
setMinimum(self, arg__1: int) None[source]
setRange(self, min: int, max: int) None[source]
setValue(self, arg__1: int) None[source]
set_granularity(number_of_steps)[source]

Set the granularity of the slider, i.e., the number of discrete steps within the value range.

Parameters:
number_of_stepsint

The number of discrete positions the slider has.

staticMetaObject = <PySide2.QtCore.QMetaObject object>
value(self) int[source]