2 #include <Process/ProcessContext.hpp>
3 #include <Process/ZoomHelper.hpp>
5 #include <score/model/Identifier.hpp>
7 #include <QGraphicsItem>
9 #include <score_lib_process_export.h>
19 class LayerContextMenuManager;
23 using QGraphicsItem::QGraphicsItem;
25 virtual void setSize(QSizeF sz);
26 virtual void on_zoomRatioChanged(ZoomRatio) = 0;
28 QRectF boundingRect()
const final override;
46 void setFocus(
bool focus);
47 virtual void on_focusChanged();
49 virtual void setFullView();
51 virtual void setWidth(qreal width, qreal defaultWidth) = 0;
52 virtual void setHeight(qreal height) = 0;
54 virtual void putToFront() = 0;
55 virtual void putBehind() = 0;
57 virtual void on_zoomRatioChanged(ZoomRatio) = 0;
58 virtual void parentGeometryChanged() = 0;
67 static constexpr
bool recommendedHeight =
false;
70 void contextMenuRequested(
const QPoint& arg_1,
const QPointF& arg_2)
71 E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, contextMenuRequested, arg_1, arg_2)
74 void handlePresetDrop(
const QPointF& pt,
const QMimeData& mime);
Definition: LayerPresenter.hpp:21
Definition: LayerPresenter.hpp:34
Definition: LayerView.hpp:21
The Process class.
Definition: score-lib-process/Process/Process.hpp:61
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
Definition: ProcessContext.hpp:12
Definition: ProcessContext.hpp:21