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 ()
 

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 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 42 of file board_project_settings.h.

Constructor & Destructor Documentation

◆ PCB_SELECTION_FILTER_OPTIONS()

PCB_SELECTION_FILTER_OPTIONS::PCB_SELECTION_FILTER_OPTIONS ( )
inline

Definition at line 56 of file board_project_settings.h.

References text.

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 83 of file board_project_settings.h.

References text.

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 74 of file board_project_settings.h.

References text.

Member Data Documentation

◆ dimensions

◆ footprints

◆ graphics

◆ keepouts

◆ lockedItems

◆ otherItems

◆ pads

◆ text

◆ tracks

◆ vias

◆ zones


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