InterpolationView.hpp
1 #pragma once
2 #include <Process/LayerView.hpp>
3 
4 #include <Curve/CurveView.hpp>
5 
6 #include <verdigris>
7 
8 namespace Interpolation
9 {
10 class View final : public Process::LayerView
11 {
12  W_OBJECT(View)
13 public:
14  explicit View(QGraphicsItem* parent);
15  ~View() override;
16  void setCurveView(Curve::View* view) { m_curveView = view; }
17 
18 private:
19  QPixmap pixmap() noexcept override;
20  void paint_impl(QPainter* painter) const override;
21  void dropEvent(QGraphicsSceneDragDropEvent* event) override;
22 
23  Curve::View* m_curveView;
24 };
25 }
Definition: CurveView.hpp:25
Definition: InterpolationView.hpp:11
Definition: LayerView.hpp:21