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

The SGI_NetPoint class. More...

#include <sgi_netpoint.h>

Inherits QGraphicsItem.

+ Collaboration diagram for SGI_NetPoint:

Public Member Functions

 SGI_NetPoint ()=delete
 
 SGI_NetPoint (const SGI_NetPoint &other)=delete
 
 SGI_NetPoint (SI_NetPoint &netpoint, const IF_GraphicsLayerProvider &lp, std::shared_ptr< const QSet< const NetSignal * > > highlightedNetSignals) noexcept
 
virtual ~SGI_NetPoint () noexcept
 
SI_NetPointgetNetPoint () noexcept
 
QRectF boundingRect () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
SGI_NetPointoperator= (const SGI_NetPoint &rhs)=delete
 

Private Member Functions

void netPointEdited (const SI_NetPoint &obj, SI_NetPoint::Event event) noexcept
 
void updatePosition () noexcept
 
void updateJunction () noexcept
 
void updateNetName () noexcept
 

Private Attributes

SI_NetPointmNetPoint
 
std::shared_ptr< const QSet< const NetSignal * > > mHighlightedNetSignals
 
std::shared_ptr< GraphicsLayermLayer
 
bool mIsVisibleJunction
 
bool mIsOpenLineEnd
 
SI_NetPoint::OnEditedSlot mOnEditedSlot
 

Static Private Attributes

static QRectF sBoundingRect
 

Detailed Description

The SGI_NetPoint class.

Constructor & Destructor Documentation

◆ SGI_NetPoint() [1/3]

SGI_NetPoint ( )
delete

◆ SGI_NetPoint() [2/3]

SGI_NetPoint ( const SGI_NetPoint other)
delete

◆ SGI_NetPoint() [3/3]

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

◆ ~SGI_NetPoint()

~SGI_NetPoint ( )
virtualnoexcept

Member Function Documentation

◆ getNetPoint()

SI_NetPoint & getNetPoint ( )
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=()

SGI_NetPoint & operator= ( const SGI_NetPoint rhs)
delete

◆ netPointEdited()

void netPointEdited ( const SI_NetPoint obj,
SI_NetPoint::Event  event 
)
privatenoexcept

◆ updatePosition()

void updatePosition ( )
privatenoexcept
+ Here is the call graph for this function:

◆ updateJunction()

void updateJunction ( )
privatenoexcept
+ Here is the call graph for this function:

◆ updateNetName()

void updateNetName ( )
privatenoexcept
+ Here is the call graph for this function:

Member Data Documentation

◆ mNetPoint

SI_NetPoint& mNetPoint
private

◆ mHighlightedNetSignals

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

◆ mLayer

std::shared_ptr<GraphicsLayer> mLayer
private

◆ mIsVisibleJunction

bool mIsVisibleJunction
private

◆ mIsOpenLineEnd

bool mIsOpenLineEnd
private

◆ mOnEditedSlot

SI_NetPoint::OnEditedSlot mOnEditedSlot
private

◆ sBoundingRect

QRectF sBoundingRect
staticprivate

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