20#ifndef LIBREPCB_EDITOR_SGI_NETLINE_H
21#define LIBREPCB_EDITOR_SGI_NETLINE_H
40class IF_GraphicsLayerProvider;
55 std::shared_ptr<
const QSet<const NetSignal*>>
56 highlightedNetSignals)
noexcept;
64 QPainterPath
shape() const noexcept override;
65 void paint(QPainter* painter, const QStyleOptionGraphicsItem* option,
66 QWidget* widget) noexcept override;
The NetSignal class.
Definition netsignal.h:50
The SI_NetLine class.
Definition si_netline.h:65
The GraphicsLayer class represents a graphical layer used in schematics and boards.
Definition graphicslayer.h:53
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition graphicslayer.h:111
The SGI_NetLine class.
Definition sgi_netline.h:49
std::shared_ptr< const QSet< const NetSignal * > > mHighlightedNetSignals
Definition sgi_netline.h:79
virtual ~SGI_NetLine() noexcept
Definition sgi_netline.cpp:65
QRectF boundingRect() const noexcept override
Definition sgi_netline.h:63
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) noexcept override
Definition sgi_netline.cpp:76
QPainterPath mShape
Definition sgi_netline.h:85
SI_NetLine::OnEditedSlot mOnNetLineEditedSlot
Definition sgi_netline.h:88
std::shared_ptr< GraphicsLayer > mLayer
Definition sgi_netline.h:80
std::shared_ptr< GraphicsLayer > getLayer(const QString &name) const noexcept
QPainterPath shape() const noexcept override
Definition sgi_netline.cpp:72
void updatePositions() noexcept
Definition sgi_netline.cpp:116
SI_NetLine & getNetLine() noexcept
Definition sgi_netline.h:60
QRectF mBoundingRect
Definition sgi_netline.h:84
SGI_NetLine(const SGI_NetLine &other)=delete
void netLineEdited(const SI_NetLine &obj, SI_NetLine::Event event) noexcept
Definition sgi_netline.cpp:99
SI_NetLine & mNetLine
Definition sgi_netline.h:78
QLineF mLineF
Definition sgi_netline.h:83
void updateNetSignalName() noexcept
Definition sgi_netline.cpp:132
Definition occmodel.cpp:76