20 #ifndef LIBREPCB_EDITOR_BGI_NETLINE_H 21 #define LIBREPCB_EDITOR_BGI_NETLINE_H 26 #include "../../../graphics/graphicslayer.h" 57 std::shared_ptr<
const QSet<const NetSignal*>>
58 highlightedNetSignals) noexcept;
66 QPainterPath
shape()
const noexcept
override;
67 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option,
68 QWidget* widget) noexcept
override;
87 std::shared_ptr<GraphicsLayer>
mLayer;
The BI_NetLine class.
Definition: bi_netline.h:71
BI_NetLine & getNetLine() noexcept
Definition: bgi_netline.h:62
BGI_NetLine & operator=(const BGI_NetLine &rhs)=delete
void updateLine() noexcept
Definition: bgi_netline.cpp:143
Definition: occmodel.cpp:77
BI_NetLine & mNetLine
Definition: bgi_netline.h:84
void updateVisibility() noexcept
Definition: bgi_netline.cpp:177
const IF_GraphicsLayerProvider & mLayerProvider
Definition: bgi_netline.h:85
void netLineEdited(const BI_NetLine &obj, BI_NetLine::Event event) noexcept
Definition: bgi_netline.cpp:99
std::shared_ptr< GraphicsLayer > mLayer
Definition: bgi_netline.h:87
QRectF boundingRect() const noexcept override
Definition: bgi_netline.h:65
The GraphicsLayer class represents a graphical layer used in schematics and boards.
Definition: graphicslayer.h:53
Event
Definition: bi_netline.h:76
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers...
Definition: graphicslayer.h:111
void updateLayer() noexcept
Definition: bgi_netline.cpp:159
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) noexcept override
Definition: bgi_netline.cpp:77
QLineF mLineF
Definition: bgi_netline.h:90
GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
Definition: bgi_netline.h:96
QPainterPath mShape
Definition: bgi_netline.h:92
BI_NetLine::OnEditedSlot mOnNetLineEditedSlot
Definition: bgi_netline.h:95
void layerEdited(const GraphicsLayer &layer, GraphicsLayer::Event event) noexcept
Definition: bgi_netline.cpp:123
std::shared_ptr< const QSet< const NetSignal * > > mHighlightedNetSignals
Definition: bgi_netline.h:86
Event
Definition: graphicslayer.h:58
QPainterPath shape() const noexcept override
Definition: bgi_netline.cpp:73
void updateNetSignalName() noexcept
Definition: bgi_netline.cpp:173
QRectF mBoundingRect
Definition: bgi_netline.h:91
The BGI_NetLine class.
Definition: bgi_netline.h:51
virtual ~BGI_NetLine() noexcept
Definition: bgi_netline.cpp:66