KiCad PCB EDA Suite
board_project_settings.h File Reference

Go to the source code of this file.

Classes

struct  SELECTION_FILTER_OPTIONS
 This file contains data structures that are saved in the project file or project local settings file that are specific to PcbNew. More...
 
struct  LAYER_PRESET
 A saved set of layers that are visible. More...
 
class  PARAM_LAYER_PRESET
 

Enumerations

enum  HIGH_CONTRAST_MODE { HIGH_CONTRAST_MODE::NORMAL = 0, HIGH_CONTRAST_MODE::DIMMED, HIGH_CONTRAST_MODE::HIDDEN }
 Determine how inactive layers should be displayed. More...
 
enum  ZONE_DISPLAY_MODE { ZONE_DISPLAY_MODE::SHOW_FILLED, ZONE_DISPLAY_MODE::SHOW_ZONE_OUTLINE, ZONE_DISPLAY_MODE::SHOW_FILLED_OUTLINE }
 
enum  NET_COLOR_MODE { NET_COLOR_MODE::OFF, NET_COLOR_MODE::RATSNEST, NET_COLOR_MODE::ALL }
 
enum  RATSNEST_MODE { RATSNEST_MODE::ALL, RATSNEST_MODE::VISIBLE }
 

Enumeration Type Documentation

◆ HIGH_CONTRAST_MODE

enum HIGH_CONTRAST_MODE
strong

Determine how inactive layers should be displayed.

Enumerator
NORMAL 

Non-active layers are shown normally (no high-contrast mode)

DIMMED 

Non-active layers are dimmed (old high-contrast mode)

HIDDEN 

Non-active layers are hidden.

Definition at line 88 of file board_project_settings.h.

89 {
90  NORMAL = 0,
91  DIMMED,
92  HIDDEN
93 };
Non-active layers are dimmed (old high-contrast mode)
Use all material properties from model file.
Non-active layers are hidden.

◆ NET_COLOR_MODE

enum NET_COLOR_MODE
strong
Enumerator
OFF 

Net (and netclass) colors are not shown.

RATSNEST 

Net/netclass colors are shown on ratsnest lines only.

ALL 

Net/netclass colors are shown on all net copper.

Definition at line 104 of file board_project_settings.h.

105 {
106  OFF,
107  RATSNEST,
108  ALL
109 };
Net/netclass colors are shown on all net copper.
Net/netclass colors are shown on ratsnest lines only.
Net (and netclass) colors are not shown.

◆ RATSNEST_MODE

enum RATSNEST_MODE
strong
Enumerator
ALL 

Ratsnest lines are drawn to items on all layers (default)

VISIBLE 

Ratsnest lines are drawn to items on visible layers only.

Definition at line 112 of file board_project_settings.h.

113 {
114  ALL,
115  VISIBLE
116 };
Ratsnest lines are drawn to items on visible layers only.
Net/netclass colors are shown on all net copper.

◆ ZONE_DISPLAY_MODE

enum ZONE_DISPLAY_MODE
strong
Enumerator
SHOW_FILLED 

Filled polygons are shown.

SHOW_ZONE_OUTLINE 

Only the zone outline is shown.

SHOW_FILLED_OUTLINE 

Outlines of filled polygons are shown.

Definition at line 96 of file board_project_settings.h.

97 {
98  SHOW_FILLED,
101 };
Filled polygons are shown.
Outlines of filled polygons are shown.
Only the zone outline is shown.