KiCad PCB EDA Suite
Loading...
Searching...
No Matches
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

 SELECTION_FILTER_OPTIONS ()
 
bool Any ()
 
bool All ()
 

Public Attributes

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

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

◆ SELECTION_FILTER_OPTIONS()

SELECTION_FILTER_OPTIONS::SELECTION_FILTER_OPTIONS ( )
inline

Member Function Documentation

◆ All()

bool 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 dimensions, footprints, graphics, keepouts, otherItems, pads, text, tracks, vias, and zones.

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

◆ Any()

bool 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 dimensions, footprints, graphics, keepouts, otherItems, pads, text, tracks, vias, and zones.

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: