20#ifndef LIBREPCB_EDITOR_SGI_NETLINE_H
21#define LIBREPCB_EDITOR_SGI_NETLINE_H
43class GraphicsLayerList;
58 std::shared_ptr<
const QSet<const NetSignal*>>
59 highlightedNetSignals)
noexcept;
67 QPainterPath
shape() const noexcept override;
68 void paint(QPainter* painter, const QStyleOptionGraphicsItem* option,
69 QWidget* widget) noexcept override;
The NetSignal class.
Definition netsignal.h:50
The SI_NetLine class.
Definition si_netline.h:64
The GraphicsLayer class represents a graphical layer used in schematics and boards.
Definition graphicslayer.h:53
The GraphicsLayerList class.
Definition graphicslayerlist.h:48
The SGI_NetLine class.
Definition sgi_netline.h:52
std::shared_ptr< const QSet< const NetSignal * > > mHighlightedNetSignals
Definition sgi_netline.h:82
virtual ~SGI_NetLine() noexcept
Definition sgi_netline.cpp:66
QRectF boundingRect() const noexcept override
Definition sgi_netline.h:66
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) noexcept override
Definition sgi_netline.cpp:77
QPainterPath mShape
Definition sgi_netline.h:88
SI_NetLine::OnEditedSlot mOnNetLineEditedSlot
Definition sgi_netline.h:91
std::shared_ptr< GraphicsLayer > getLayer(const QString &name) const noexcept
QPainterPath shape() const noexcept override
Definition sgi_netline.cpp:73
void updatePositions() noexcept
Definition sgi_netline.cpp:118
SI_NetLine & getNetLine() noexcept
Definition sgi_netline.h:63
std::shared_ptr< const GraphicsLayer > mLayer
Definition sgi_netline.h:83
QRectF mBoundingRect
Definition sgi_netline.h:87
SGI_NetLine(const SGI_NetLine &other)=delete
void netLineEdited(const SI_NetLine &obj, SI_NetLine::Event event) noexcept
Definition sgi_netline.cpp:101
SI_NetLine & mNetLine
Definition sgi_netline.h:81
QLineF mLineF
Definition sgi_netline.h:86
void updateNetSignalName() noexcept
Definition sgi_netline.cpp:134
Definition occmodel.cpp:77