Inherits QObject.
|
| Board ()=delete |
|
| Board (const Board &other)=delete |
|
| Board (Project &project, std::unique_ptr< TransactionalDirectory > directory, const QString &directoryName, const Uuid &uuid, const ElementName &name) |
|
| ~Board () noexcept |
|
Project & | getProject () const noexcept |
|
const QString & | getDirectoryName () const noexcept |
|
TransactionalDirectory & | getDirectory () noexcept |
|
const BoardDesignRules & | getDesignRules () const noexcept |
|
const BoardDesignRuleCheckSettings & | getDrcSettings () const noexcept |
|
BoardFabricationOutputSettings & | getFabricationOutputSettings () noexcept |
|
const BoardFabricationOutputSettings & | getFabricationOutputSettings () const noexcept |
|
bool | isEmpty () const noexcept |
|
QList< BI_Base * > | getAllItems () const noexcept |
|
std::shared_ptr< SceneData3D > | buildScene3D (const tl::optional< Uuid > &assemblyVariant) const noexcept |
|
const Uuid & | getUuid () const noexcept |
|
const ElementName & | getName () const noexcept |
|
const QString & | getDefaultFontName () const noexcept |
|
const PositiveLength & | getGridInterval () const noexcept |
|
const LengthUnit & | getGridUnit () const noexcept |
|
int | getInnerLayerCount () const noexcept |
|
const QSet< const Layer * > | getCopperLayers () const noexcept |
|
const PositiveLength & | getPcbThickness () const noexcept |
|
const PcbColor * | getSolderResist () const noexcept |
|
const PcbColor & | getSilkscreenColor () const noexcept |
|
const PcbColor * | getSilkscreenColorTop () const noexcept |
|
const PcbColor * | getSilkscreenColorBot () const noexcept |
|
const QVector< const Layer * > & | getSilkscreenLayersTop () const noexcept |
|
const QVector< const Layer * > & | getSilkscreenLayersBot () const noexcept |
|
const QMap< QString, bool > & | getLayersVisibility () const noexcept |
|
void | setName (const ElementName &name) noexcept |
|
void | setDefaultFontName (const QString &name) noexcept |
|
void | setGridInterval (const PositiveLength &interval) noexcept |
|
void | setGridUnit (const LengthUnit &unit) noexcept |
|
void | setInnerLayerCount (int count) noexcept |
|
void | setPcbThickness (const PositiveLength &t) noexcept |
|
void | setSolderResist (const PcbColor *c) noexcept |
|
void | setSilkscreenColor (const PcbColor &c) noexcept |
|
void | setSilkscreenLayersTop (const QVector< const Layer * > &l) noexcept |
|
void | setSilkscreenLayersBot (const QVector< const Layer * > &l) noexcept |
|
void | setLayersVisibility (const QMap< QString, bool > &visibility) noexcept |
|
void | setDesignRules (const BoardDesignRules &rules) noexcept |
|
void | setDrcSettings (const BoardDesignRuleCheckSettings &settings) noexcept |
|
const QSet< SExpression > & | getDrcMessageApprovals () const noexcept |
|
void | loadDrcMessageApprovals (const Version &version, const QSet< SExpression > &approvals) noexcept |
|
bool | updateDrcMessageApprovals (QSet< SExpression > approvals, bool partialRun) noexcept |
|
void | setDrcMessageApproved (const SExpression &approval, bool approved) noexcept |
|
const QMap< Uuid, BI_Device * > & | getDeviceInstances () const noexcept |
|
BI_Device * | getDeviceInstanceByComponentUuid (const Uuid &uuid) const noexcept |
|
void | addDeviceInstance (BI_Device &instance) |
|
void | removeDeviceInstance (BI_Device &instance) |
|
const QMap< Uuid, BI_NetSegment * > & | getNetSegments () const noexcept |
|
void | addNetSegment (BI_NetSegment &netsegment) |
|
void | removeNetSegment (BI_NetSegment &netsegment) |
|
const QMap< Uuid, BI_Plane * > & | getPlanes () const noexcept |
|
void | addPlane (BI_Plane &plane) |
|
void | removePlane (BI_Plane &plane) |
|
void | invalidatePlanes (const Layer *layer=nullptr) noexcept |
|
void | invalidatePlanes (const QSet< const Layer * > &layers) noexcept |
|
QSet< const Layer * > | takeScheduledLayersForPlanesRebuild (const QSet< const Layer * > &layers) noexcept |
|
const QMap< Uuid, BI_Zone * > & | getZones () const noexcept |
|
void | addZone (BI_Zone &zone) |
|
void | removeZone (BI_Zone &zone) |
|
const QMap< Uuid, BI_Polygon * > & | getPolygons () const noexcept |
|
void | addPolygon (BI_Polygon &polygon) |
|
void | removePolygon (BI_Polygon &polygon) |
|
const QMap< Uuid, BI_StrokeText * > & | getStrokeTexts () const noexcept |
|
void | addStrokeText (BI_StrokeText &text) |
|
void | removeStrokeText (BI_StrokeText &text) |
|
const QMap< Uuid, BI_Hole * > & | getHoles () const noexcept |
|
void | addHole (BI_Hole &hole) |
|
void | removeHole (BI_Hole &hole) |
|
QList< BI_AirWire * > | getAirWires () const noexcept |
|
void | scheduleAirWiresRebuild (NetSignal *netsignal) noexcept |
|
void | triggerAirWiresRebuild () noexcept |
|
void | forceAirWiresRebuild () noexcept |
|
tl::optional< std::pair< Point, Point > > | calculateBoundingRect () const noexcept |
|
void | addDefaultContent () |
|
void | copyFrom (const Board &other) |
|
void | addToProject () |
|
void | removeFromProject () |
|
void | save () |
|
Board & | operator= (const Board &rhs)=delete |
|
bool | operator== (const Board &rhs) noexcept |
|
bool | operator!= (const Board &rhs) noexcept |
|
The Board class represents a PCB of a project and is always part of a circuit.