3#include <NDEVR/BaseValues.h>
17 : QSlider(orientation, parent)
28 return cast<fltp08>(value()) / sliderScale();
32 QSlider::setValue(cast<int>(value * sliderScale()));
36 QSlider::setMaximum(cast<int>(value * sliderScale()));
40 QSlider::setMinimum(cast<int>(value * sliderScale()));
The slider is the classic widget for controlling a bounded value. It lets the user move a slider hand...
Definition QCustomSlider.h:13
void edited(fltp08 percent)
QCustomSlider(QWidget *parent=nullptr)
Definition QCustomSlider.h:21
fltp08 getValue() const
Definition QCustomSlider.h:26
void setValue(fltp08 value)
Definition QCustomSlider.h:30
void setMaximum(fltp08 value)
Definition QCustomSlider.h:34
fltp08 sliderScale() const
Definition QCustomSlider.h:44
void setRange(fltp08 min, fltp08 max)
void setMinimum(fltp08 value)
Definition QCustomSlider.h:38
QCustomSlider(Qt::Orientation orientation, QWidget *parent=nullptr)
Definition QCustomSlider.h:16
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:146