AutomationView.hpp
1 #pragma once
2 
3 #include <Process/LayerView.hpp>
4 
5 #include <Curve/CurveView.hpp>
6 
7 #include <verdigris>
8 
9 class QGraphicsItem;
10 class QPainter;
11 class QMimeData;
12 
13 namespace Automation
14 {
15 class LayerView final : public Process::LayerView
16 {
17  W_OBJECT(LayerView)
18 public:
19  explicit LayerView(QGraphicsItem* parent);
20  ~LayerView() override;
21  void setCurveView(Curve::View* view) { m_curveView = view; }
22 
23 private:
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