20#ifndef LIBREPCB_EDITOR_BOARDSELECTIONQUERY_H
21#define LIBREPCB_EDITOR_BOARDSELECTIONQUERY_H
48class BoardGraphicsScene;
72 bool includeLockedItems,
73 QObject* parent =
nullptr);
The BI_Device class.
Definition bi_device.h:57
The BI_Hole class.
Definition bi_hole.h:46
The BI_NetLine class.
Definition bi_netline.h:71
The BI_NetPoint class.
Definition bi_netpoint.h:46
The BI_Plane class.
Definition bi_plane.h:52
The BI_Polygon class.
Definition bi_polygon.h:46
The BI_StrokeText class.
Definition bi_stroketext.h:49
The BI_Via class.
Definition bi_via.h:44
The BI_Zone class.
Definition bi_zone.h:46
The BoardGraphicsScene class.
Definition boardgraphicsscene.h:77
The BoardSelectionQuery class.
Definition boardselectionquery.h:57
const QSet< BI_Plane * > & getPlanes() const noexcept
Definition boardselectionquery.h:87
void addSelectedBoardStrokeTexts() noexcept
Definition boardselectionquery.cpp:167
const QSet< BI_NetLine * > & getNetLines() const noexcept
Definition boardselectionquery.h:83
QSet< BI_Hole * > mResultHoles
Definition boardselectionquery.h:148
BoardSelectionQuery(const BoardSelectionQuery &other)=delete
const QSet< BI_NetPoint * > & getNetPoints() const noexcept
Definition boardselectionquery.h:80
QSet< BI_Device * > mResultDeviceInstances
Definition boardselectionquery.h:140
void addSelectedPlanes() noexcept
Definition boardselectionquery.cpp:137
void addSelectedNetPoints() noexcept
Definition boardselectionquery.cpp:119
void addNetPointsOfNetLines(bool onlyIfAllNetLinesSelected=false) noexcept
Add net points of the selected net lines.
Definition boardselectionquery.cpp:197
void addSelectedFootprintStrokeTexts() noexcept
Definition boardselectionquery.cpp:177
bool isResultEmpty() const noexcept
Definition boardselectionquery.h:108
QSet< BI_Zone * > mResultZones
Definition boardselectionquery.h:145
void addSelectedPolygons() noexcept
Definition boardselectionquery.cpp:157
BoardGraphicsScene & mScene
Definition boardselectionquery.h:136
BoardSelectionQuery()=delete
void addSelectedNetLines() noexcept
Definition boardselectionquery.cpp:128
const QSet< BI_Device * > & getDeviceInstances() const noexcept
Definition boardselectionquery.h:77
const QSet< BI_StrokeText * > & getStrokeTexts() const noexcept
Definition boardselectionquery.h:92
QSet< BI_Polygon * > mResultPolygons
Definition boardselectionquery.h:146
const QSet< BI_Polygon * > & getPolygons() const noexcept
Definition boardselectionquery.h:89
QSet< BI_StrokeText * > mResultStrokeTexts
Definition boardselectionquery.h:147
QSet< BI_NetLine * > mResultNetLines
Definition boardselectionquery.h:142
void addSelectedHoles() noexcept
Definition boardselectionquery.cpp:187
const QSet< BI_Hole * > & getHoles() const noexcept
Definition boardselectionquery.h:95
int getResultCount() const noexcept
Definition boardselectionquery.cpp:90
QSet< BI_NetPoint * > mResultNetPoints
Definition boardselectionquery.h:141
QSet< BI_Plane * > mResultPlanes
Definition boardselectionquery.h:144
~BoardSelectionQuery() noexcept
Definition boardselectionquery.cpp:68
QHash< BI_NetSegment *, NetSegmentItems > getNetSegmentItems() const noexcept
Get vias, net points and net lines grouped by net segment.
Definition boardselectionquery.cpp:76
void addDeviceInstancesOfSelectedFootprints() noexcept
Definition boardselectionquery.cpp:101
QSet< BI_Via * > mResultVias
Definition boardselectionquery.h:143
const bool mIncludeLockedItems
Definition boardselectionquery.h:137
const QSet< BI_Via * > & getVias() const noexcept
Definition boardselectionquery.h:86
const QSet< BI_Zone * > & getZones() const noexcept
Definition boardselectionquery.h:88
void addSelectedZones() noexcept
Definition boardselectionquery.cpp:147
void addSelectedVias() noexcept
Definition boardselectionquery.cpp:111
Definition occmodel.cpp:76
Definition boardselectionquery.h:62
QSet< BI_NetPoint * > netpoints
Definition boardselectionquery.h:64
QSet< BI_NetLine * > netlines
Definition boardselectionquery.h:65
QSet< BI_Via * > vias
Definition boardselectionquery.h:63