20#ifndef LIBREPCB_EDITOR_BGI_ZONE_H
21#define LIBREPCB_EDITOR_BGI_ZONE_H
38class IF_GraphicsLayerProvider;
39class PrimitiveZoneGraphicsItem;
48class BGI_Zone final :
public QGraphicsItemGroup {
78 QPainterPath
shape() const noexcept override;
86 const QVariant& value) noexcept override;
The BI_Zone class.
Definition bi_zone.h:46
The Point class is used to represent a point/coordinate/vector, for example (1.2mm; 5....
Definition point.h:78
The BGI_Zone class.
Definition bgi_zone.h:48
const PrimitiveZoneGraphicsItem & getGraphicsItem() const noexcept
Definition bgi_zone.h:58
BI_Zone::OnEditedSlot mOnEditedSlot
Definition bgi_zone.h:95
int getLineIndexAtPosition(const Point &pos) const noexcept
Definition bgi_zone.cpp:68
QVariant itemChange(GraphicsItemChange change, const QVariant &value) noexcept override
Definition bgi_zone.cpp:85
virtual ~BGI_Zone() noexcept
Definition bgi_zone.cpp:61
BGI_Zone(const BGI_Zone &other)=delete
void updateEditable() noexcept
Definition bgi_zone.cpp:129
void zoneEdited(const BI_Zone &obj, BI_Zone::Event event) noexcept
Definition bgi_zone.cpp:97
QPainterPath shape() const noexcept override
Definition bgi_zone.cpp:81
QScopedPointer< PrimitiveZoneGraphicsItem > mGraphicsItem
Definition bgi_zone.h:92
QVector< int > getVertexIndicesAtPosition(const Point &pos) const noexcept
Definition bgi_zone.cpp:72
void updateZValue() noexcept
Definition bgi_zone.cpp:121
BI_Zone & mZone
Definition bgi_zone.h:91
BI_Zone & getZone() noexcept
Definition bgi_zone.h:57
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition graphicslayer.h:111
The PrimitiveZoneGraphicsItem class.
Definition primitivezonegraphicsitem.h:51
Definition occmodel.cpp:76