LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.

Author
ubruhin
Date
2014-08-23

Constructor & Destructor Documentation

SGI_SymbolPin ( SI_SymbolPin pin)
explicitnoexcept

+ Here is the call graph for this function:

~SGI_SymbolPin ( )
noexcept
SGI_SymbolPin ( )
privatedelete
SGI_SymbolPin ( const SGI_SymbolPin other)
privatedelete

Member Function Documentation

void updateCacheAndRepaint ( )
noexcept

+ Here is the call graph for this function:

QRectF boundingRect ( ) const
inlinenoexcept
QPainterPath shape ( ) const
inlinenoexcept
void paint ( QPainter *  painter,
const QStyleOptionGraphicsItem *  option,
QWidget *  widget = 0 
)

+ Here is the call graph for this function:

SGI_SymbolPin& operator= ( const SGI_SymbolPin rhs)
privatedelete
GraphicsLayer * getLayer ( const QString &  name) const
privatenoexcept

+ Here is the caller graph for this function:

Member Data Documentation

SI_SymbolPin& mPin
private
const library::SymbolPin& mLibPin
private
QFont mFont
private
qreal mRadiusPx
private
bool mIsVisibleJunction
private
GraphicsLayer* mJunctionLayer
private
QStaticText mStaticText
private
bool mRotate180
private
bool mMirrored
private
QRectF mBoundingRect
private
QPointF mTextOrigin
private
QRectF mTextBoundingRect
private
QPainterPath mShape
private

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