LibrePCB Developers Documentation
SGI_NetPoint Class Referencefinal

The SGI_NetPoint class. More...

#include <sgi_netpoint.h>

+ Inheritance diagram for SGI_NetPoint:
+ Collaboration diagram for SGI_NetPoint:

Public Member Functions

 SGI_NetPoint (SI_NetPoint &netpoint) noexcept
 
 ~SGI_NetPoint () noexcept
 
void updateCacheAndRepaint () noexcept
 
QRectF boundingRect () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
- Public Member Functions inherited from SGI_Base
 SGI_Base () noexcept
 
virtual ~SGI_Base () noexcept
 

Private Member Functions

 SGI_NetPoint ()=delete
 
 SGI_NetPoint (const SGI_NetPoint &other)=delete
 
SGI_NetPointoperator= (const SGI_NetPoint &rhs)=delete
 
GraphicsLayergetLayer (const QString &name) const noexcept
 

Private Attributes

SI_NetPointmNetPoint
 
GraphicsLayermLayer
 
bool mIsVisibleJunction
 
bool mIsOpenLineEnd
 

Static Private Attributes

static QRectF sBoundingRect
 

Detailed Description

The SGI_NetPoint class.

Constructor & Destructor Documentation

◆ SGI_NetPoint() [1/3]

SGI_NetPoint ( SI_NetPoint netpoint)
explicitnoexcept
+ Here is the call graph for this function:

◆ ~SGI_NetPoint()

~SGI_NetPoint ( )
noexcept

◆ SGI_NetPoint() [2/3]

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

◆ SGI_NetPoint() [3/3]

SGI_NetPoint ( const SGI_NetPoint other)
privatedelete

Member Function Documentation

◆ updateCacheAndRepaint()

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

◆ boundingRect()

QRectF boundingRect ( ) 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=()

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

◆ mNetPoint

SI_NetPoint& mNetPoint
private

◆ mLayer

GraphicsLayer* mLayer
private

◆ mIsVisibleJunction

bool mIsVisibleJunction
private

◆ mIsOpenLineEnd

bool mIsOpenLineEnd
private

◆ sBoundingRect

QRectF sBoundingRect
staticprivate

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