KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PCB_SELECTION_FILTER_OPTIONS Struct Reference

This file contains data structures that are saved in the project file or project local settings file that are specific to PcbNew. More...

#include <board_project_settings.h>

Public Member Functions

 PCB_SELECTION_FILTER_OPTIONS ()
 
bool Any ()
 
bool All ()
 
void SetAll (bool aState)
 

Public Attributes

bool lockedItems
 Allow selecting locked items.
 
bool footprints
 Allow selecting entire footprints.
 
bool text
 Text (free or attached to a footprint)
 
bool tracks
 Copper tracks.
 
bool vias
 Vias (all types>
 
bool pads
 Footprint pads.
 
bool graphics
 Graphic lines, shapes, polygons.
 
bool zones
 Copper zones.
 
bool keepouts
 Keepout zones.
 
bool dimensions
 Dimension items.
 
bool points
 Points.
 
bool otherItems
 Anything not fitting one of the above categories.
 

Detailed Description

This file contains data structures that are saved in the project file or project local settings file that are specific to PcbNew.

This is done so that these structures are available in common. Selection filtering that applies all the time (not the "filter selection" dialog that modifies the current selection)

Definition at line 43 of file board_project_settings.h.

Constructor & Destructor Documentation

◆ PCB_SELECTION_FILTER_OPTIONS()

PCB_SELECTION_FILTER_OPTIONS::PCB_SELECTION_FILTER_OPTIONS ( )
inline

Member Function Documentation

◆ All()

bool PCB_SELECTION_FILTER_OPTIONS::All ( )
inline
Returns
true if all the item types are enabled (excluding "locked items" which is special)

Definition at line 86 of file board_project_settings.h.

References dimensions, footprints, graphics, keepouts, otherItems, pads, points, text, tracks, vias, and zones.

Referenced by PANEL_SELECTION_FILTER::SetCheckboxesFromFilter(), and PANEL_SELECTION_FILTER::setFilterFromCheckboxes().

◆ Any()

bool PCB_SELECTION_FILTER_OPTIONS::Any ( )
inline
Returns
true if any of the item types are enabled (excluding "locked items" which is special)

Definition at line 77 of file board_project_settings.h.

References dimensions, footprints, graphics, keepouts, otherItems, pads, points, text, tracks, vias, and zones.

◆ SetAll()

void PCB_SELECTION_FILTER_OPTIONS::SetAll ( bool aState)
inline

Member Data Documentation

◆ dimensions

◆ footprints

◆ graphics

◆ keepouts

◆ lockedItems

◆ otherItems

◆ pads

◆ points

◆ text

◆ tracks

◆ vias

◆ zones


The documentation for this struct was generated from the following file: