![]() |
LibrePCB Developers Documentation
|
The BoardSelectionQuery class. More...
#include <boardselectionquery.h>
Inherits QObject.
Collaboration diagram for BoardSelectionQuery:Classes | |
| struct | NetSegmentItems |
Public Member Functions | |
| BoardSelectionQuery ()=delete | |
| BoardSelectionQuery (const BoardSelectionQuery &other)=delete | |
| BoardSelectionQuery (BoardGraphicsScene &scene, bool includeLockedItems, QObject *parent=nullptr) | |
| ~BoardSelectionQuery () noexcept | |
| const QSet< BI_Device * > & | getDeviceInstances () const noexcept |
| const QSet< BI_NetPoint * > & | getNetPoints () const noexcept |
| const QSet< BI_NetLine * > & | getNetLines () const noexcept |
| const QSet< BI_Via * > & | getVias () const noexcept |
| const QSet< BI_Plane * > & | getPlanes () const noexcept |
| const QSet< BI_Zone * > & | getZones () const noexcept |
| const QSet< BI_Polygon * > & | getPolygons () const noexcept |
| const QSet< BI_StrokeText * > & | getStrokeTexts () const noexcept |
| const QSet< BI_Hole * > & | getHoles () const noexcept |
| QHash< BI_NetSegment *, NetSegmentItems > | getNetSegmentItems () const noexcept |
| Get vias, net points and net lines grouped by net segment. | |
| int | getResultCount () const noexcept |
| bool | isResultEmpty () const noexcept |
| void | addDeviceInstancesOfSelectedFootprints () noexcept |
| void | addSelectedVias () noexcept |
| void | addSelectedNetPoints () noexcept |
| void | addSelectedNetLines () noexcept |
| void | addSelectedPlanes () noexcept |
| void | addSelectedZones () noexcept |
| void | addSelectedPolygons () noexcept |
| void | addSelectedBoardStrokeTexts () noexcept |
| void | addSelectedFootprintStrokeTexts () noexcept |
| void | addSelectedHoles () noexcept |
| void | addNetPointsOfNetLines (bool onlyIfAllNetLinesSelected=false) noexcept |
| Add net points of the selected net lines. | |
| BoardSelectionQuery & | operator= (const BoardSelectionQuery &rhs)=delete |
Private Attributes | |
| BoardGraphicsScene & | mScene |
| const bool | mIncludeLockedItems |
| QSet< BI_Device * > | mResultDeviceInstances |
| QSet< BI_NetPoint * > | mResultNetPoints |
| QSet< BI_NetLine * > | mResultNetLines |
| QSet< BI_Via * > | mResultVias |
| QSet< BI_Plane * > | mResultPlanes |
| QSet< BI_Zone * > | mResultZones |
| QSet< BI_Polygon * > | mResultPolygons |
| QSet< BI_StrokeText * > | mResultStrokeTexts |
| QSet< BI_Hole * > | mResultHoles |
The BoardSelectionQuery class.
|
delete |
|
delete |
|
explicit |
|
noexcept |
|
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:
|
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:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Get vias, net points and net lines grouped by net segment.
Same as getVias(), getNetPoints() and getNetLines(), but grouped by their corresponding net segments. Only net segments containing selected items are returned.
Here is the call graph for this function:
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:
|
noexcept |
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:
|
noexcept |
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:
|
noexcept |
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:
|
noexcept |
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:
|
noexcept |
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:
|
noexcept |
Add net points of the selected net lines.
| onlyIfAllNetLinesSelected | If true, net points are added only if all connected net lines are selected. If false, net points are added if at least one of the connected net lines is selected. |
Here is the call graph for this function:
Here is the caller graph for this function:
|
delete |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |