LibrePCB Developers Documentation
Loading...
Searching...
No Matches
BGI_AirWire Class Referencefinal

The BGI_AirWire class. More...

#include <bgi_airwire.h>

Inherits QGraphicsItem.

+ Collaboration diagram for BGI_AirWire:

Public Member Functions

 BGI_AirWire ()=delete
 
 BGI_AirWire (const BGI_AirWire &other)=delete
 
 BGI_AirWire (BI_AirWire &airwire, const IF_GraphicsLayerProvider &lp, std::shared_ptr< const QSet< const NetSignal * > > highlightedNetSignals) noexcept
 
virtual ~BGI_AirWire () noexcept
 
BI_AirWiregetAirWire () noexcept
 
QRectF boundingRect () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
BGI_AirWireoperator= (const BGI_AirWire &rhs)=delete
 

Private Member Functions

void layerEdited (const GraphicsLayer &layer, GraphicsLayer::Event event) noexcept
 

Private Attributes

BI_AirWiremAirWire
 
std::shared_ptr< const QSet< const NetSignal * > > mHighlightedNetSignals
 
std::shared_ptr< GraphicsLayermLayer
 
QVector< QLineF > mLines
 
QRectF mBoundingRect
 
GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
 

Detailed Description

The BGI_AirWire class.

Constructor & Destructor Documentation

◆ BGI_AirWire() [1/3]

BGI_AirWire ( )
delete

◆ BGI_AirWire() [2/3]

BGI_AirWire ( const BGI_AirWire other)
delete

◆ BGI_AirWire() [3/3]

BGI_AirWire ( BI_AirWire airwire,
const IF_GraphicsLayerProvider lp,
std::shared_ptr< const QSet< const NetSignal * > >  highlightedNetSignals 
)
noexcept
+ Here is the call graph for this function:

◆ ~BGI_AirWire()

~BGI_AirWire ( )
virtualnoexcept

Member Function Documentation

◆ getAirWire()

BI_AirWire & getAirWire ( )
inlinenoexcept

◆ boundingRect()

QRectF boundingRect ( ) const
inline

◆ paint()

void paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)
+ Here is the call graph for this function:

◆ operator=()

BGI_AirWire & operator= ( const BGI_AirWire rhs)
delete

◆ layerEdited()

void layerEdited ( const GraphicsLayer layer,
GraphicsLayer::Event  event 
)
privatenoexcept

Member Data Documentation

◆ mAirWire

BI_AirWire& mAirWire
private

◆ mHighlightedNetSignals

std::shared_ptr<const QSet<const NetSignal*> > mHighlightedNetSignals
private

◆ mLayer

std::shared_ptr<GraphicsLayer> mLayer
private

◆ mLines

QVector<QLineF> mLines
private

◆ mBoundingRect

QRectF mBoundingRect
private

◆ mOnLayerEditedSlot

GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
private

The documentation for this class was generated from the following files: