3#include <NDEVR/BaseValues.h>
23 : QSlider(orientation, parent)
fltp08 sliderScale() const
Returns the internal scale factor used to convert between floating-point values and the integer-based...
void setMinimum(fltp08 value)
Sets the minimum slider value from a floating-point value.
void init()
Initializes the slider with default settings and signal connections.
void setValue(fltp08 value)
Sets the slider value from a floating-point percent.
QCustomSlider(QWidget *parent=nullptr)
Constructs a slider with default orientation.
void setRange(fltp08 min, fltp08 max)
Sets the minimum and maximum range of the slider.
QCustomSlider(Qt::Orientation orientation, QWidget *parent=nullptr)
Constructs a slider with the specified orientation.
void setMaximum(fltp08 value)
Sets the maximum slider value from a floating-point value.
void editingFinished()
Signal emitted when the user finishes editing the slider value.
fltp08 getValue() const
Returns the current slider value as a floating-point percent.
void edited(fltp08 percent)
Signal emitted when the slider value changes.
void setVertical(bool is_vertical)
Sets the slider orientation to vertical or horizontal.
void onEditedSlot()
Slot called when the slider value is edited by the user.
The primary namespace for the NDEVR SDK.
double fltp08
Defines an alias representing an 8 byte floating-point number.
constexpr t_to cast(const Angle< t_from > &value)
Casts an Angle from one backing type to another.