LibrePCB Developers Documentation
SGI_NetLine Class Referencefinal

The SGI_NetLine class. More...

#include <sgi_netline.h>

+ Inheritance diagram for SGI_NetLine:
+ Collaboration diagram for SGI_NetLine:

Public Member Functions

 SGI_NetLine (SI_NetLine &netline) noexcept
 
 ~SGI_NetLine () noexcept
 
void updateCacheAndRepaint () noexcept
 
QRectF boundingRect () const
 
QPainterPath shape () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
- Public Member Functions inherited from SGI_Base
 SGI_Base () noexcept
 
virtual ~SGI_Base () noexcept
 

Private Member Functions

 SGI_NetLine ()=delete
 
 SGI_NetLine (const SGI_NetLine &other)=delete
 
SGI_NetLineoperator= (const SGI_NetLine &rhs)=delete
 
GraphicsLayergetLayer (const QString &name) const noexcept
 

Private Attributes

SI_NetLinemNetLine
 
GraphicsLayermLayer
 
QLineF mLineF
 
QRectF mBoundingRect
 
QPainterPath mShape
 

Detailed Description

The SGI_NetLine class.

Constructor & Destructor Documentation

◆ SGI_NetLine() [1/3]

SGI_NetLine ( SI_NetLine netline)
explicitnoexcept

◆ ~SGI_NetLine()

~SGI_NetLine ( )
noexcept

◆ SGI_NetLine() [2/3]

SGI_NetLine ( )
privatedelete
+ Here is the caller graph for this function:

◆ SGI_NetLine() [3/3]

SGI_NetLine ( const SGI_NetLine other)
privatedelete

Member Function Documentation

◆ updateCacheAndRepaint()

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

◆ boundingRect()

QRectF boundingRect ( ) const
inline

◆ shape()

QPainterPath shape ( ) const
inline
+ Here is the call graph for this function:

◆ paint()

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

◆ operator=()

SGI_NetLine& operator= ( const SGI_NetLine rhs)
privatedelete
+ Here is the caller graph for this function:

◆ 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

◆ mNetLine

SI_NetLine& mNetLine
private

◆ mLayer

GraphicsLayer* mLayer
private

◆ mLineF

QLineF mLineF
private

◆ mBoundingRect

QRectF mBoundingRect
private

◆ mShape

QPainterPath mShape
private

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