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

The BGI_FootprintPad class. More...

#include <bgi_footprintpad.h>

Inherits QGraphicsItemGroup.

+ Collaboration diagram for BGI_FootprintPad:

Public Member Functions

 BGI_FootprintPad ()=delete
 
 BGI_FootprintPad (const BGI_FootprintPad &other)=delete
 
 BGI_FootprintPad (BI_FootprintPad &pad, std::weak_ptr< BGI_Device > deviceItem, const IF_GraphicsLayerProvider &lp, std::shared_ptr< const QSet< const NetSignal * > > highlightedNetSignals) noexcept
 
virtual ~BGI_FootprintPad () noexcept
 
BI_FootprintPadgetPad () noexcept
 
const std::weak_ptr< BGI_Device > & getDeviceGraphicsItem () noexcept
 
void updateHighlightedNetSignals () noexcept
 
QPainterPath shape () const noexcept override
 
BGI_FootprintPadoperator= (const BGI_FootprintPad &rhs)=delete
 

Private Member Functions

void padEdited (const BI_FootprintPad &obj, BI_FootprintPad::Event event) noexcept
 
void deviceGraphicsItemEdited (const BGI_Device &obj, BGI_Device::Event event) noexcept
 
virtual QVariant itemChange (GraphicsItemChange change, const QVariant &value) noexcept override
 
void updateLayer () noexcept
 
void updateToolTip () noexcept
 
void updateHightlighted (bool selected) noexcept
 

Private Attributes

BI_FootprintPadmPad
 
std::weak_ptr< BGI_DevicemDeviceGraphicsItem
 
std::shared_ptr< const QSet< const NetSignal * > > mHighlightedNetSignals
 
QScopedPointer< PrimitiveFootprintPadGraphicsItemmGraphicsItem
 
BI_FootprintPad::OnEditedSlot mOnPadEditedSlot
 
BGI_Device::OnEditedSlot mOnDeviceEditedSlot
 

Detailed Description

The BGI_FootprintPad class.

Constructor & Destructor Documentation

◆ BGI_FootprintPad() [1/3]

BGI_FootprintPad ( )
delete

◆ BGI_FootprintPad() [2/3]

BGI_FootprintPad ( const BGI_FootprintPad other)
delete

◆ BGI_FootprintPad() [3/3]

BGI_FootprintPad ( BI_FootprintPad pad,
std::weak_ptr< BGI_Device deviceItem,
const IF_GraphicsLayerProvider lp,
std::shared_ptr< const QSet< const NetSignal * > >  highlightedNetSignals 
)
noexcept

◆ ~BGI_FootprintPad()

~BGI_FootprintPad ( )
virtualnoexcept

Member Function Documentation

◆ getPad()

BI_FootprintPad & getPad ( )
inlinenoexcept

◆ getDeviceGraphicsItem()

const std::weak_ptr< BGI_Device > & getDeviceGraphicsItem ( )
inlinenoexcept

◆ updateHighlightedNetSignals()

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

◆ shape()

QPainterPath shape ( ) const
overridenoexcept

◆ operator=()

BGI_FootprintPad & operator= ( const BGI_FootprintPad rhs)
delete

◆ padEdited()

void padEdited ( const BI_FootprintPad obj,
BI_FootprintPad::Event  event 
)
privatenoexcept

◆ deviceGraphicsItemEdited()

void deviceGraphicsItemEdited ( const BGI_Device obj,
BGI_Device::Event  event 
)
privatenoexcept

◆ itemChange()

QVariant itemChange ( GraphicsItemChange  change,
const QVariant &  value 
)
overrideprivatevirtualnoexcept

◆ updateLayer()

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

◆ updateToolTip()

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

◆ updateHightlighted()

void updateHightlighted ( bool  selected)
privatenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ mPad

BI_FootprintPad& mPad
private

◆ mDeviceGraphicsItem

std::weak_ptr<BGI_Device> mDeviceGraphicsItem
private

◆ mHighlightedNetSignals

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

◆ mGraphicsItem

QScopedPointer<PrimitiveFootprintPadGraphicsItem> mGraphicsItem
private

◆ mOnPadEditedSlot

BI_FootprintPad::OnEditedSlot mOnPadEditedSlot
private

◆ mOnDeviceEditedSlot

BGI_Device::OnEditedSlot mOnDeviceEditedSlot
private

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