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

89 {
90  NORMAL = 0,
91  DIMMED,
92  HIDDEN
93 };
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 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

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

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

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