LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ( SI_NetLine netline)
explicitnoexcept
~SGI_NetLine ( )
noexcept
SGI_NetLine ( )
privatedelete
SGI_NetLine ( const SGI_NetLine other)
privatedelete

Member Function Documentation

void updateCacheAndRepaint ( )
noexcept

+ Here is the call graph for this function:

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

+ Here is the call graph for this function:

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

+ Here is the caller graph for this function:

Member Data Documentation

SI_NetLine& mNetLine
private
GraphicsLayer* mLayer
private
QLineF mLineF
private
QRectF mBoundingRect
private
QPainterPath mShape
private

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