LibrePCB Developers Documentation
BGI_AirWire Class Referencefinal

The BGI_AirWire class. More...

#include <bgi_airwire.h>

+ Inheritance diagram for BGI_AirWire:
+ Collaboration diagram for BGI_AirWire:

Public Member Functions

 BGI_AirWire (BI_AirWire &airwire) noexcept
 
 ~BGI_AirWire () noexcept
 
bool isSelectable () const noexcept
 
void updateCacheAndRepaint () noexcept
 
QRectF boundingRect () const
 
QPainterPath shape () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
- Public Member Functions inherited from BGI_Base
 BGI_Base () noexcept
 
virtual ~BGI_Base () noexcept
 

Private Member Functions

 BGI_AirWire ()=delete
 
 BGI_AirWire (const BGI_AirWire &other)=delete
 
BGI_AirWireoperator= (const BGI_AirWire &rhs)=delete
 
GraphicsLayergetLayer (const QString &name) const noexcept
 

Private Attributes

BI_AirWiremAirWire
 
GraphicsLayermLayer
 
QVector< QLineF > mLines
 
QRectF mBoundingRect
 
QPainterPath mShape
 

Additional Inherited Members

- Static Protected Member Functions inherited from BGI_Base
static qreal getZValueOfCopperLayer (const QString &name) noexcept
 

Detailed Description

The BGI_AirWire class.

Constructor & Destructor Documentation

◆ BGI_AirWire() [1/3]

BGI_AirWire ( BI_AirWire airwire)
explicitnoexcept

◆ ~BGI_AirWire()

~BGI_AirWire ( )
noexcept

◆ BGI_AirWire() [2/3]

BGI_AirWire ( )
privatedelete
+ Here is the caller graph for this function:

◆ BGI_AirWire() [3/3]

BGI_AirWire ( const BGI_AirWire other)
privatedelete

Member Function Documentation

◆ isSelectable()

bool isSelectable ( ) const
noexcept
+ Here is the call graph for this function:

◆ updateCacheAndRepaint()

void updateCacheAndRepaint ( )
noexcept
+ Here is the call graph for this function:

◆ boundingRect()

QRectF boundingRect ( ) const
inline

◆ shape()

QPainterPath shape ( ) const
inline
+ Here is the call graph for this function:

◆ paint()

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

◆ operator=()

BGI_AirWire& operator= ( const BGI_AirWire rhs)
privatedelete
+ Here is the caller graph for this function:

◆ getLayer()

GraphicsLayer * getLayer ( const QString &  name) const
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mAirWire

BI_AirWire& mAirWire
private

◆ mLayer

GraphicsLayer* mLayer
private

◆ mLines

QVector<QLineF> mLines
private

◆ mBoundingRect

QRectF mBoundingRect
private

◆ mShape

QPainterPath mShape
private

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