20#ifndef LIBREPCB_EDITOR_HOLEGRAPHICSITEM_H
21#define LIBREPCB_EDITOR_HOLEGRAPHICSITEM_H
37class IF_GraphicsLayerProvider;
38class PrimitiveHoleGraphicsItem;
54 bool originCrossesVisible,
55 QGraphicsItem* parent =
nullptr) noexcept;
62 QPainterPath
shape() const noexcept override;
70 const QVariant& value) noexcept override;
The Hole class.
Definition: hole.h:45
The HoleGraphicsItem class is the graphical representation of a librepcb::Hole.
Definition: holegraphicsitem.h:48
void holeEdited(const Hole &hole, Hole::Event event) noexcept
Definition: holegraphicsitem.cpp:82
QVariant itemChange(GraphicsItemChange change, const QVariant &value) noexcept override
Definition: holegraphicsitem.cpp:70
Hole::OnEditedSlot mOnEditedSlot
Definition: holegraphicsitem.h:78
HoleGraphicsItem(const HoleGraphicsItem &other)=delete
Hole & getObj() noexcept
Definition: holegraphicsitem.h:59
QPainterPath shape() const noexcept override
Definition: holegraphicsitem.cpp:66
void updateHole() noexcept
Definition: holegraphicsitem.cpp:99
QScopedPointer< PrimitiveHoleGraphicsItem > mGraphicsItem
Definition: holegraphicsitem.h:75
HoleGraphicsItem()=delete
Hole & mHole
Definition: holegraphicsitem.h:74
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition: graphicslayer.h:111
Independent graphical representation of a librepcb::Hole.
Definition: primitiveholegraphicsitem.h:53
Definition: occmodel.cpp:77