24 : CurveProcessPresenter{style, layer, view, context, parent}
26 con(layer, &ProcessModel::tweenChanged,
this, &Presenter::on_tweenChanges);
27 connect(m_view, &View::dropReceived,
this, &Presenter::on_dropReceived);
29 on_tweenChanges(layer.tween());
30 con(layer.curve(), &Curve::Model::curveReset,
this,
31 [&] { on_tweenChanges(layer.tween()); });
35 void setFullView()
override { m_curve.setBoundedMove(
false); }
37 void on_tweenChanges(
bool b)
41 if(seg.model().start().x() != 0.)
52 void on_dropReceived(
const QPointF&,
const QMimeData& mime)
54 if(
auto newAddr = State::onUpdatableAddress(model().address(), mime))
57 ChangeInterpolationAddress(model(), std::move(*newAddr), disp);
Definition ProcessContext.hpp:12