![]() |
LibrePCB Developers Documentation
|
The SymbolGraphicsItem class. More...
#include <symbolgraphicsitem.h>
Inherits QGraphicsItemGroup.
Collaboration diagram for SymbolGraphicsItem:Public Types | |
| enum class | FindFlag |
Public Member Functions | |
| SymbolGraphicsItem ()=delete | |
| SymbolGraphicsItem (const SymbolGraphicsItem &other)=delete | |
| SymbolGraphicsItem (Symbol &symbol, const GraphicsLayerList &layers, std::shared_ptr< const Component > cmp=nullptr, std::shared_ptr< const ComponentSymbolVariantItem > cmpItem=nullptr, const QStringList &localeOrder={}) noexcept | |
| ~SymbolGraphicsItem () noexcept | |
| std::shared_ptr< SymbolPinGraphicsItem > | getGraphicsItem (std::shared_ptr< SymbolPin > pin) 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< TextGraphicsItem > | getGraphicsItem (std::shared_ptr< Text > text) noexcept |
| QList< std::shared_ptr< SymbolPinGraphicsItem > > | getSelectedPins () noexcept |
| QList< std::shared_ptr< CircleGraphicsItem > > | getSelectedCircles () noexcept |
| QList< std::shared_ptr< PolygonGraphicsItem > > | getSelectedPolygons () noexcept |
| QList< std::shared_ptr< TextGraphicsItem > > | getSelectedTexts () 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 |
| SymbolGraphicsItem & | operator= (const SymbolGraphicsItem &rhs)=delete |
Private Member Functions | |
| void | syncPins () noexcept |
| void | syncCircles () noexcept |
| void | syncPolygons () noexcept |
| void | syncTexts () noexcept |
| void | symbolEdited (const Symbol &symbol, Symbol::Event event) noexcept |
| void | substituteText (TextGraphicsItem &text) noexcept |
Private Attributes | |
| Symbol & | mSymbol |
| const GraphicsLayerList & | mLayers |
| std::shared_ptr< const Component > | mComponent |
| std::shared_ptr< const ComponentSymbolVariantItem > | mItem |
| QStringList | mLocaleOrder |
| QMap< std::shared_ptr< SymbolPin >, std::shared_ptr< SymbolPinGraphicsItem > > | mPinGraphicsItems |
| QMap< std::shared_ptr< Circle >, std::shared_ptr< CircleGraphicsItem > > | mCircleGraphicsItems |
| QMap< std::shared_ptr< Polygon >, std::shared_ptr< PolygonGraphicsItem > > | mPolygonGraphicsItems |
| QMap< std::shared_ptr< Text >, std::shared_ptr< TextGraphicsItem > > | mTextGraphicsItems |
| Symbol::OnEditedSlot | mOnEditedSlot |
The SymbolGraphicsItem class.
|
strong |
|
delete |
|
delete |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
|
noexcept |
Here is the call graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
delete |
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
privatenoexcept |
Here is the call graph for this function:
|
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 |