LibrePCB Developers Documentation
BI_Zone Class Referencefinal

The BI_Zone class. More...

#include <bi_zone.h>

+ Inheritance diagram for BI_Zone:
+ Collaboration diagram for BI_Zone:

Public Types

enum class  Event
 
typedef Slot< BI_Zone, EventOnEditedSlot
 

Public Member Functions

 BI_Zone ()=delete
 
 BI_Zone (const BI_Zone &other)=delete
 
 BI_Zone (Board &board, const BoardZoneData &data)
 
 ~BI_Zone () noexcept
 
const BoardZoneDatagetData () const noexcept
 
bool setLayers (const QSet< const Layer * > &layers)
 
bool setRules (Zone::Rules rules) noexcept
 
bool setOutline (const Path &outline) noexcept
 
bool setLocked (bool locked) noexcept
 
void addToBoard () override
 
void removeFromBoard () override
 
BI_Zoneoperator= (const BI_Zone &rhs)=delete
 
- Public Member Functions inherited from BI_Base
 BI_Base ()=delete
 
 BI_Base (const BI_Base &other)=delete
 
 BI_Base (Board &board) noexcept
 
virtual ~BI_Base () noexcept
 
ProjectgetProject () const noexcept
 
CircuitgetCircuit () const noexcept
 
BoardgetBoard () const noexcept
 
virtual bool isAddedToBoard () const noexcept
 
virtual void addToBoard ()
 
virtual void removeFromBoard ()
 
BI_Baseoperator= (const BI_Base &rhs)=delete
 

Public Attributes

Signal< BI_Zone, EventonEdited
 

Private Attributes

BoardZoneData mData
 

Additional Inherited Members

- Protected Attributes inherited from BI_Base
BoardmBoard
 

Detailed Description

The BI_Zone class.

Member Typedef Documentation

◆ OnEditedSlot

Member Enumeration Documentation

◆ Event

enum class Event
strong
Enumerator
BoardLayersChanged 
LayersChanged 
RulesChanged 
OutlineChanged 
IsLockedChanged 

Constructor & Destructor Documentation

◆ BI_Zone() [1/3]

BI_Zone ( )
delete

◆ BI_Zone() [2/3]

BI_Zone ( const BI_Zone other)
delete

◆ BI_Zone() [3/3]

BI_Zone ( Board board,
const BoardZoneData data 
)

◆ ~BI_Zone()

~BI_Zone ( )
noexcept

Member Function Documentation

◆ getData()

const BoardZoneData & getData ( ) const
inlinenoexcept
+ Here is the caller graph for this function:

◆ setLayers()

bool setLayers ( const QSet< const Layer * > &  layers)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setRules()

bool setRules ( Zone::Rules  rules)
noexcept
+ Here is the caller graph for this function:

◆ setOutline()

bool setOutline ( const Path outline)
noexcept
+ Here is the caller graph for this function:

◆ setLocked()

bool setLocked ( bool  locked)
noexcept
+ Here is the caller graph for this function:

◆ addToBoard()

void addToBoard ( )
overridevirtual

Reimplemented from BI_Base.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ removeFromBoard()

void removeFromBoard ( )
overridevirtual

Reimplemented from BI_Base.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ operator=()

BI_Zone & operator= ( const BI_Zone rhs)
delete

Member Data Documentation

◆ onEdited

Signal<BI_Zone, Event> onEdited

◆ mData

BoardZoneData mData
private

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