Loading...
Searching...
No Matches
AutomationView.hpp
1#pragma once
2
3#include <Process/LayerView.hpp>
4
5#include <Curve/CurveView.hpp>
6
7#include <verdigris>
8
9class QGraphicsItem;
10class QPainter;
11class QMimeData;
12
13namespace Automation
14{
15class LayerView final : public Process::LayerView
16{
17 W_OBJECT(LayerView)
18public:
19 explicit LayerView(QGraphicsItem* parent);
20 ~LayerView() override;
21 void setCurveView(Curve::View* view) { m_curveView = view; }
22
23private:
24 QPixmap pixmap() noexcept override;
25 void paint_impl(QPainter* painter) const override;
26 void dropEvent(QGraphicsSceneDragDropEvent* event) override;
27
28 Curve::View* m_curveView{};
29};
30}
Definition AutomationView.hpp:16
Definition CurveView.hpp:25
Definition LayerView.hpp:21
Namespace related to the Automation process.
Definition AutomationColors.cpp:8