LibrePCB Developers Documentation
|
The SymbolPinGraphicsItem class. More...
#include <symbolpingraphicsitem.h>
Inherits QGraphicsItemGroup.
Public Member Functions | |
SymbolPinGraphicsItem ()=delete | |
SymbolPinGraphicsItem (const SymbolPinGraphicsItem &other)=delete | |
SymbolPinGraphicsItem (std::shared_ptr< SymbolPin > pin, const IF_GraphicsLayerProvider &lp, std::shared_ptr< const Component > cmp=nullptr, std::shared_ptr< const ComponentSymbolVariantItem > cmpItem=nullptr, QGraphicsItem *parent=nullptr) noexcept | |
~SymbolPinGraphicsItem () noexcept | |
SymbolPin & | getObj () noexcept |
const std::shared_ptr< SymbolPin > & | getPtr () noexcept |
void | updateText () noexcept |
QPainterPath | shape () const noexcept override |
SymbolPinGraphicsItem & | operator= (const SymbolPinGraphicsItem &rhs)=delete |
Private Member Functions | |
void | pinEdited (const SymbolPin &pin, SymbolPin::Event event) noexcept |
virtual QVariant | itemChange (GraphicsItemChange change, const QVariant &value) noexcept override |
void | setLength (const UnsignedLength &length) noexcept |
void | updateNamePosition () noexcept |
void | updateNumbersTransform () noexcept |
Private Attributes | |
std::shared_ptr< SymbolPin > | mPin |
const IF_GraphicsLayerProvider & | mLayerProvider |
std::shared_ptr< const Component > | mComponent |
std::shared_ptr< const ComponentSymbolVariantItem > | mItem |
QScopedPointer< PrimitiveCircleGraphicsItem > | mCircleGraphicsItem |
QScopedPointer< LineGraphicsItem > | mLineGraphicsItem |
QScopedPointer< PrimitiveTextGraphicsItem > | mNameGraphicsItem |
QScopedPointer< PrimitiveTextGraphicsItem > | mNumbersGraphicsItem |
SymbolPin::OnEditedSlot | mOnEditedSlot |
The SymbolPinGraphicsItem class.
|
delete |
|
delete |
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
noexcept |
|
overridenoexcept |
|
delete |
|
privatenoexcept |
|
overrideprivatevirtualnoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
privatenoexcept |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |