LibrePCB Developers Documentation
|
The SI_SymbolPin class. More...
#include <si_symbolpin.h>
Public Types | |
enum class | Event |
typedef Slot< SI_SymbolPin, Event > | OnEditedSlot |
Public Member Functions | |
SI_SymbolPin ()=delete | |
SI_SymbolPin (const SI_SymbolPin &other)=delete | |
SI_SymbolPin (SI_Symbol &symbol, const Uuid &pinUuid) | |
~SI_SymbolPin () | |
const Point & | getPosition () const noexcept override |
Get the absolute position of the pin (scene coordinates) More... | |
const Angle & | getRotation () const noexcept |
Get the absolute rotation of the pin (scene coordinates) More... | |
const QString & | getName () const noexcept |
const QStringList & | getNumbers () const noexcept |
const QString & | getNumbersTruncated () const noexcept |
const Point & | getNumbersPosition () const noexcept |
const Alignment & | getNumbersAlignment () const noexcept |
const Uuid & | getLibPinUuid () const noexcept |
SI_Symbol & | getSymbol () const noexcept |
const SymbolPin & | getLibPin () const noexcept |
ComponentSignalInstance * | getComponentSignalInstance () const noexcept |
NetSignal * | getCompSigInstNetSignal () const noexcept |
SI_NetSegment * | getNetSegmentOfLines () const noexcept |
bool | isRequired () const noexcept |
bool | isUsed () const noexcept |
bool | isVisibleJunction () const noexcept |
bool | isOpen () const noexcept override |
NetLineAnchor | toNetLineAnchor () const noexcept override |
void | addToSchematic () override |
void | removeFromSchematic () override |
void | registerNetLine (SI_NetLine &netline) override |
void | unregisterNetLine (SI_NetLine &netline) override |
const QSet< SI_NetLine * > & | getNetLines () const noexcept override |
SI_SymbolPin & | operator= (const SI_SymbolPin &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 |
virtual void | addToSchematic () |
virtual void | removeFromSchematic () |
SI_Base & | operator= (const SI_Base &rhs)=delete |
Public Member Functions inherited from SI_NetLineAnchor | |
SI_NetLineAnchor () noexcept=default | |
virtual | ~SI_NetLineAnchor () noexcept=default |
virtual void | registerNetLine (SI_NetLine &netline)=0 |
virtual void | unregisterNetLine (SI_NetLine &netline)=0 |
virtual const QSet< SI_NetLine * > & | getNetLines () const noexcept=0 |
virtual const Point & | getPosition () const noexcept=0 |
virtual bool | isOpen () const noexcept=0 |
virtual NetLineAnchor | toNetLineAnchor () const noexcept=0 |
Public Attributes | |
Signal< SI_SymbolPin, Event > | onEdited |
Private Member Functions | |
void | symbolEdited (const SI_Symbol &obj, SI_Symbol::Event event) noexcept |
void | netSignalChanged (NetSignal *from, NetSignal *to) noexcept |
void | netSignalNameChanged () noexcept |
void | padNamesChanged (const QStringList &names) noexcept |
void | updateTransform () noexcept |
void | updateName () noexcept |
void | updateNumbers () noexcept |
void | updateNumbersTransform () noexcept |
QString | getLibraryComponentName () const noexcept |
QString | getComponentSignalNameOrPinUuid () const noexcept |
QString | getNetSignalName () const noexcept |
Private Attributes | |
SI_Symbol & | mSymbol |
const SymbolPin * | mSymbolPin |
const ComponentPinSignalMapItem * | mPinSignalMapItem |
ComponentSignalInstance * | mComponentSignalInstance |
Point | mPosition |
Angle | mRotation |
QString | mName |
QStringList | mNumbers |
QString | mNumbersTruncated |
Point | mNumbersPosition |
Alignment | mNumbersAlignment |
QSet< SI_NetLine * > | mRegisteredNetLines |
all registered netlines More... | |
SI_Symbol::OnEditedSlot | mOnSymbolEditedSlot |
Additional Inherited Members | |
Protected Attributes inherited from SI_Base | |
Schematic & | mSchematic |
The SI_SymbolPin class.
typedef Slot<SI_SymbolPin, Event> OnEditedSlot |
|
strong |
|
delete |
|
delete |
|
explicit |
~SI_SymbolPin | ( | ) |
|
inlineoverridevirtualnoexcept |
Get the absolute position of the pin (scene coordinates)
Implements SI_NetLineAnchor.
|
inlinenoexcept |
Get the absolute rotation of the pin (scene coordinates)
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
noexcept |
|
inlineoverridevirtualnoexcept |
Implements SI_NetLineAnchor.
|
overridevirtualnoexcept |
Implements SI_NetLineAnchor.
|
overridevirtual |
Reimplemented from SI_Base.
|
overridevirtual |
Reimplemented from SI_Base.
|
overridevirtual |
|
overridevirtual |
|
inlineoverridevirtualnoexcept |
|
delete |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
Signal<SI_SymbolPin, Event> onEdited |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
all registered netlines
|
private |