LibrePCB Developers Documentation
BGI_NetLine Class Referencefinal

The BGI_NetLine class. More...

#include <bgi_netline.h>

+ Inheritance diagram for BGI_NetLine:
+ Collaboration diagram for BGI_NetLine:

Public Member Functions

 BGI_NetLine (BI_NetLine &netline) noexcept
 
 ~BGI_NetLine () 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_NetLine ()=delete
 
 BGI_NetLine (const BGI_NetLine &other)=delete
 
BGI_NetLineoperator= (const BGI_NetLine &rhs)=delete
 
GraphicsLayergetLayer (const QString &name) const noexcept
 

Private Attributes

BI_NetLinemNetLine
 
GraphicsLayermLayer
 
QLineF mLineF
 
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_NetLine class.

Constructor & Destructor Documentation

◆ BGI_NetLine() [1/3]

BGI_NetLine ( BI_NetLine netline)
explicitnoexcept

◆ ~BGI_NetLine()

~BGI_NetLine ( )
noexcept

◆ BGI_NetLine() [2/3]

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

◆ BGI_NetLine() [3/3]

BGI_NetLine ( const BGI_NetLine 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_NetLine& operator= ( const BGI_NetLine 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

◆ mNetLine

BI_NetLine& mNetLine
private

◆ mLayer

GraphicsLayer* mLayer
private

◆ mLineF

QLineF mLineF
private

◆ mBoundingRect

QRectF mBoundingRect
private

◆ mShape

QPainterPath mShape
private

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