2 #include <score/graphics/widgets/Constants.hpp>
4 #include <ossia-qt/value_metatypes.hpp>
6 #include <QGraphicsItem>
9 #include <score_lib_base_export.h>
20 struct RightClickImpl;
23 ,
public QGraphicsItem
26 SCORE_GRAPHICS_ITEM_TYPE(110)
30 double min{0.}, max{1.};
32 ossia::value m_value{};
33 ossia::value m_execValue{};
40 void setPoint(
const QPointF& r);
41 void setValue(ossia::value v);
42 ossia::value value()
const;
43 void setExecutionValue(
double v);
44 void resetExecution();
46 void setRange(
const ossia::value& min,
const ossia::value& max);
47 void setRange(
const ossia::domain& dom);
50 void sliderMoved() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderMoved)
51 void sliderReleased() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderReleased)
54 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
55 void mouseMoveEvent(QGraphicsSceneMouseEvent* event)
override;
56 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
override;
57 QRectF boundingRect()
const override;
58 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
Definition: QGraphicsMultiSlider.hpp:24
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: DefaultGraphicsSliderImpl.hpp:25
Definition: QGraphicsMultiSlider.cpp:51