22 SCORE_SERIALIZE_FRIENDS
32 template <
typename Impl>
45 void setTween(
bool tween);
47 QString prettyName()
const noexcept override;
49 using gradient_colors = ossia::flat_map<double, QColor>;
50 const gradient_colors& gradient()
const;
51 void setGradient(
const gradient_colors& c);
53 std::unique_ptr<Process::Outlet> outlet;
56 void tweenChanged(
bool tween)
57 E_SIGNAL(SCORE_PLUGIN_AUTOMATION_EXPORT, tweenChanged, tween)
58 void gradientChanged() E_SIGNAL(SCORE_PLUGIN_AUTOMATION_EXPORT, gradientChanged)
60 PROPERTY(
bool, tween READ tween WRITE setTween NOTIFY tweenChanged)
66 std::optional<Process::MagneticInfo>
67 magneticPosition(
const QObject* o,
const TimeVal t)
const noexcept override;
69 void setDurationAndScale(
const TimeVal& newDuration)
noexcept override;
70 void setDurationAndGrow(
const TimeVal& newDuration)
noexcept override;
71 void setDurationAndShrink(
const TimeVal& newDuration)
noexcept override;
73 TimeVal contentDuration()
const noexcept override;
75 ossia::flat_map<double, QColor> m_colors;