KiCad PCB EDA Suite
board_project_settings.h File Reference
#include <layer_ids.h>
#include <settings/parameters.h>
#include <nlohmann/json.hpp>
#include <math/box2.h>
#include <glm/glm.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
 
struct  VIEWPORT
 
class  PARAM_VIEWPORT
 
struct  VIEWPORT3D
 
class  PARAM_VIEWPORT3D
 

Enumerations

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

Enumeration Type Documentation

◆ HIGH_CONTRAST_MODE

enum class 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 93 of file board_project_settings.h.

94{
95 NORMAL = 0,
96 DIMMED,
97 HIDDEN
98};
@ NORMAL
Use all material properties from model file.
@ DIMMED
Inactive layers are dimmed (old high-contrast mode)
@ HIDDEN
Item is temporarily hidden (e.g.
Definition: view_item.h:61

◆ NET_COLOR_MODE

enum class 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 113 of file board_project_settings.h.

114{
115 OFF,
116 RATSNEST,
117 ALL
118};
@ RATSNEST
Net/netclass colors are shown on ratsnest lines only.
#define OFF
@ ALL
All except INITIAL_ADD.
Definition: view_item.h:53

◆ RATSNEST_MODE

enum class 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 121 of file board_project_settings.h.

122{
123 ALL,
124 VISIBLE
125};
@ VISIBLE
Item is visible (in general)
Definition: view_item.h:60

◆ ZONE_DISPLAY_MODE

enum class ZONE_DISPLAY_MODE
strong
Enumerator
SHOW_FILLED 
SHOW_ZONE_OUTLINE 
SHOW_FRACTURE_BORDERS 
SHOW_TRIANGULATION 

Definition at line 101 of file board_project_settings.h.

102{
105
106 // Debug modes
107
110};