LibrePCB Developers Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BGI_NetLine Class Referencefinal

The BGI_NetLine class. More...

#include <bgi_netline.h>

+ Inheritance diagram for BGI_NetLine:
+ Collaboration diagram for BGI_NetLine:

Public Member Functions

 BGI_NetLine (BI_NetLine &netline) noexcept
 
 ~BGI_NetLine () noexcept
 
bool isSelectable () const noexcept
 
void updateCacheAndRepaint () noexcept
 
QRectF boundingRect () const
 
QPainterPath shape () const
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 
- Public Member Functions inherited from BGI_Base
 BGI_Base () noexcept
 
virtual ~BGI_Base () noexcept
 

Private Member Functions

 BGI_NetLine ()=delete
 
 BGI_NetLine (const BGI_NetLine &other)=delete
 
BGI_NetLineoperator= (const BGI_NetLine &rhs)=delete
 
GraphicsLayergetLayer (const QString &name) const noexcept
 

Private Attributes

BI_NetLinemNetLine
 
GraphicsLayermLayer
 
QLineF mLineF
 
QRectF mBoundingRect
 
QPainterPath mShape
 

Additional Inherited Members

- Static Protected Member Functions inherited from BGI_Base
static qreal getZValueOfCopperLayer (const QString &name) noexcept
 

Detailed Description

The BGI_NetLine class.

Constructor & Destructor Documentation

BGI_NetLine ( BI_NetLine netline)
explicitnoexcept
~BGI_NetLine ( )
noexcept
BGI_NetLine ( )
privatedelete
BGI_NetLine ( const BGI_NetLine other)
privatedelete

Member Function Documentation

bool isSelectable ( ) const
noexcept

+ Here is the call graph for this function:

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:

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

+ Here is the caller graph for this function:

Member Data Documentation

BI_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: