class
SliderWidgetA slider widget to change a numerical parameter.
Contents
Constructors, destructors, conversion operators
- SliderWidget(std::string name, float initial, float min, float max, float step, std::function<void(float)> callback, QWidget* parent = nullptr)
- SliderWidget(std::string name, float initial, float min, float max, float step, SliderWidgetCallback* callback, QWidget* parent = nullptr)
Public functions
- void valueChanged(int value)
- void setValue(float value)
- auto getValue() const -> float
- auto getName() const -> std::string