20#ifndef LIBREPCB_EDITOR_SCHEMATICSELECTIONQUERY_H
21#define LIBREPCB_EDITOR_SCHEMATICSELECTIONQUERY_H
50class SchematicGraphicsScene;
79 QObject* parent =
nullptr);
The SI_BusJunction class.
Definition si_busjunction.h:45
The SI_BusLabel class.
Definition si_buslabel.h:48
The SI_BusLine class.
Definition si_busline.h:47
The SI_Image class represents an image in a schematic.
Definition si_image.h:45
The SI_NetLabel class.
Definition si_netlabel.h:48
The SI_NetLine class.
Definition si_netline.h:64
The SI_NetPoint class.
Definition si_netpoint.h:44
The SI_NetSegment class.
Definition si_netsegment.h:55
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:76
The SchematicSelectionQuery class.
Definition schematicselectionquery.h:59
const QSet< SI_BusLabel * > & getBusLabels() const noexcept
Definition schematicselectionquery.h:90
void addSelectedImages() noexcept
Definition schematicselectionquery.cpp:207
const QSet< SI_NetPoint * > & getNetPoints() const noexcept
Definition schematicselectionquery.h:93
SchematicSelectionQuery()=delete
SchematicGraphicsScene & mScene
Definition schematicselectionquery.h:171
QSet< SI_Polygon * > mResultPolygons
Definition schematicselectionquery.h:181
QSet< SI_Symbol * > mResultSymbols
Definition schematicselectionquery.h:174
const QSet< SI_Symbol * > & getSymbols() const noexcept
Definition schematicselectionquery.h:83
void addSelectedNetPoints() noexcept
Definition schematicselectionquery.cpp:153
QSet< SI_BusLine * > mResultBusLines
Definition schematicselectionquery.h:176
void addSelectedBusLines() noexcept
Definition schematicselectionquery.cpp:135
void addNetPointsOfNetLines(bool onlyIfAllNetLinesSelected=false) noexcept
Add net points of the selected net lines.
Definition schematicselectionquery.cpp:234
void addSelectedNetLabels() noexcept
Definition schematicselectionquery.cpp:171
QHash< SI_NetSegment *, NetSegmentItems > getNetSegmentItems() const noexcept
Get net points, net lines and net labels grouped by net segment.
Definition schematicselectionquery.cpp:91
QSet< SI_Text * > mResultTexts
Definition schematicselectionquery.h:182
void addNetLinesOfSymbolPins() noexcept
Definition schematicselectionquery.cpp:252
bool isResultEmpty() const noexcept
Definition schematicselectionquery.h:130
QSet< SI_NetLabel * > mResultNetLabels
Definition schematicselectionquery.h:180
const QSet< SI_NetLabel * > & getNetLabels() const noexcept
Definition schematicselectionquery.h:99
QHash< SI_BusSegment *, BusSegmentItems > getBusSegmentItems() const noexcept
Get bus junctions, lines and labels grouped by bus segment.
Definition schematicselectionquery.cpp:76
void addSelectedPolygons() noexcept
Definition schematicselectionquery.cpp:180
void addSelectedSchematicTexts() noexcept
Definition schematicselectionquery.cpp:189
void addJunctionsOfBusLines(bool onlyIfAllLinesSelected=false) noexcept
Add junctions of the selected bus lines.
Definition schematicselectionquery.cpp:216
const QSet< SI_BusLine * > & getBusLines() const noexcept
Definition schematicselectionquery.h:87
~SchematicSelectionQuery() noexcept
Definition schematicselectionquery.cpp:68
void addSelectedNetLines() noexcept
Definition schematicselectionquery.cpp:162
const QSet< SI_Polygon * > & getPolygons() const noexcept
Definition schematicselectionquery.h:102
QSet< SI_BusJunction * > mResultBusJunctions
Definition schematicselectionquery.h:175
const QSet< SI_Text * > & getTexts() const noexcept
Definition schematicselectionquery.h:105
void addSelectedSymbolTexts() noexcept
Definition schematicselectionquery.cpp:198
QSet< SI_Image * > mResultImages
Definition schematicselectionquery.h:183
SchematicSelectionQuery(const SchematicSelectionQuery &other)=delete
const QSet< SI_BusJunction * > & getBusJunctions() const noexcept
Definition schematicselectionquery.h:84
const QSet< SI_NetLine * > & getNetLines() const noexcept
Definition schematicselectionquery.h:96
QSet< SI_NetLine * > mResultNetLines
Definition schematicselectionquery.h:179
void addSelectedBusLabels() noexcept
Definition schematicselectionquery.cpp:144
int getResultCount() const noexcept
Definition schematicselectionquery.cpp:105
QSet< SI_NetPoint * > mResultNetPoints
Definition schematicselectionquery.h:178
void addSelectedBusJunctions() noexcept
Definition schematicselectionquery.cpp:126
void addSelectedSymbols() noexcept
Definition schematicselectionquery.cpp:117
const QSet< SI_Image * > & getImages() const noexcept
Definition schematicselectionquery.h:106
QSet< SI_BusLabel * > mResultBusLabels
Definition schematicselectionquery.h:177
Definition occmodel.cpp:77
Definition schematicselectionquery.h:64
QSet< SI_BusLabel * > labels
Definition schematicselectionquery.h:67
QSet< SI_BusJunction * > junctions
Definition schematicselectionquery.h:65
QSet< SI_BusLine * > lines
Definition schematicselectionquery.h:66
Definition schematicselectionquery.h:69
QSet< SI_NetLabel * > netlabels
Definition schematicselectionquery.h:72
QSet< SI_NetPoint * > netpoints
Definition schematicselectionquery.h:70
QSet< SI_NetLine * > netlines
Definition schematicselectionquery.h:71