20#ifndef LIBREPCB_CORE_BI_HOLE_H
21#define LIBREPCB_CORE_BI_HOLE_H
26#include "../../../utils/signalslot.h"
27#include "../boardholedata.h"
The Board Item Base (BI_Base) class.
Definition bi_base.h:45
The BI_Hole class.
Definition bi_hole.h:46
~BI_Hole() noexcept
Definition bi_hole.cpp:47
std::optional< Length > mStopMaskOffset
Definition bi_hole.h:91
Signal< BI_Hole, Event > onEdited
Definition bi_hole.h:56
const std::optional< Length > & getStopMaskOffset() const noexcept
Definition bi_hole.h:67
BoardHoleData mData
Definition bi_hole.h:88
void removeFromBoard() override
Definition bi_hole.cpp:104
BI_Hole(const BI_Hole &other)=delete
bool setStopMaskConfig(const MaskConfig &config) noexcept
Definition bi_hole.cpp:75
void updateStopMaskOffset() noexcept
Definition bi_hole.cpp:116
Event
Definition bi_hole.h:51
BI_Hole & operator=(const BI_Hole &rhs)=delete
const BoardHoleData & getData() const noexcept
Definition bi_hole.h:66
bool setPath(const NonEmptyPath &path) noexcept
Definition bi_hole.cpp:65
Slot< BI_Hole, Event > OnEditedSlot
Definition bi_hole.h:57
void addToBoard() override
Definition bi_hole.cpp:96
bool setLocked(bool locked) noexcept
Definition bi_hole.cpp:84
bool setDiameter(const PositiveLength &diameter) noexcept
Definition bi_hole.cpp:54
The BoardHoleData class.
Definition boardholedata.h:45
The Board class represents a PCB of a project and is always part of a circuit.
Definition board.h:73
The Length class is used to represent a length (for example 12.75 millimeters)
Definition length.h:82
The MaskConfig class defines how to add automatic stop mask or solder paste.
Definition maskconfig.h:45
The Signal class is used to emit signals on non-QObject derived classes.
Definition signalslot.h:65
The Slot class is used to receive signals from non-QObject derived classes.
Definition signalslot.h:170
Definition occmodel.cpp:76
type_safe::constrained_type< Length, PositiveLengthConstraint, PositiveLengthVerifier > PositiveLength
Definition length.h:810
type_safe::constrained_type< Path, NonEmptyPathConstraint, NonEmptyPathVerifier > NonEmptyPath
Definition path.h:231