LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BI_FootprintPad Class Referencefinal

The BI_FootprintPad class. More...

#include <bi_footprintpad.h>

+ Inheritance diagram for BI_FootprintPad:
+ Collaboration diagram for BI_FootprintPad:

Public Member Functions

 BI_FootprintPad ()=delete
 
 BI_FootprintPad (const BI_FootprintPad &other)=delete
 
 BI_FootprintPad (BI_Footprint &footprint, const Uuid &padUuid)
 
 ~BI_FootprintPad ()
 
const UuidgetLibPadUuid () const noexcept
 
QString getDisplayText () const noexcept
 
const AnglegetRotation () const noexcept
 
BI_FootprintgetFootprint () const noexcept
 
QString getLayerName () const noexcept
 
bool isOnLayer (const QString &layerName) const noexcept
 
const library::FootprintPadgetLibPad () const noexcept
 
ComponentSignalInstancegetComponentSignalInstance () const noexcept
 
NetSignalgetCompSigInstNetSignal () const noexcept
 
bool isUsed () const noexcept
 
bool isSelectable () const noexceptoverride
 
Path getOutline (const Length &expansion=Length(0)) const noexcept
 
Path getSceneOutline (const Length &expansion=Length(0)) const noexcept
 
void addToBoard () override
 
void removeFromBoard () override
 
void updatePosition () noexcept
 
Type_t getType () const noexceptoverride
 
const PointgetPosition () const noexceptoverride
 
bool getIsMirrored () const noexceptoverride
 
QPainterPath getGrabAreaScenePx () const noexceptoverride
 
void setSelected (bool selected) noexceptoverride
 
void registerNetLine (BI_NetLine &netline) override
 
void unregisterNetLine (BI_NetLine &netline) override
 
const QSet< BI_NetLine * > & getNetLines () const noexceptoverride
 
BI_FootprintPadoperator= (const BI_FootprintPad &rhs)=delete
 
- Public Member Functions inherited from BI_Base
 BI_Base ()=delete
 
 BI_Base (const BI_Base &other)=delete
 
 BI_Base (Board &board) noexcept
 
virtual ~BI_Base () noexcept
 
ProjectgetProject () const noexcept
 
CircuitgetCircuit () const noexcept
 
BoardgetBoard () const noexcept
 
virtual bool isAddedToBoard () const noexcept
 
virtual bool isSelected () const noexcept
 
BI_Baseoperator= (const BI_Base &rhs)=delete
 
- Public Member Functions inherited from BI_NetLineAnchor
 BI_NetLineAnchor () noexcept=default
 
virtual ~BI_NetLineAnchor () noexcept=default
 
std::vector< PositiveLengthgetLineWidths () const noexcept
 
UnsignedLength getMaxLineWidth () const noexcept
 
UnsignedLength getMedianLineWidth () const noexcept
 
BI_NetSegmentgetNetSegmentOfLines () const noexcept
 

Private Slots

void footprintAttributesChanged ()
 
void componentSignalInstanceNetSignalChanged (NetSignal *from, NetSignal *to)
 

Private Member Functions

void updateGraphicsItemTransform () noexcept
 

Private Attributes

BI_FootprintmFootprint
 
const library::FootprintPadmFootprintPad
 
const library::PackagePadmPackagePad
 
ComponentSignalInstancemComponentSignalInstance
 
QMetaObject::Connection mHighlightChangedConnection
 
Point mPosition
 
Angle mRotation
 
QScopedPointer< BGI_FootprintPadmGraphicsItem
 
QSet< BI_NetLine * > mRegisteredNetLines
 

Additional Inherited Members

- Public Types inherited from BI_Base
enum  Type_t
 
- Protected Member Functions inherited from BI_Base
void addToBoard (QGraphicsItem *item) noexcept
 
void removeFromBoard (QGraphicsItem *item) noexcept
 
- Protected Attributes inherited from BI_Base
BoardmBoard
 

Detailed Description

The BI_FootprintPad class.

Constructor & Destructor Documentation

BI_FootprintPad ( )
delete
BI_FootprintPad ( const BI_FootprintPad other)
delete
BI_FootprintPad ( BI_Footprint footprint,
const Uuid padUuid 
)

+ Here is the call graph for this function:

+ Here is the call graph for this function:

Member Function Documentation

const Uuid & getLibPadUuid ( ) const
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

QString getDisplayText ( ) const
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const Angle& getRotation ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

BI_Footprint& getFootprint ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

QString getLayerName ( ) const
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool isOnLayer ( const QString &  layerName) const
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const library::FootprintPad& getLibPad ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

ComponentSignalInstance* getComponentSignalInstance ( ) const
inlinenoexcept
NetSignal * getCompSigInstNetSignal ( ) const
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool isUsed ( ) const
inlinenoexcept

+ Here is the caller graph for this function:

bool isSelectable ( ) const
overridevirtualnoexcept

Implements BI_Base.

+ Here is the caller graph for this function:

Path getOutline ( const Length expansion = Length(0)) const
noexcept
Path getSceneOutline ( const Length expansion = Length(0)) const
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void addToBoard ( )
overridevirtual

Implements BI_Base.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void removeFromBoard ( )
overridevirtual

Implements BI_Base.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void updatePosition ( )
noexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Type_t getType ( ) const
inlineoverridevirtualnoexcept

Implements BI_Base.

const Point& getPosition ( ) const
inlineoverridevirtualnoexcept

Implements BI_Base.

+ Here is the caller graph for this function:

bool getIsMirrored ( ) const
overridevirtualnoexcept

Implements BI_Base.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

QPainterPath getGrabAreaScenePx ( ) const
overridevirtualnoexcept

Implements BI_Base.

+ Here is the caller graph for this function:

void setSelected ( bool  selected)
overridevirtualnoexcept

Reimplemented from BI_Base.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void registerNetLine ( BI_NetLine netline)
overridevirtual

Implements BI_NetLineAnchor.

+ Here is the call graph for this function:

void unregisterNetLine ( BI_NetLine netline)
overridevirtual

Implements BI_NetLineAnchor.

+ Here is the call graph for this function:

const QSet<BI_NetLine*>& getNetLines ( ) const
inlineoverridevirtualnoexcept

Implements BI_NetLineAnchor.

+ Here is the caller graph for this function:

BI_FootprintPad& operator= ( const BI_FootprintPad rhs)
delete
void footprintAttributesChanged ( )
privateslot

+ Here is the caller graph for this function:

void componentSignalInstanceNetSignalChanged ( NetSignal from,
NetSignal to 
)
privateslot

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void updateGraphicsItemTransform ( )
privatenoexcept

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

BI_Footprint& mFootprint
private
const library::FootprintPad* mFootprintPad
private
const library::PackagePad* mPackagePad
private
ComponentSignalInstance* mComponentSignalInstance
private
QMetaObject::Connection mHighlightChangedConnection
private
Point mPosition
private
Angle mRotation
private
QScopedPointer<BGI_FootprintPad> mGraphicsItem
private
QSet<BI_NetLine*> mRegisteredNetLines
private

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