LibrePCB Developers Documentation
BGI_Hole Class Referencefinal

The BGI_Hole class. More...

#include <bgi_hole.h>

Inherits QGraphicsItemGroup.

+ Collaboration diagram for BGI_Hole:

Public Member Functions

 BGI_Hole ()=delete
 
 BGI_Hole (const BGI_Hole &other)=delete
 
 BGI_Hole (BI_Hole &hole, const IF_GraphicsLayerProvider &lp) noexcept
 
virtual ~BGI_Hole () noexcept
 
BI_HolegetHole () noexcept
 
QPainterPath shape () const noexcept override
 
BGI_Holeoperator= (const BGI_Hole &rhs)=delete
 

Private Member Functions

void holeEdited (const BI_Hole &obj, BI_Hole::Event event) noexcept
 
QVariant itemChange (GraphicsItemChange change, const QVariant &value) noexcept override
 
void updateHole () noexcept
 

Private Attributes

BI_HolemHole
 
QScopedPointer< PrimitiveHoleGraphicsItemmGraphicsItem
 
BI_Hole::OnEditedSlot mOnEditedSlot
 

Detailed Description

The BGI_Hole class.

Constructor & Destructor Documentation

◆ BGI_Hole() [1/3]

BGI_Hole ( )
delete

◆ BGI_Hole() [2/3]

BGI_Hole ( const BGI_Hole other)
delete

◆ BGI_Hole() [3/3]

BGI_Hole ( BI_Hole hole,
const IF_GraphicsLayerProvider lp 
)
noexcept

◆ ~BGI_Hole()

~BGI_Hole ( )
virtualnoexcept

Member Function Documentation

◆ getHole()

BI_Hole & getHole ( )
inlinenoexcept

◆ shape()

QPainterPath shape ( ) const
overridenoexcept

◆ operator=()

BGI_Hole & operator= ( const BGI_Hole rhs)
delete

◆ holeEdited()

void holeEdited ( const BI_Hole obj,
BI_Hole::Event  event 
)
privatenoexcept

◆ itemChange()

QVariant itemChange ( GraphicsItemChange  change,
const QVariant &  value 
)
overrideprivatenoexcept

◆ updateHole()

void updateHole ( )
privatenoexcept
+ Here is the call graph for this function:

Member Data Documentation

◆ mHole

BI_Hole& mHole
private

◆ mGraphicsItem

QScopedPointer<PrimitiveHoleGraphicsItem> mGraphicsItem
private

◆ mOnEditedSlot

BI_Hole::OnEditedSlot mOnEditedSlot
private

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