LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( BI_AirWire airwire)
explicitnoexcept
~BGI_AirWire ( )
noexcept
BGI_AirWire ( )
privatedelete
BGI_AirWire ( const BGI_AirWire other)
privatedelete

Member Function Documentation

bool isSelectable ( ) const
noexcept

+ Here is the call graph for this function:

void updateCacheAndRepaint ( )
noexcept

+ Here is the call graph for this function:

QRectF boundingRect ( ) const
inline
QPainterPath shape ( ) const
inline
void paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)

+ Here is the call graph for this function:

BGI_AirWire& operator= ( const BGI_AirWire rhs)
privatedelete
GraphicsLayer * getLayer ( const QString &  name) const
privatenoexcept

+ Here is the caller graph for this function:

Member Data Documentation

BI_AirWire& mAirWire
private
GraphicsLayer* mLayer
private
QVector<QLineF> mLines
private
QRectF mBoundingRect
private
QPainterPath mShape
private

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