18 ,
public QGraphicsItem
21 SCORE_GRAPHICS_ITEM_TYPE(290)
22 QRectF m_rect{0., 0., 150., 24.};
24 std::array<double, 3> m_prev{};
30 void setPoint(
const QPointF& r);
31 void setValue(std::array<float, 3> v);
32 void setValue(std::array<double, 3> v);
34 ossia::vec3f min = {0.f, 0.f, 0.f}, ossia::vec3f max = {1.f, 1.f, 1.f},
35 ossia::vec3f init = {0.f, 0.f, 0.f});
36 std::array<double, 3> value()
const noexcept;
37 std::array<double, 3> getMin()
const noexcept;
38 std::array<double, 3> getMax()
const noexcept;
43 void sliderMoved() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderMoved)
44 void sliderReleased() E_SIGNAL(SCORE_LIB_BASE_EXPORT, sliderReleased)
47 void componentMoved(std::size_t source);
48 std::array<double, 3> normalizedValue()
const noexcept;
49 std::array<double, 3> scaledValue(
double x,
double y,
double z)
const noexcept;
50 QRectF boundingRect()
const override;
51 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option, QWidget* widget)