2 #include <score/graphics/widgets/Constants.hpp>
3 #include <score/graphics/widgets/QGraphicsSliderBase.hpp>
5 #include <QGraphicsItem>
8 #include <score_lib_base_export.h>
19 SCORE_GRAPHICS_ITEM_TYPE(100)
28 double min{}, max{}, init{};
38 void setRange(
double min,
double max,
double init);
39 void setValue(
double v);
41 void setExecutionValue(
double v);
42 void resetExecution();
44 double from01(
double v)
const noexcept;
45 double map(
double v)
const noexcept;
46 double unmap(
double v)
const noexcept;
51 void sliderMoved() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderMoved)
52 void sliderReleased() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderReleased)
55 void mousePressEvent(QGraphicsSceneMouseEvent* event)
override;
56 void mouseMoveEvent(QGraphicsSceneMouseEvent* event)
override;
57 void mouseReleaseEvent(QGraphicsSceneMouseEvent* event)
override;
58 void contextMenuEvent(QGraphicsSceneContextMenuEvent* event)
override;
59 void mouseDoubleClickEvent(QGraphicsSceneMouseEvent* event)
override;
60 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)
Definition: QGraphicsLogSlider.hpp:17
Base toolkit upon which the software is built.
Definition: Application.cpp:90
Definition: DefaultControlImpl.hpp:10
Definition: DefaultGraphicsSliderImpl.hpp:31
Definition: QGraphicsSliderBase.hpp:17