![]() |
LibrePCB Developers Documentation
|
The FootprintGraphicsItem class. More...
#include <footprintgraphicsitem.h>
Inherits QGraphicsItemGroup.
Collaboration diagram for FootprintGraphicsItem:Public Types | |
| enum class | FindFlag |
Public Member Functions | |
| FootprintGraphicsItem ()=delete | |
| FootprintGraphicsItem (const FootprintGraphicsItem &other)=delete | |
| FootprintGraphicsItem (std::shared_ptr< Footprint > footprint, const GraphicsLayerList &layers, const StrokeFont &font, const PackagePadList *packagePadList=nullptr, const Component *component=nullptr, const QStringList &localeOrder={}) noexcept | |
| ~FootprintGraphicsItem () noexcept | |
| std::shared_ptr< FootprintPadGraphicsItem > | getGraphicsItem (std::shared_ptr< FootprintPad > pad) noexcept |
| std::shared_ptr< CircleGraphicsItem > | getGraphicsItem (std::shared_ptr< Circle > circle) noexcept |
| std::shared_ptr< PolygonGraphicsItem > | getGraphicsItem (std::shared_ptr< Polygon > polygon) noexcept |
| std::shared_ptr< StrokeTextGraphicsItem > | getGraphicsItem (std::shared_ptr< StrokeText > text) noexcept |
| std::shared_ptr< ZoneGraphicsItem > | getGraphicsItem (std::shared_ptr< Zone > zone) noexcept |
| std::shared_ptr< HoleGraphicsItem > | getGraphicsItem (std::shared_ptr< Hole > hole) noexcept |
| QList< std::shared_ptr< FootprintPadGraphicsItem > > | getSelectedPads () noexcept |
| QList< std::shared_ptr< CircleGraphicsItem > > | getSelectedCircles () noexcept |
| QList< std::shared_ptr< PolygonGraphicsItem > > | getSelectedPolygons () noexcept |
| QList< std::shared_ptr< StrokeTextGraphicsItem > > | getSelectedStrokeTexts () noexcept |
| QList< std::shared_ptr< ZoneGraphicsItem > > | getSelectedZones () noexcept |
| QList< std::shared_ptr< HoleGraphicsItem > > | getSelectedHoles () noexcept |
| QList< std::shared_ptr< QGraphicsItem > > | findItemsAtPos (const QPainterPath &posAreaSmall, const QPainterPath &posAreaLarge, FindFlags flags) noexcept |
| void | setPosition (const Point &pos) noexcept |
| void | setRotation (const Angle &rot) noexcept |
| void | updateAllTexts () noexcept |
| void | setSelectionRect (const QRectF rect) noexcept |
| FootprintGraphicsItem & | operator= (const FootprintGraphicsItem &rhs)=delete |
Private Member Functions | |
| void | syncPads () noexcept |
| void | syncCircles () noexcept |
| void | syncPolygons () noexcept |
| void | syncStrokeTexts () noexcept |
| void | syncZones () noexcept |
| void | syncHoles () noexcept |
| void | footprintEdited (const Footprint &footprint, Footprint::Event event) noexcept |
| void | substituteText (StrokeTextGraphicsItem &text) noexcept |
Private Attributes | |
| std::shared_ptr< Footprint > | mFootprint |
| const GraphicsLayerList & | mLayers |
| const StrokeFont & | mFont |
| const PackagePadList * | mPackagePadList |
| QPointer< const Component > | mComponent |
| QStringList | mLocaleOrder |
| QMap< std::shared_ptr< FootprintPad >, std::shared_ptr< FootprintPadGraphicsItem > > | mPadGraphicsItems |
| QMap< std::shared_ptr< Circle >, std::shared_ptr< CircleGraphicsItem > > | mCircleGraphicsItems |
| QMap< std::shared_ptr< Polygon >, std::shared_ptr< PolygonGraphicsItem > > | mPolygonGraphicsItems |
| QMap< std::shared_ptr< StrokeText >, std::shared_ptr< StrokeTextGraphicsItem > > | mStrokeTextGraphicsItems |
| QMap< std::shared_ptr< Zone >, std::shared_ptr< ZoneGraphicsItem > > | mZoneGraphicsItems |
| QMap< std::shared_ptr< Hole >, std::shared_ptr< HoleGraphicsItem > > | mHoleGraphicsItems |
| Footprint::OnEditedSlot | mOnEditedSlot |
The FootprintGraphicsItem class.
|
strong |
|
delete |
|
delete |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
Here is the call graph for this function:
|
noexcept |
|
delete |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |