ProcessPanelGraphicsProxy.hpp
1 #pragma once
2 #include <QGraphicsItem>
3 #include <QRect>
4 #include <QSize>
5 
6 class ProcessPanelPresenter;
7 class QPainter;
8 class QStyleOptionGraphicsItem;
9 class QWidget;
10 
11 class ProcessPanelGraphicsProxy final : public QGraphicsItem
12 {
13  QSizeF m_size;
14 
15 public:
17 
18  QRectF boundingRect() const override;
19  void paint(QPainter* painter, const QStyleOptionGraphicsItem* option, QWidget* widget)
20  override;
21 
22  void setRect(const QSizeF& size);
23 };
Definition: ProcessPanelGraphicsProxy.hpp:12