20#ifndef LIBREPCB_EDITOR_SCHEMATICSELECTIONQUERY_H
21#define LIBREPCB_EDITOR_SCHEMATICSELECTIONQUERY_H
45class SchematicGraphicsScene;
69 QObject* parent =
nullptr);
The SI_NetLabel class.
Definition: si_netlabel.h:49
The SI_NetLine class.
Definition: si_netline.h:65
The SI_NetPoint class.
Definition: si_netpoint.h:44
The SI_Polygon class represents a polygon in a schematic.
Definition: si_polygon.h:47
The SI_Symbol class.
Definition: si_symbol.h:54
The SI_Text class represents a text label in a schematic.
Definition: si_text.h:48
The SchematicGraphicsScene class.
Definition: schematicgraphicsscene.h:67
The SchematicSelectionQuery class.
Definition: schematicselectionquery.h:54
const QSet< SI_NetPoint * > & getNetPoints() const noexcept
Definition: schematicselectionquery.h:74
SchematicSelectionQuery()=delete
SchematicGraphicsScene & mScene
Definition: schematicselectionquery.h:126
QSet< SI_Polygon * > mResultPolygons
Definition: schematicselectionquery.h:133
QSet< SI_Symbol * > mResultSymbols
Definition: schematicselectionquery.h:129
const QSet< SI_Symbol * > & getSymbols() const noexcept
Definition: schematicselectionquery.h:73
void addSelectedNetPoints() noexcept
Definition: schematicselectionquery.cpp:102
void addNetPointsOfNetLines(bool onlyIfAllNetLinesSelected=false) noexcept
Add net points of the selected net lines.
Definition: schematicselectionquery.cpp:156
void addSelectedNetLabels() noexcept
Definition: schematicselectionquery.cpp:120
QHash< SI_NetSegment *, NetSegmentItems > getNetSegmentItems() const noexcept
Get net points, net lines and net labels grouped by net segment.
Definition: schematicselectionquery.cpp:69
QSet< SI_Text * > mResultTexts
Definition: schematicselectionquery.h:134
void addNetLinesOfSymbolPins() noexcept
Definition: schematicselectionquery.cpp:174
bool isResultEmpty() const noexcept
Definition: schematicselectionquery.h:99
QSet< SI_NetLabel * > mResultNetLabels
Definition: schematicselectionquery.h:132
const QSet< SI_NetLabel * > & getNetLabels() const noexcept
Definition: schematicselectionquery.h:80
void addSelectedPolygons() noexcept
Definition: schematicselectionquery.cpp:129
void addSelectedSchematicTexts() noexcept
Definition: schematicselectionquery.cpp:138
~SchematicSelectionQuery() noexcept
Definition: schematicselectionquery.cpp:61
void addSelectedNetLines() noexcept
Definition: schematicselectionquery.cpp:111
const QSet< SI_Polygon * > & getPolygons() const noexcept
Definition: schematicselectionquery.h:83
const QSet< SI_Text * > & getTexts() const noexcept
Definition: schematicselectionquery.h:86
void addSelectedSymbolTexts() noexcept
Definition: schematicselectionquery.cpp:147
SchematicSelectionQuery(const SchematicSelectionQuery &other)=delete
const QSet< SI_NetLine * > & getNetLines() const noexcept
Definition: schematicselectionquery.h:77
QSet< SI_NetLine * > mResultNetLines
Definition: schematicselectionquery.h:131
int getResultCount() const noexcept
Definition: schematicselectionquery.cpp:83
QSet< SI_NetPoint * > mResultNetPoints
Definition: schematicselectionquery.h:130
void addSelectedSymbols() noexcept
Definition: schematicselectionquery.cpp:93
Definition: occmodel.cpp:77
Definition: schematicselectionquery.h:59
QSet< SI_NetLabel * > netlabels
Definition: schematicselectionquery.h:62
QSet< SI_NetPoint * > netpoints
Definition: schematicselectionquery.h:60
QSet< SI_NetLine * > netlines
Definition: schematicselectionquery.h:61