20#ifndef LIBREPCB_EDITOR_BGI_NETLINE_H
21#define LIBREPCB_EDITOR_BGI_NETLINE_H
26#include "../../../graphics/graphicslayer.h"
44class GraphicsLayerList;
59 std::shared_ptr<
const QSet<const NetSignal*>>
60 highlightedNetSignals)
noexcept;
68 QPainterPath
shape() const noexcept override;
69 void paint(QPainter* painter, const QStyleOptionGraphicsItem* option,
70 QWidget* widget) noexcept override;
The BI_NetLine class.
Definition bi_netline.h:71
The NetSignal class.
Definition netsignal.h:50
The BGI_NetLine class.
Definition bgi_netline.h:53
std::shared_ptr< const QSet< const NetSignal * > > mHighlightedNetSignals
Definition bgi_netline.h:88
QRectF boundingRect() const noexcept override
Definition bgi_netline.h:67
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) noexcept override
Definition bgi_netline.cpp:77
QPainterPath mShape
Definition bgi_netline.h:94
void updateLine() noexcept
Definition bgi_netline.cpp:145
void netLineEdited(const BI_NetLine &obj, BI_NetLine::Event event) noexcept
Definition bgi_netline.cpp:101
const GraphicsLayerList & mLayers
Definition bgi_netline.h:87
QPainterPath shape() const noexcept override
Definition bgi_netline.cpp:73
GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
Definition bgi_netline.h:98
std::shared_ptr< const GraphicsLayer > mLayer
Definition bgi_netline.h:89
QRectF mBoundingRect
Definition bgi_netline.h:93
void layerEdited(const GraphicsLayer &layer, GraphicsLayer::Event event) noexcept
Definition bgi_netline.cpp:125
BI_NetLine & getNetLine() noexcept
Definition bgi_netline.h:64
QLineF mLineF
Definition bgi_netline.h:92
virtual ~BGI_NetLine() noexcept
Definition bgi_netline.cpp:66
BI_NetLine & mNetLine
Definition bgi_netline.h:86
void updateVisibility() noexcept
Definition bgi_netline.cpp:179
void updateLayer() noexcept
Definition bgi_netline.cpp:161
void updateNetSignalName() noexcept
Definition bgi_netline.cpp:175
BI_NetLine::OnEditedSlot mOnNetLineEditedSlot
Definition bgi_netline.h:97
BGI_NetLine(const BGI_NetLine &other)=delete
The GraphicsLayer class represents a graphical layer used in schematics and boards.
Definition graphicslayer.h:53
The GraphicsLayerList class.
Definition graphicslayerlist.h:48
Definition occmodel.cpp:77