KiCad PCB EDA Suite
sch_edit_frame.h File Reference
#include <sch_base_frame.h>
#include <config_params.h>
#include <undo_redo_container.h>
#include <template_fieldnames.h>
#include <ee_collectors.h>
#include <tool/selection.h>
#include <erc_settings.h>
#include <sch_draw_panel.h>
#include <sch_text.h>
#include <status_popup.h>

Go to the source code of this file.

Classes

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

Enumerations

enum  COMPONENT_ORIENTATION_T {
  CMP_NORMAL, CMP_ROTATE_CLOCKWISE, CMP_ROTATE_COUNTERCLOCKWISE, CMP_ORIENT_0,
  CMP_ORIENT_90, CMP_ORIENT_180, CMP_ORIENT_270, CMP_MIRROR_X = 0x100,
  CMP_MIRROR_Y = 0x200
}
 enum used in RotationMiroir() More...
 
enum  ANNOTATE_ORDER_T { SORT_BY_X_POSITION, SORT_BY_Y_POSITION, UNSORTED }
 Schematic annotation order options. More...
 
enum  ANNOTATE_OPTION_T { INCREMENTAL_BY_REF, SHEET_NUMBER_X_100, SHEET_NUMBER_X_1000 }
 Schematic annotation type options. More...
 
enum  SCH_SEARCH_T { HIGHLIGHT_PIN, HIGHLIGHT_COMPONENT }
 Schematic search type used by the socket link with Pcbnew. More...
 

Enumeration Type Documentation

◆ ANNOTATE_OPTION_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 81 of file sch_edit_frame.h.

81  {
86 };
Annotate incrementally using the first free reference number.
Annotate using the first free reference number starting at the sheet number * 100.
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 component in the schematic sheet object list.

Definition at line 72 of file sch_edit_frame.h.

72  {
75  UNSORTED,
76 };
Annotate by position of component in the schematic sheet object list.
Annotate by Y position from top to bottom.
Annotate by X position from left to right.

◆ COMPONENT_ORIENTATION_T

enum used in RotationMiroir()

Enumerator
CMP_NORMAL 
CMP_ROTATE_CLOCKWISE 
CMP_ROTATE_COUNTERCLOCKWISE 
CMP_ORIENT_0 
CMP_ORIENT_90 
CMP_ORIENT_180 
CMP_ORIENT_270 
CMP_MIRROR_X 
CMP_MIRROR_Y 

Definition at line 58 of file sch_edit_frame.h.

58  {
59  CMP_NORMAL, // Normal orientation, no rotation or mirror
60  CMP_ROTATE_CLOCKWISE, // Rotate -90
61  CMP_ROTATE_COUNTERCLOCKWISE, // Rotate +90
62  CMP_ORIENT_0, // No rotation and no mirror id CMP_NORMAL
63  CMP_ORIENT_90, // Rotate 90, no mirror
64  CMP_ORIENT_180, // Rotate 180, no mirror
65  CMP_ORIENT_270, // Rotate -90, no mirror
66  CMP_MIRROR_X = 0x100, // Mirror around X axis
67  CMP_MIRROR_Y = 0x200 // Mirror around Y axis
68 };

◆ SCH_SEARCH_T

Schematic search type used by the socket link with Pcbnew.

Enumerator
HIGHLIGHT_PIN 
HIGHLIGHT_COMPONENT 

Definition at line 91 of file sch_edit_frame.h.