LibrePCB Developers Documentation
SGI_SymbolPin Class Referencefinal

The SGI_SymbolPin class. More...

#include <sgi_symbolpin.h>

+ Inheritance diagram for SGI_SymbolPin:
+ Collaboration diagram for SGI_SymbolPin:

Public Member Functions

 SGI_SymbolPin (SI_SymbolPin &pin) noexcept
 
 ~SGI_SymbolPin () noexcept
 
void updateCacheAndRepaint () noexcept
 
QRectF boundingRect () const noexcept
 
QPainterPath shape () const noexcept
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
 
- Public Member Functions inherited from SGI_Base
 SGI_Base () noexcept
 
virtual ~SGI_Base () noexcept
 

Private Member Functions

 SGI_SymbolPin ()=delete
 
 SGI_SymbolPin (const SGI_SymbolPin &other)=delete
 
SGI_SymbolPinoperator= (const SGI_SymbolPin &rhs)=delete
 
GraphicsLayergetLayer (const QString &name) const noexcept
 

Private Attributes

SI_SymbolPinmPin
 
const library::SymbolPinmLibPin
 
QFont mFont
 
qreal mRadiusPx
 
bool mIsVisibleJunction
 
GraphicsLayermJunctionLayer
 
QStaticText mStaticText
 
bool mRotate180
 
bool mMirrored
 
QRectF mBoundingRect
 
QPointF mTextOrigin
 
QRectF mTextBoundingRect
 
QPainterPath mShape
 

Detailed Description

The SGI_SymbolPin class.

Constructor & Destructor Documentation

◆ SGI_SymbolPin() [1/3]

SGI_SymbolPin ( SI_SymbolPin pin)
explicitnoexcept
+ Here is the call graph for this function:

◆ ~SGI_SymbolPin()

~SGI_SymbolPin ( )
noexcept

◆ SGI_SymbolPin() [2/3]

SGI_SymbolPin ( )
privatedelete

◆ SGI_SymbolPin() [3/3]

SGI_SymbolPin ( const SGI_SymbolPin other)
privatedelete

Member Function Documentation

◆ updateCacheAndRepaint()

void updateCacheAndRepaint ( )
noexcept
+ Here is the call graph for this function:

◆ boundingRect()

QRectF boundingRect ( ) const
inlinenoexcept

◆ shape()

QPainterPath shape ( ) const
inlinenoexcept

◆ paint()

void paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = 0 
)
+ Here is the call graph for this function:

◆ operator=()

SGI_SymbolPin& operator= ( const SGI_SymbolPin rhs)
privatedelete

◆ getLayer()

GraphicsLayer * getLayer ( const QString &  name) const
privatenoexcept
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ mPin

SI_SymbolPin& mPin
private

◆ mLibPin

const library::SymbolPin& mLibPin
private

◆ mFont

QFont mFont
private

◆ mRadiusPx

qreal mRadiusPx
private

◆ mIsVisibleJunction

bool mIsVisibleJunction
private

◆ mJunctionLayer

GraphicsLayer* mJunctionLayer
private

◆ mStaticText

QStaticText mStaticText
private

◆ mRotate180

bool mRotate180
private

◆ mMirrored

bool mMirrored
private

◆ mBoundingRect

QRectF mBoundingRect
private

◆ mTextOrigin

QPointF mTextOrigin
private

◆ mTextBoundingRect

QRectF mTextBoundingRect
private

◆ mShape

QPainterPath mShape
private

The documentation for this class was generated from the following files: