KiCad PCB EDA Suite
board_project_settings.h File Reference
#include <layers_id_colors_and_visibility.h>
#include <settings/parameters.h>
#include <nlohmann/json.hpp>

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 

Inactive layers are shown normally (no high-contrast mode)

DIMMED 

Inactive layers are dimmed (old high-contrast mode)

HIDDEN 

Inactive layers are hidden.

Definition at line 91 of file board_project_settings.h.

92 {
93  NORMAL = 0,
94  DIMMED,
95  HIDDEN
96 };
Inactive layers are dimmed (old high-contrast mode)
Use all material properties from model file.
Inactive 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 107 of file board_project_settings.h.

108 {
109  OFF,
110  RATSNEST,
111  ALL
112 };
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 115 of file board_project_settings.h.

116 {
117  ALL,
118  VISIBLE
119 };
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 99 of file board_project_settings.h.

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