KiCad PCB EDA Suite
eeschema_id.h File Reference
#include <id.h>

Go to the source code of this file.

Macros

#define MAX_SELECT_ITEM_IDS   200
 The maximum number of items in the clarify selection context menu. More...
 
#define MAX_UNIT_COUNT_PER_PACKAGE   676
 The maximum number of units per package. More...
 

Enumerations

enum  id_eeschema_frm {
  ID_IMPORT_NON_KICAD_SCH = ID_END_LIST, ID_RESCUE_CACHED, ID_REMAP_SYMBOLS, ID_LIBEDIT_SELECT_PART_NUMBER,
  ID_LIBEDIT_IMPORT_BODY_BUTT, ID_LIBEDIT_EXPORT_BODY_BUTT, ID_LIBVIEW_SELECT_PART, ID_LIBVIEW_NEXT,
  ID_LIBVIEW_PREVIOUS, ID_LIBVIEW_SELECT_PART_NUMBER, ID_LIBVIEW_LIB_LIST, ID_LIBVIEW_CMP_LIST,
  ID_SIM_RUN, ID_SIM_TUNE, ID_SIM_PROBE, ID_SIM_ADD_SIGNALS,
  ID_END_EESCHEMA_ID_LIST, ID_POPUP_SCH_UNFOLD_BUS = ID_POPUP_MENU_START, ID_POPUP_SCH_UNFOLD_BUS_END = ID_POPUP_SCH_UNFOLD_BUS + 128, ID_POPUP_SCH_SELECT_UNIT_CMP,
  ID_POPUP_SCH_SELECT_UNIT1, ID_POPUP_SCH_SELECT_UNIT_CMP_MAX = ID_POPUP_SCH_SELECT_UNIT1 + MAX_UNIT_COUNT_PER_PACKAGE
}
 Command IDs for the schematic editor. More...
 

Variables

enum id_eeschema_frm kiface
 

Macro Definition Documentation

◆ MAX_SELECT_ITEM_IDS

#define MAX_SELECT_ITEM_IDS   200

The maximum number of items in the clarify selection context menu.

While in most cases it is highly unlikely that there would ever be more than 10 items at the current cursor, there are some exceptions (a bunch of pins created at once, for instance). The current setting of 200 is arbitrary.

Definition at line 37 of file eeschema_id.h.

◆ MAX_UNIT_COUNT_PER_PACKAGE

#define MAX_UNIT_COUNT_PER_PACKAGE   676

The maximum number of units per package.

While counts approaching 100 start to make the unit-selection popup menu difficult to use, the limit is currently 'ZZ' (26 * 26).

Definition at line 44 of file eeschema_id.h.

Enumeration Type Documentation

◆ id_eeschema_frm

Command IDs for the schematic editor.

Please add IDs that are unique to the schematic editor (Eeschema) here and not in the global id.h file. This will prevent the entire project from being rebuilt when adding new command to Eeschema.

Enumerator
ID_IMPORT_NON_KICAD_SCH 
ID_RESCUE_CACHED 
ID_REMAP_SYMBOLS 
ID_LIBEDIT_SELECT_PART_NUMBER 
ID_LIBEDIT_IMPORT_BODY_BUTT 
ID_LIBEDIT_EXPORT_BODY_BUTT 
ID_LIBVIEW_SELECT_PART 
ID_LIBVIEW_NEXT 
ID_LIBVIEW_PREVIOUS 
ID_LIBVIEW_SELECT_PART_NUMBER 
ID_LIBVIEW_LIB_LIST 
ID_LIBVIEW_CMP_LIST 
ID_SIM_RUN 
ID_SIM_TUNE 
ID_SIM_PROBE 
ID_SIM_ADD_SIGNALS 
ID_END_EESCHEMA_ID_LIST 
ID_POPUP_SCH_UNFOLD_BUS 
ID_POPUP_SCH_UNFOLD_BUS_END 
ID_POPUP_SCH_SELECT_UNIT_CMP 
ID_POPUP_SCH_SELECT_UNIT1 
ID_POPUP_SCH_SELECT_UNIT_CMP_MAX 

Definition at line 55 of file eeschema_id.h.

56 {
58 
59  /* Schematic editor main menubar IDs. */
62 
63  /* Library editor horizontal toolbar IDs. */
65 
66  /* Library editor vertical toolbar IDs. */
69 
70  /* Library viewer horizontal toolbar IDs */
77 
78  ID_SIM_RUN,
82 
83  ID_END_EESCHEMA_ID_LIST, // End of IDs specific to Eeschema
84 
85  // These ID are used in context menus,
86  // and must not clash with any other menu ID inside Kicad
87  // So used ID inside the reserved popup ID
88  //
89  // Dynamically bound in AddMenusForBus():
92 
93  // Unit select context menus command IDs.
96  // ... leave room for MAX_UNIT_COUNT_PER_PACKAGE IDs ,
97  // to select one unit among MAX_UNIT_COUNT_PER_PACKAGE in popup menu
99 };
#define MAX_UNIT_COUNT_PER_PACKAGE
The maximum number of units per package.
Definition: eeschema_id.h:44

Variable Documentation

◆ kiface

enum id_eeschema_frm kiface