KiCad PCB EDA Suite
schframe.h File Reference
#include <sch_base_frame.h>
#include <config_params.h>
#include <class_undoredo_container.h>
#include <template_fieldnames.h>
#include <block_commande.h>
#include <class_sch_screen.h>
#include <sch_collectors.h>
#include <sch_text.h>

Go to the source code of this file.

Classes

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

Macros

#define SCH_EDIT_FRAME_NAME   wxT( "SchematicFrame" )
 

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...
 

Macro Definition Documentation

#define SCH_EDIT_FRAME_NAME   wxT( "SchematicFrame" )

Definition at line 113 of file schframe.h.

Referenced by SCH::IFACE::OnKifaceStart().

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 94 of file schframe.h.

94  {
99 };
Annotate using the first free reference number starting at the sheet number * 100.
Definition: schframe.h:96
Annotate incrementally using the first free reference number.
Definition: schframe.h:95
Annotate using the first free reference number starting at the sheet number * 1000.
Definition: schframe.h:98

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 85 of file schframe.h.

85  {
88  UNSORTED,
89 };
Annotate by X position from left to right.
Definition: schframe.h:86
Annotate by position of component in the schematic sheet object list.
Definition: schframe.h:88
Annotate by Y position from top to bottom.
Definition: schframe.h:87

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 71 of file schframe.h.

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

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 104 of file schframe.h.

104  {
106  FIND_PIN,
108  FIND_VALUE,
109  FIND_FIELD
110 };
Find an item by it's reference designator.
Definition: schframe.h:107
Find a component field.
Definition: schframe.h:109
Find a component pin in the schematic.
Definition: schframe.h:106
Find an item by it's value field.
Definition: schframe.h:108
Find a component in the schematic.
Definition: schframe.h:105