15 #ifndef BORNAGAIN_GUI_VIEW_MASK_POLYGONPOINTVIEW_H
16 #define BORNAGAIN_GUI_VIEW_MASK_POLYGONPOINTVIEW_H
48 void paint(QPainter* painter,
const QStyleOptionGraphicsItem*, QWidget*)
override;
Defines interface IShape2DView.
Main interface class for views representing MaskItems, Projections on graphics scene.
This is a View of polygon point for PolygonMaskItem.
SessionItem * parameterizedItem() const override
void closePolygonRequest(bool)
void mouseMoveEvent(QGraphicsSceneMouseEvent *event) override
void onItemDestroyed() override
void onPropertyChange() override
QRectF boundingRect() const override
void update_view() override
PolygonPointView(PolygonPointItem *item)
PolygonPointItem * m_item
void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) override
void hoverEnterEvent(QGraphicsSceneHoverEvent *event) override
int type() const override
void updateParameterizedItem(const QPointF &pos)
~PolygonPointView() override
void hoverLeaveEvent(QGraphicsSceneHoverEvent *event) override
Base class for a GUI data item.