![]() |
LibrePCB Developers Documentation
|
The Schematic class represents one schematic page of a project and is always part of a circuit. More...
#include <schematic.h>
Inherits QObject.
Collaboration diagram for Schematic:Signals | |
| void | nameChanged (const ElementName &name) |
| void | gridIntervalChanged (const PositiveLength &interval) |
| void | symbolAdded (SI_Symbol &symbol) |
| void | symbolRemoved (SI_Symbol &symbol) |
| void | netSegmentAdded (SI_NetSegment &netSegment) |
| void | netSegmentRemoved (SI_NetSegment &netSegment) |
| void | polygonAdded (SI_Polygon &polygon) |
| void | polygonRemoved (SI_Polygon &polygon) |
| void | textAdded (SI_Text &text) |
| void | textRemoved (SI_Text &text) |
| void | attributesChanged () |
Public Member Functions | |
| Schematic ()=delete | |
| Schematic (const Schematic &other)=delete | |
| Schematic (Project &project, std::unique_ptr< TransactionalDirectory > directory, const QString &directoryName, const Uuid &uuid, const ElementName &name) | |
| ~Schematic () noexcept | |
| Project & | getProject () const noexcept |
| const QString & | getDirectoryName () const noexcept |
| TransactionalDirectory & | getDirectory () noexcept |
| bool | isEmpty () const noexcept |
| const Uuid & | getUuid () const noexcept |
| const ElementName & | getName () const noexcept |
| const PositiveLength & | getGridInterval () const noexcept |
| const LengthUnit & | getGridUnit () const noexcept |
| void | setName (const ElementName &name) noexcept |
| void | setGridInterval (const PositiveLength &interval) noexcept |
| void | setGridUnit (const LengthUnit &unit) noexcept |
| const QMap< Uuid, SI_Symbol * > & | getSymbols () const noexcept |
| void | addSymbol (SI_Symbol &symbol) |
| void | removeSymbol (SI_Symbol &symbol) |
| const QMap< Uuid, SI_NetSegment * > & | getNetSegments () const noexcept |
| void | addNetSegment (SI_NetSegment &netsegment) |
| void | removeNetSegment (SI_NetSegment &netsegment) |
| const QMap< Uuid, SI_Polygon * > & | getPolygons () const noexcept |
| void | addPolygon (SI_Polygon &polygon) |
| void | removePolygon (SI_Polygon &polygon) |
| const QMap< Uuid, SI_Text * > & | getTexts () const noexcept |
| void | addText (SI_Text &text) |
| void | removeText (SI_Text &text) |
| void | addToProject () |
| void | removeFromProject () |
| void | save () |
| void | updateAllNetLabelAnchors () noexcept |
| Schematic & | operator= (const Schematic &rhs)=delete |
| bool | operator== (const Schematic &rhs) const noexcept |
| bool | operator!= (const Schematic &rhs) const noexcept |
Private Attributes | |
| Project & | mProject |
| A reference to the Project object (from the ctor) | |
| const QString | mDirectoryName |
| std::unique_ptr< TransactionalDirectory > | mDirectory |
| bool | mIsAddedToProject |
| Uuid | mUuid |
| ElementName | mName |
| PositiveLength | mGridInterval |
| LengthUnit | mGridUnit |
| QMap< Uuid, SI_Symbol * > | mSymbols |
| QMap< Uuid, SI_NetSegment * > | mNetSegments |
| QMap< Uuid, SI_Polygon * > | mPolygons |
| QMap< Uuid, SI_Text * > | mTexts |
The Schematic class represents one schematic page of a project and is always part of a circuit.
A schematic can contain following items:
|
delete |
| Schematic | ( | Project & | project, |
| std::unique_ptr< TransactionalDirectory > | directory, | ||
| const QString & | directoryName, | ||
| const Uuid & | uuid, | ||
| const ElementName & | name | ||
| ) |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
|
noexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
Here is the caller graph for this function:| void addSymbol | ( | SI_Symbol & | symbol | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeSymbol | ( | SI_Symbol & | symbol | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:| void addNetSegment | ( | SI_NetSegment & | netsegment | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeNetSegment | ( | SI_NetSegment & | netsegment | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:| void addPolygon | ( | SI_Polygon & | polygon | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removePolygon | ( | SI_Polygon & | polygon | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void addText | ( | SI_Text & | text | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeText | ( | SI_Text & | text | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void addToProject | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void removeFromProject | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void save | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinenoexcept |
|
inlinenoexcept |
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
signal |
Here is the caller graph for this function:
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |