KiCad PCB EDA Suite
board_project_settings.h File Reference
#include <layer_ids.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_FRACTURE_BORDERS, ZONE_DISPLAY_MODE::SHOW_TRIANGULATION }
 
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 111 of file board_project_settings.h.

112 {
113  OFF,
114  RATSNEST,
115  ALL
116 };
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 119 of file board_project_settings.h.

120 {
121  ALL,
122  VISIBLE
123 };
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 
SHOW_ZONE_OUTLINE 
SHOW_FRACTURE_BORDERS 
SHOW_TRIANGULATION 

Definition at line 99 of file board_project_settings.h.