MappingView.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 
12 namespace Mapping
13 {
14 class LayerView final : public Process::LayerView
15 {
16  W_OBJECT(LayerView)
17 public:
18  explicit LayerView(QGraphicsItem* parent);
19  QPixmap pixmap() noexcept override;
20  void setCurveView(Curve::View* view) { m_curveView = view; }
21 
22 private:
23  void paint_impl(QPainter* painter) const override;
24  Curve::View* m_curveView{};
25 };
26 }
Definition: CurveView.hpp:25
Definition: MappingView.hpp:15
Definition: LayerView.hpp:21