![]() |
LibrePCB Developers Documentation
|
#include <si_symbol.h>
Inheritance diagram for SI_Symbol:
Collaboration diagram for SI_Symbol:Public Types | |
| enum class | Event |
| typedef Slot< SI_Symbol, Event > | OnEditedSlot |
Signals | |
| void | textAdded (SI_Text &text) |
| void | textRemoved (SI_Text &text) |
| void | attributesChanged () |
Public Member Functions | |
| SI_Symbol ()=delete | |
| SI_Symbol (const SI_Symbol &other)=delete | |
| SI_Symbol (Schematic &schematic, const Uuid &uuid, ComponentInstance &cmpInstance, const Uuid &symbolItem, const Point &position, const Angle &rotation, bool mirrored, bool loadInitialTexts) | |
| ~SI_Symbol () noexcept | |
| const Uuid & | getUuid () const noexcept |
| const Point & | getPosition () const noexcept |
| const Angle & | getRotation () const noexcept |
| bool | getMirrored () const noexcept |
| QString | getName () const noexcept |
| SI_SymbolPin * | getPin (const Uuid &pinUuid) const noexcept |
| const QHash< Uuid, SI_SymbolPin * > & | getPins () const noexcept |
| ComponentInstance & | getComponentInstance () const noexcept |
| const Symbol & | getLibSymbol () const noexcept |
| const ComponentSymbolVariantItem & | getCompSymbVarItem () const noexcept |
| void | setPosition (const Point &newPos) noexcept |
| void | setRotation (const Angle &newRotation) noexcept |
| void | setMirrored (bool newMirrored) noexcept |
| TextList | getDefaultTexts () const noexcept |
| const QMap< Uuid, SI_Text * > & | getTexts () const noexcept |
| void | addText (SI_Text &text) |
| void | removeText (SI_Text &text) |
| void | addToSchematic () override |
| void | removeFromSchematic () override |
| void | serialize (SExpression &root) const |
| Serialize into librepcb::SExpression node. | |
| SI_Symbol & | operator= (const SI_Symbol &rhs)=delete |
Public Member Functions inherited from SI_Base | |
| SI_Base ()=delete | |
| SI_Base (const SI_Base &other)=delete | |
| SI_Base (Schematic &schematic) noexcept | |
| virtual | ~SI_Base () noexcept |
| Project & | getProject () const noexcept |
| Circuit & | getCircuit () const noexcept |
| Schematic & | getSchematic () const noexcept |
| virtual bool | isAddedToSchematic () const noexcept |
| SI_Base & | operator= (const SI_Base &rhs)=delete |
Public Attributes | |
| Signal< SI_Symbol, Event > | onEdited |
Private Member Functions | |
| bool | checkAttributesValidity () const noexcept |
Private Attributes | |
| ComponentInstance & | mComponentInstance |
| const ComponentSymbolVariantItem * | mSymbVarItem |
| const Symbol * | mSymbol |
| QHash< Uuid, SI_SymbolPin * > | mPins |
| key: symbol pin UUID | |
| QMap< Uuid, SI_Text * > | mTexts |
| key: text UUID | |
| Uuid | mUuid |
| Point | mPosition |
| Angle | mRotation |
| bool | mMirrored |
Additional Inherited Members | |
Protected Attributes inherited from SI_Base | |
| Schematic & | mSchematic |
The SI_Symbol class.
| typedef Slot<SI_Symbol, Event> OnEditedSlot |
|
strong |
|
delete |
| SI_Symbol | ( | Schematic & | schematic, |
| const Uuid & | uuid, | ||
| ComponentInstance & | cmpInstance, | ||
| const Uuid & | symbolItem, | ||
| const Point & | position, | ||
| const Angle & | rotation, | ||
| bool | mirrored, | ||
| bool | loadInitialTexts | ||
| ) |
Here is the call graph for this function:
|
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:
|
noexcept |
Here is the call graph for this function:
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:
|
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 call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:| void addText | ( | SI_Text & | text | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeText | ( | SI_Text & | text | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SI_Base.
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SI_Base.
Here is the call graph for this function:
Here is the caller graph for this function:| void serialize | ( | SExpression & | root | ) | const |
Serialize into librepcb::SExpression node.
| root | Root node to serialize into. |
Here is the call graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
privatenoexcept |
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
key: symbol pin UUID
|
private |
|
private |
|
private |
|
private |