![]() |
LibrePCB Developers Documentation
|
The FootprintPad class represents a pad of a footprint. More...
#include <footprintpad.h>
Collaboration diagram for FootprintPad:Public Types | |
| enum class | Shape |
| enum class | ComponentSide |
| enum class | Function |
| enum class | Event |
| typedef Slot< FootprintPad, Event > | OnEditedSlot |
Public Member Functions | |
| FootprintPad ()=delete | |
| FootprintPad (const FootprintPad &other) noexcept | |
| FootprintPad (const Uuid &uuid, const std::optional< Uuid > &pkgPadUuid, const Point &pos, const Angle &rot, Shape shape, const PositiveLength &width, const PositiveLength &height, const UnsignedLimitedRatio &radius, const Path &customShapeOutline, const MaskConfig &autoStopMask, const MaskConfig &autoSolderPaste, const UnsignedLength &copperClearance, ComponentSide side, Function function, const PadHoleList &holes) noexcept | |
| FootprintPad (const SExpression &node) | |
| ~FootprintPad () noexcept | |
| const Uuid & | getUuid () const noexcept |
| const std::optional< Uuid > & | getPackagePadUuid () const noexcept |
| const Point & | getPosition () const noexcept |
| const Angle & | getRotation () const noexcept |
| Shape | getShape () const noexcept |
| const PositiveLength & | getWidth () const noexcept |
| const PositiveLength & | getHeight () const noexcept |
| const UnsignedLimitedRatio & | getRadius () const noexcept |
| const Path & | getCustomShapeOutline () const noexcept |
| const MaskConfig & | getStopMaskConfig () const noexcept |
| const MaskConfig & | getSolderPasteConfig () const noexcept |
| const UnsignedLength & | getCopperClearance () const noexcept |
| ComponentSide | getComponentSide () const noexcept |
| Function | getFunction () const noexcept |
| bool | getFunctionIsFiducial () const noexcept |
| bool | getFunctionNeedsSoldering () const noexcept |
| const PadHoleList & | getHoles () const noexcept |
| PadHoleList & | getHoles () noexcept |
| bool | isTht () const noexcept |
| bool | isOnLayer (const Layer &layer) const noexcept |
| const Layer & | getSmtLayer () const noexcept |
| bool | hasTopCopper () const noexcept |
| bool | hasBottomCopper () const noexcept |
| bool | hasAutoTopStopMask () const noexcept |
| bool | hasAutoBottomStopMask () const noexcept |
| bool | hasAutoTopSolderPaste () const noexcept |
| bool | hasAutoBottomSolderPaste () const noexcept |
| PadGeometry | getGeometry () const noexcept |
| QHash< const Layer *, QList< PadGeometry > > | buildPreviewGeometries () const noexcept |
| bool | setPackagePadUuid (const std::optional< Uuid > &pad) noexcept |
| bool | setPosition (const Point &pos) noexcept |
| bool | setRotation (const Angle &rot) noexcept |
| bool | setShape (Shape shape) noexcept |
| bool | setWidth (const PositiveLength &width) noexcept |
| bool | setHeight (const PositiveLength &height) noexcept |
| bool | setRadius (const UnsignedLimitedRatio &radius) noexcept |
| bool | setCustomShapeOutline (const Path &outline) noexcept |
| bool | setStopMaskConfig (const MaskConfig &config) noexcept |
| bool | setSolderPasteConfig (const MaskConfig &config) noexcept |
| bool | setCopperClearance (const UnsignedLength &clearance) noexcept |
| bool | setComponentSide (ComponentSide side) noexcept |
| bool | setFunction (Function function) noexcept |
| void | serialize (SExpression &root) const |
| Serialize into librepcb::SExpression node. | |
| bool | operator== (const FootprintPad &rhs) const noexcept |
| bool | operator!= (const FootprintPad &rhs) const noexcept |
| FootprintPad & | operator= (const FootprintPad &rhs) noexcept |
Static Public Member Functions | |
| static UnsignedLimitedRatio | getRecommendedRadius (const PositiveLength &width, const PositiveLength &height) noexcept |
| static QString | getFunctionDescriptionTr (Function function) noexcept |
Public Attributes | |
| Signal< FootprintPad, Event > | onEdited |
Private Member Functions | |
| void | holesEdited (const PadHoleList &list, int index, const std::shared_ptr< const PadHole > &hole, PadHoleList::Event event) noexcept |
Private Attributes | |
| Uuid | mUuid |
| std::optional< Uuid > | mPackagePadUuid |
| Point | mPosition |
| Angle | mRotation |
| Shape | mShape |
| PositiveLength | mWidth |
| PositiveLength | mHeight |
| UnsignedLimitedRatio | mRadius |
| Path | mCustomShapeOutline |
| Empty if not needed; Implicitly closed. | |
| MaskConfig | mStopMaskConfig |
| MaskConfig | mSolderPasteConfig |
| UnsignedLength | mCopperClearance |
| ComponentSide | mComponentSide |
| Function | mFunction |
| PadHoleList | mHoles |
| If not empty, it's a THT pad. | |
| PadHoleList::OnEditedSlot | mHolesEditedSlot |
The FootprintPad class represents a pad of a footprint.
| typedef Slot<FootprintPad, Event> OnEditedSlot |
|
strong |
|
strong |
|
strong |
|
strong |
|
delete |
|
noexcept |
|
noexcept |
|
explicit |
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
| void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
| root | Root node to serialize into. |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
staticnoexcept |
Here is the call graph for this function:
|
staticnoexcept |
Here is the caller graph for this function:
|
privatenoexcept |
| Signal<FootprintPad, Event> onEdited |
|
private |
|
private |
The connected package pad
This is the UUID of the package pad where this footprint pad is connected to. It can be std::nullopt, which means that the footprint pad is electrically not connected (e.g. for mechanical-only pads).
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Empty if not needed; Implicitly closed.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
If not empty, it's a THT pad.
|
private |