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 <block_commande.h>
#include <sch_collectors.h>
#include <sch_draw_panel.h>
#include <sch_text.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 {
  FIND_COMPONENT_ONLY, FIND_PIN, FIND_REFERENCE, FIND_VALUE,
  FIND_FIELD
}
 Schematic search type used by the socket link with Pcbnew. More...
 

Enumeration Type Documentation

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 95 of file sch_edit_frame.h.

95  {
100 };
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.

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 86 of file sch_edit_frame.h.

86  {
89  UNSORTED,
90 };
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.

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 72 of file sch_edit_frame.h.

72  {
73  CMP_NORMAL, // Normal orientation, no rotation or mirror
74  CMP_ROTATE_CLOCKWISE, // Rotate -90
75  CMP_ROTATE_COUNTERCLOCKWISE, // Rotate +90
76  CMP_ORIENT_0, // No rotation and no mirror id CMP_NORMAL
77  CMP_ORIENT_90, // Rotate 90, no mirror
78  CMP_ORIENT_180, // Rotate 180, no mirror
79  CMP_ORIENT_270, // Rotate -90, no mirror
80  CMP_MIRROR_X = 0x100, // Mirror around X axis
81  CMP_MIRROR_Y = 0x200 // Mirror around Y axis
82 };

Schematic search type used by the socket link with Pcbnew.

Enumerator
FIND_COMPONENT_ONLY 

Find a component in the schematic.

FIND_PIN 

Find a component pin in the schematic.

FIND_REFERENCE 

Find an item by it's reference designator.

FIND_VALUE 

Find an item by it's value field.

FIND_FIELD 

Find a component field.

Definition at line 105 of file sch_edit_frame.h.

105  {
107  FIND_PIN,
109  FIND_VALUE,
110  FIND_FIELD
111 };
Find a component in the schematic.
Find an item by it&#39;s value field.
Find a component pin in the schematic.
Find a component field.
Find an item by it&#39;s reference designator.