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...
 

Enumerations

enum  HIGH_CONTRAST_MODE { HIGH_CONTRAST_MODE::NORMAL = 0, HIGH_CONTRAST_MODE::DIMMED, HIGH_CONTRAST_MODE::HIDDEN }
 Determines how inactive layers should be displayed. More...
 
enum  ZONE_DISPLAY_MODE { ZONE_DISPLAY_MODE::SHOW_FILLED, ZONE_DISPLAY_MODE::HIDE_FILLED, ZONE_DISPLAY_MODE::SHOW_OUTLINED }
 

Determines how zones should be displayed

More...
 
enum  NET_COLOR_MODE { NET_COLOR_MODE::OFF, NET_COLOR_MODE::RATSNEST, NET_COLOR_MODE::ALL }
 

Determines how net color overrides should be applied

More...
 
enum  RATSNEST_MODE { RATSNEST_MODE::ALL, RATSNEST_MODE::VISIBLE }
 

Determines how ratsnest lines are drawn

More...
 

Enumeration Type Documentation

◆ HIGH_CONTRAST_MODE

enum HIGH_CONTRAST_MODE
strong

Determines how inactive layers should be displayed.

Enumerator
NORMAL 
DIMMED 

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

HIDDEN 

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

Non-active layers are hidden

Definition at line 81 of file board_project_settings.h.

82 {
83  NORMAL = 0,
84  DIMMED,
85  HIDDEN
86 };
Non-active layers are shown normally (no high-contrast mode)
Use all material properties from model file.
Non-active layers are dimmed (old high-contrast mode)

◆ NET_COLOR_MODE

enum NET_COLOR_MODE
strong

Determines how net color overrides should be applied

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

98 {
99  OFF,
100  RATSNEST,
101  ALL
102 };
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

Determines how ratsnest lines are drawn

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

106 {
107  ALL,
108  VISIBLE
109 };
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

Determines how zones should be displayed

Enumerator
SHOW_FILLED 

Filled polygons are shown.

HIDE_FILLED 

Only the zone outline is shown.

SHOW_OUTLINED 

Outlines of filled polygons are shown.

Definition at line 89 of file board_project_settings.h.

90 {
91  SHOW_FILLED,
92  HIDE_FILLED,
94 };
Filled polygons are shown.
Only the zone outline is shown.
Outlines of filled polygons are shown.