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

The SGI_BusJunction class. More...

#include <sgi_busjunction.h>

Inherits QGraphicsItem.

+ Collaboration diagram for SGI_BusJunction:

Public Member Functions

 SGI_BusJunction ()=delete
 
 SGI_BusJunction (const SGI_BusJunction &other)=delete
 
 SGI_BusJunction (SI_BusJunction &netpoint, const GraphicsLayerList &layers) noexcept
 
virtual ~SGI_BusJunction () noexcept
 
SI_BusJunctiongetBusJunction () noexcept
 
QRectF boundingRect () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
SGI_BusJunctionoperator= (const SGI_BusJunction &rhs)=delete
 

Private Member Functions

void busJunctionEdited (const SI_BusJunction &obj, SI_BusJunction::Event event) noexcept
 
void updatePosition () noexcept
 
void updateJunction () noexcept
 
void updateToolTip () noexcept
 

Private Attributes

SI_BusJunctionmBusJunction
 
std::shared_ptr< const GraphicsLayermLayer
 
bool mIsVisibleJunction
 
bool mIsOpenLineEnd
 
SI_BusJunction::OnEditedSlot mOnEditedSlot
 

Static Private Attributes

static QRectF sBoundingRect
 

Detailed Description

The SGI_BusJunction class.

Constructor & Destructor Documentation

◆ SGI_BusJunction() [1/3]

SGI_BusJunction ( )
delete

◆ SGI_BusJunction() [2/3]

SGI_BusJunction ( const SGI_BusJunction other)
delete

◆ SGI_BusJunction() [3/3]

SGI_BusJunction ( SI_BusJunction netpoint,
const GraphicsLayerList layers 
)
noexcept
+ Here is the call graph for this function:

◆ ~SGI_BusJunction()

~SGI_BusJunction ( )
virtualnoexcept

Member Function Documentation

◆ getBusJunction()

SI_BusJunction & getBusJunction ( )
inlinenoexcept

◆ boundingRect()

QRectF boundingRect ( ) const
inline

◆ paint()

void paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget 
)

◆ operator=()

SGI_BusJunction & operator= ( const SGI_BusJunction rhs)
delete

◆ busJunctionEdited()

void busJunctionEdited ( const SI_BusJunction obj,
SI_BusJunction::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:

◆ updateToolTip()

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

Member Data Documentation

◆ mBusJunction

SI_BusJunction& mBusJunction
private

◆ mLayer

std::shared_ptr<const GraphicsLayer> mLayer
private

◆ mIsVisibleJunction

bool mIsVisibleJunction
private

◆ mIsOpenLineEnd

bool mIsOpenLineEnd
private

◆ mOnEditedSlot

SI_BusJunction::OnEditedSlot mOnEditedSlot
private

◆ sBoundingRect

QRectF sBoundingRect
staticprivate

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