21 #include <QStyleOptionGraphicsItem>
28 setFlag(QGraphicsItem::ItemClipsChildrenToShape,
true);
35 setFlag(QGraphicsItem::ItemClipsChildrenToShape,
true);
Defines interface class ISceneAdaptor.
Defines MaskContainerView class.
Defines MaskItems classes.
Defines items related to projections over color map.
virtual const QRectF & viewportRectangle() const
Returns viewport rectangle in scene coordinates.
Main interface class for views representing MaskItems, Projections on graphics scene.
const ISceneAdaptor * m_adaptor
void disconnectFromItem(SessionItem *item)
Container holding various masks as children.
void onItemDestroyed() override
void update_view() override
SessionItem * parameterizedItem() const override
MaskContainerView(MaskContainerItem *item)
void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) override
~MaskContainerView() override
A container to hold ProjectionItems, intended to store projections of color map on X,...
Base class for a GUI data item.