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;
The BI_NetLine class.
Definition: bi_netline.h:71
The NetSignal class.
Definition: netsignal.h:50
The BGI_NetLine class.
Definition: bgi_netline.h:51
std::shared_ptr< const QSet< const NetSignal * > > mHighlightedNetSignals
Definition: bgi_netline.h:86
QRectF boundingRect() const noexcept override
Definition: bgi_netline.h:65
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) noexcept override
Definition: bgi_netline.cpp:77
QPainterPath mShape
Definition: bgi_netline.h:92
std::shared_ptr< GraphicsLayer > mLayer
Definition: bgi_netline.h:87
void updateLine() noexcept
Definition: bgi_netline.cpp:145
void netLineEdited(const BI_NetLine &obj, BI_NetLine::Event event) noexcept
Definition: bgi_netline.cpp:101
QPainterPath shape() const noexcept override
Definition: bgi_netline.cpp:73
GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
Definition: bgi_netline.h:96
const IF_GraphicsLayerProvider & mLayerProvider
Definition: bgi_netline.h:85
QRectF mBoundingRect
Definition: bgi_netline.h:91
void layerEdited(const GraphicsLayer &layer, GraphicsLayer::Event event) noexcept
Definition: bgi_netline.cpp:125
BI_NetLine & getNetLine() noexcept
Definition: bgi_netline.h:62
QLineF mLineF
Definition: bgi_netline.h:90
virtual ~BGI_NetLine() noexcept
Definition: bgi_netline.cpp:66
BI_NetLine & mNetLine
Definition: bgi_netline.h:84
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:95
BGI_NetLine(const BGI_NetLine &other)=delete
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
Definition: occmodel.cpp:77