5 #include <score_lib_base_export.h>
26 void setValue(
double val);
27 void setOrientation(Qt::Orientation ort) { m_orientation = ort; }
28 void setBorderWidth(
double border) { m_borderWidth = border; }
30 double value()
const {
return m_value; }
31 virtual double map(
double v)
const;
32 virtual double unmap(
double v)
const;
37 void valueChanged(
double arg_1) E_SIGNAL(SCORE_LIB_BASE_EXPORT, valueChanged, arg_1)
38 void sliderMoved(
double arg_1) E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderMoved, arg_1)
39 void sliderReleased() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderReleased)
41 void mousePressEvent(QMouseEvent* event)
override;
42 void mouseMoveEvent(QMouseEvent* event)
override;
43 void mouseReleaseEvent(QMouseEvent* event)
override;
44 virtual void createPopup(QPoint pos);
45 virtual void setRange(
double min,
double max,
double init) noexcept;
48 void paintEvent(QPaintEvent*)
override;
49 void paint(QPainter& p);
50 void paintWithText(
const QString& s);
53 void updateValue(QPointF mousePos);
56 Qt::Orientation m_orientation{};
57 double m_borderWidth{};
The DoubleSlider class.
Definition: DoubleSlider.hpp:19
Base toolkit upon which the software is built.
Definition: Application.cpp:90