20#ifndef LIBREPCB_EDITOR_BGI_AIRWIRE_H
21#define LIBREPCB_EDITOR_BGI_AIRWIRE_H
26#include "../../../graphics/graphicslayer.h"
44class IF_GraphicsLayerProvider;
59 std::shared_ptr<
const QSet<const NetSignal*>>
60 highlightedNetSignals)
noexcept;
68 void paint(QPainter* painter,
const QStyleOptionGraphicsItem* option,
81 std::shared_ptr<GraphicsLayer>
mLayer;
The BI_AirWire class.
Definition: bi_airwire.h:45
The BGI_AirWire class.
Definition: bgi_airwire.h:53
std::shared_ptr< const QSet< const NetSignal * > > mHighlightedNetSignals
Definition: bgi_airwire.h:80
BGI_AirWire & operator=(const BGI_AirWire &rhs)=delete
std::shared_ptr< GraphicsLayer > mLayer
Definition: bgi_airwire.h:81
GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
Definition: bgi_airwire.h:88
QRectF mBoundingRect
Definition: bgi_airwire.h:85
void layerEdited(const GraphicsLayer &layer, GraphicsLayer::Event event) noexcept
Definition: bgi_airwire.cpp:114
BI_AirWire & getAirWire() noexcept
Definition: bgi_airwire.h:64
BGI_AirWire(const BGI_AirWire &other)=delete
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
Definition: bgi_airwire.cpp:87
BI_AirWire & mAirWire
Definition: bgi_airwire.h:79
QRectF boundingRect() const
Definition: bgi_airwire.h:67
QVector< QLineF > mLines
Definition: bgi_airwire.h:84
virtual ~BGI_AirWire() noexcept
Definition: bgi_airwire.cpp:80
The GraphicsLayer class represents a graphical layer used in schematics and boards.
Definition: graphicslayer.h:53
Event
Definition: graphicslayer.h:58
The IF_GraphicsLayerProvider class defines an interface for classes which provide layers.
Definition: graphicslayer.h:111
Definition: occmodel.cpp:77