KiCad PCB EDA Suite
sch_edit_frame.h File Reference
#include <stddef.h>
#include <vector>
#include <wx/cmndata.h>
#include <wx/event.h>
#include <wx/gdicmn.h>
#include <wx/string.h>
#include <wx/utils.h>
#include <config_params.h>
#include <core/typeinfo.h>
#include <eda_base_frame.h>
#include <eeschema_settings.h>
#include <math/box2.h>
#include <sch_base_frame.h>
#include <sch_text.h>
#include <template_fieldnames.h>

Go to the source code of this file.

Classes

class  SCH_EDIT_FRAME
 Schematic editor (Eeschema) main window. More...
 

Enumerations

enum  SYMBOL_ORIENTATION_T {
  SYM_NORMAL, SYM_ROTATE_CLOCKWISE, SYM_ROTATE_COUNTERCLOCKWISE, SYM_ORIENT_0,
  SYM_ORIENT_90, SYM_ORIENT_180, SYM_ORIENT_270, SYM_MIRROR_X = 0x100,
  SYM_MIRROR_Y = 0x200
}
 enum used in RotationMiroir() More...
 
enum  ANNOTATE_SCOPE_T { ANNOTATE_ALL, ANNOTATE_CURRENT_SHEET, ANNOTATE_SELECTION }
 Schematic annotation scope options. More...
 
enum  ANNOTATE_ORDER_T { SORT_BY_X_POSITION, SORT_BY_Y_POSITION, UNSORTED }
 Schematic annotation order options. More...
 
enum  ANNOTATE_ALGO_T { INCREMENTAL_BY_REF, SHEET_NUMBER_X_100, SHEET_NUMBER_X_1000 }
 Schematic annotation type options. More...
 
enum  SCH_SEARCH_T { HIGHLIGHT_PIN, HIGHLIGHT_SYMBOL }
 Schematic search type used by the socket link with Pcbnew. More...
 
enum  SCH_CLEANUP_FLAGS { NO_CLEANUP, LOCAL_CLEANUP, GLOBAL_CLEANUP }
 

Enumeration Type Documentation

◆ ANNOTATE_ALGO_T

Schematic annotation type options.

Enumerator
INCREMENTAL_BY_REF 

Annotate incrementally using the first free reference number.

SHEET_NUMBER_X_100 

Annotate using the first free reference number starting at the sheet number * 100.

SHEET_NUMBER_X_1000 

Annotate using the first free reference number starting at the sheet number * 1000.

Definition at line 101 of file sch_edit_frame.h.

102 {
107 };
Annotate using the first free reference number starting at the sheet number * 100.
Annotate incrementally using the first free reference number.
Annotate using the first free reference number starting at the sheet number * 1000.

◆ ANNOTATE_ORDER_T

Schematic annotation order options.

Enumerator
SORT_BY_X_POSITION 

Annotate by X position from left to right.

SORT_BY_Y_POSITION 

Annotate by Y position from top to bottom.

UNSORTED 

Annotate by position of symbol in the schematic sheet object list.

Definition at line 91 of file sch_edit_frame.h.

92 {
95  UNSORTED,
96 };
Annotate by position of symbol in the schematic sheet object list.
Annotate by Y position from top to bottom.
Annotate by X position from left to right.

◆ ANNOTATE_SCOPE_T

Schematic annotation scope options.

Enumerator
ANNOTATE_ALL 

Annotate the full schematic.

ANNOTATE_CURRENT_SHEET 

Annotate the current sheet.

ANNOTATE_SELECTION 

Annotate the selection.

Definition at line 82 of file sch_edit_frame.h.

83 {
84  ANNOTATE_ALL,
87 };
Annotate the selection.
Annotate the full schematic.
Annotate the current sheet.

◆ SCH_CLEANUP_FLAGS

Enumerator
NO_CLEANUP 
LOCAL_CLEANUP 
GLOBAL_CLEANUP 

Definition at line 119 of file sch_edit_frame.h.

◆ SCH_SEARCH_T

Schematic search type used by the socket link with Pcbnew.

Enumerator
HIGHLIGHT_PIN 
HIGHLIGHT_SYMBOL 

Definition at line 112 of file sch_edit_frame.h.

◆ SYMBOL_ORIENTATION_T

enum used in RotationMiroir()

Enumerator
SYM_NORMAL 
SYM_ROTATE_CLOCKWISE 
SYM_ROTATE_COUNTERCLOCKWISE 
SYM_ORIENT_0 
SYM_ORIENT_90 
SYM_ORIENT_180 
SYM_ORIENT_270 
SYM_MIRROR_X 
SYM_MIRROR_Y 

Definition at line 67 of file sch_edit_frame.h.

68 {
69  SYM_NORMAL, // Normal orientation, no rotation or mirror
70  SYM_ROTATE_CLOCKWISE, // Rotate -90
71  SYM_ROTATE_COUNTERCLOCKWISE, // Rotate +90
72  SYM_ORIENT_0, // No rotation and no mirror id SYM_NORMAL
73  SYM_ORIENT_90, // Rotate 90, no mirror
74  SYM_ORIENT_180, // Rotate 180, no mirror
75  SYM_ORIENT_270, // Rotate -90, no mirror
76  SYM_MIRROR_X = 0x100, // Mirror around X axis
77  SYM_MIRROR_Y = 0x200 // Mirror around Y axis
78 };