KiCad PCB EDA Suite
Loading...
Searching...
No Matches
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...
 
#define MAX_BUS_UNFOLD_MENU_ITEMS   1024
 While it would seem that an unfold-from-bus menu with over 100 items would be hard to deal with, we've already had one user who wants 256. More...
 

Enumerations

enum  id_eeschema_frm {
  ID_IMPORT_NON_KICAD_SCH = ID_END_LIST , ID_LIBEDIT_SELECT_UNIT_NUMBER , ID_LIBVIEW_SELECT_PART , ID_LIBVIEW_NEXT ,
  ID_LIBVIEW_PREVIOUS , ID_LIBVIEW_SELECT_UNIT_NUMBER , ID_LIBVIEW_LIB_FILTER , ID_LIBVIEW_LIB_LIST ,
  ID_LIBVIEW_SYM_FILTER , ID_LIBVIEW_SYM_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 + MAX_BUS_UNFOLD_MENU_ITEMS , ID_POPUP_SCH_SELECT_UNIT_CMP , ID_POPUP_SCH_SELECT_UNIT1 , ID_POPUP_SCH_SELECT_UNIT_SYM_MAX = ID_POPUP_SCH_SELECT_UNIT1 + MAX_UNIT_COUNT_PER_PACKAGE
}
 Command IDs for the schematic editor. More...
 

Macro Definition Documentation

◆ MAX_BUS_UNFOLD_MENU_ITEMS

#define MAX_BUS_UNFOLD_MENU_ITEMS   1024

While it would seem that an unfold-from-bus menu with over 100 items would be hard to deal with, we've already had one user who wants 256.

Definition at line 50 of file eeschema_id.h.

◆ 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_LIBEDIT_SELECT_UNIT_NUMBER 
ID_LIBVIEW_SELECT_PART 
ID_LIBVIEW_NEXT 
ID_LIBVIEW_PREVIOUS 
ID_LIBVIEW_SELECT_UNIT_NUMBER 
ID_LIBVIEW_LIB_FILTER 
ID_LIBVIEW_LIB_LIST 
ID_LIBVIEW_SYM_FILTER 
ID_LIBVIEW_SYM_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_SYM_MAX 

Definition at line 61 of file eeschema_id.h.