20#ifndef LIBREPCB_CORE_BI_ZONE_H
21#define LIBREPCB_CORE_BI_ZONE_H
26#include "../../../utils/signalslot.h"
27#include "../boardzonedata.h"
71 bool setLayers(
const QSet<const Layer*>& layers);
72 bool setRules(Zone::Rules rules)
noexcept;
The Board Item Base (BI_Base) class.
Definition: bi_base.h:45
The BI_Zone class.
Definition: bi_zone.h:46
bool setLayers(const QSet< const Layer * > &layers)
Definition: bi_zone.cpp:52
bool setOutline(const Path &outline) noexcept
Definition: bi_zone.cpp:73
Slot< BI_Zone, Event > OnEditedSlot
Definition: bi_zone.h:59
BI_Zone(const BI_Zone &other)=delete
bool setRules(Zone::Rules rules) noexcept
Definition: bi_zone.cpp:63
void removeFromBoard() override
Definition: bi_zone.cpp:104
BI_Zone & operator=(const BI_Zone &rhs)=delete
BoardZoneData mData
Definition: bi_zone.h:84
const BoardZoneData & getData() const noexcept
Definition: bi_zone.h:68
Event
Definition: bi_zone.h:51
~BI_Zone() noexcept
Definition: bi_zone.cpp:45
Signal< BI_Zone, Event > onEdited
Definition: bi_zone.h:58
void addToBoard() override
Definition: bi_zone.cpp:96
bool setLocked(bool locked) noexcept
Definition: bi_zone.cpp:83
The Board class represents a PCB of a project and is always part of a circuit.
Definition: board.h:73
The BoardZoneData class.
Definition: boardzonedata.h:44
The Path class represents a list of vertices connected by straight lines or circular arc segments.
Definition: path.h:58
The Signal class is used to emit signals on non-QObject derived classes.
Definition: signalslot.h:65
Definition: occmodel.cpp:77