26 : CurveProcessPresenter{style, layer, view, context, parent}
29 con(layer, &ProcessModel::tweenChanged,
this, &LayerPresenter::on_tweenChanges);
31 connect(m_view, &LayerView::dropReceived,
this, &LayerPresenter::on_dropReceived);
33 on_tweenChanges(layer.tween());
34 con(layer.curve(), &Curve::Model::curveReset,
this,
35 [&] { on_tweenChanges(layer.tween()); });
39 void setFullView()
override { m_curve.setBoundedMove(
false); }
41 void on_tweenChanges(
bool b)
45 if(seg.model().start().x() != 0.)
56 void on_dropReceived(
const QPointF& pos,
const QMimeData& mime)
58 if(
auto addr = State::onUpdatableAddress(model().address(), mime))
63 else if(mime.formats().contains(score::mime::processpreset()))
65 handlePresetDrop(pos, mime);
Definition ProcessContext.hpp:12