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

The BGI_NetPoint class. More...

#include <bgi_netpoint.h>

Inherits QGraphicsItem.

+ Collaboration diagram for BGI_NetPoint:

Public Member Functions

 BGI_NetPoint ()=delete
 
 BGI_NetPoint (const BGI_NetPoint &other)=delete
 
 BGI_NetPoint (BI_NetPoint &netpoint, const IF_GraphicsLayerProvider &lp) noexcept
 
virtual ~BGI_NetPoint () noexcept
 
BI_NetPointgetNetPoint () noexcept
 
QRectF boundingRect () const noexcept override
 
QPainterPath shape () const noexcept override
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) noexcept override
 
BGI_NetPointoperator= (const BGI_NetPoint &rhs)=delete
 

Private Member Functions

void netPointEdited (const BI_NetPoint &obj, BI_NetPoint::Event event) noexcept
 
void layerEdited (const GraphicsLayer &layer, GraphicsLayer::Event event) noexcept
 
void updateLayer () noexcept
 
void updatePosition () noexcept
 
void updateDiameter () noexcept
 
void updateNetSignalName () noexcept
 
void updateVisibility () noexcept
 

Private Attributes

BI_NetPointmNetPoint
 
const IF_GraphicsLayerProvidermLayerProvider
 
std::shared_ptr< GraphicsLayermLayer
 
QRectF mBoundingRect
 
QPainterPath mShape
 
BI_NetPoint::OnEditedSlot mOnEditedSlot
 
GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
 

Detailed Description

The BGI_NetPoint class.

Constructor & Destructor Documentation

◆ BGI_NetPoint() [1/3]

BGI_NetPoint ( )
delete

◆ BGI_NetPoint() [2/3]

BGI_NetPoint ( const BGI_NetPoint other)
delete

◆ BGI_NetPoint() [3/3]

BGI_NetPoint ( BI_NetPoint netpoint,
const IF_GraphicsLayerProvider lp 
)
noexcept

◆ ~BGI_NetPoint()

~BGI_NetPoint ( )
virtualnoexcept

Member Function Documentation

◆ getNetPoint()

BI_NetPoint & getNetPoint ( )
inlinenoexcept

◆ boundingRect()

QRectF boundingRect ( ) const
inlineoverridenoexcept

◆ shape()

QPainterPath shape ( ) const
overridenoexcept

◆ paint()

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

◆ operator=()

BGI_NetPoint & operator= ( const BGI_NetPoint rhs)
delete

◆ netPointEdited()

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

◆ layerEdited()

void layerEdited ( const GraphicsLayer layer,
GraphicsLayer::Event  event 
)
privatenoexcept

◆ updateLayer()

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

◆ updatePosition()

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

◆ updateDiameter()

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

◆ updateNetSignalName()

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

◆ updateVisibility()

void updateVisibility ( )
privatenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ mNetPoint

BI_NetPoint& mNetPoint
private

◆ mLayerProvider

const IF_GraphicsLayerProvider& mLayerProvider
private

◆ mLayer

std::shared_ptr<GraphicsLayer> mLayer
private

◆ mBoundingRect

QRectF mBoundingRect
private

◆ mShape

QPainterPath mShape
private

◆ mOnEditedSlot

BI_NetPoint::OnEditedSlot mOnEditedSlot
private

◆ mOnLayerEditedSlot

GraphicsLayer::OnEditedSlot mOnLayerEditedSlot
private

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