2012-11-28 15:24:53 +00:00
|
|
|
#ifndef PCBNEW_ID_H_
|
|
|
|
#define PCBNEW_ID_H_
|
2010-06-16 15:01:45 +00:00
|
|
|
|
2012-01-23 04:33:36 +00:00
|
|
|
#include <id.h>
|
2010-06-16 15:01:45 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Command IDs for the printed circuit board editor.
|
|
|
|
*
|
2011-09-30 18:15:37 +00:00
|
|
|
* Please add IDs that are unique to the printed circuit board editor (Pcbnew)
|
2010-06-16 15:01:45 +00:00
|
|
|
* here and not in the global id.h file. This will prevent the entire project
|
2011-09-30 18:15:37 +00:00
|
|
|
* from being rebuilt when adding new commands to the Pcbnew.
|
2010-06-16 15:01:45 +00:00
|
|
|
*/
|
|
|
|
|
2014-08-19 14:51:15 +00:00
|
|
|
#define MAX_ITEMS_IN_PICKER 15 ///< max no. items in the popup menu for item selection
|
|
|
|
|
2010-06-16 15:01:45 +00:00
|
|
|
enum pcbnew_ids
|
|
|
|
{
|
|
|
|
ID_MAIN_MENUBAR = ID_END_LIST,
|
2010-07-17 11:14:57 +00:00
|
|
|
ID_MICROWAVE_V_TOOLBAR,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_OPEN_MODULE_EDITOR,
|
2012-02-09 20:33:38 +00:00
|
|
|
ID_OPEN_MODULE_VIEWER,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_READ_NETLIST,
|
2012-02-09 20:33:38 +00:00
|
|
|
ID_SET_RELATIVE_OFFSET,
|
2015-02-14 12:43:11 +00:00
|
|
|
ID_COPY_BOARD_AS,
|
2016-03-04 18:48:08 +00:00
|
|
|
ID_IMPORT_NON_KICAD_BOARD,
|
2011-02-21 13:54:29 +00:00
|
|
|
|
|
|
|
// Right vertical tool bar command IDs.
|
|
|
|
ID_PCB_HIGHLIGHT_BUTT,
|
2019-05-15 22:49:48 +00:00
|
|
|
ID_LOCAL_RATSNEST_BUTT,
|
2011-02-21 13:54:29 +00:00
|
|
|
ID_PCB_MODULE_BUTT,
|
|
|
|
ID_TRACK_BUTT,
|
|
|
|
ID_PCB_ZONES_BUTT,
|
2017-04-22 15:46:31 +00:00
|
|
|
ID_PCB_DRAW_VIA_BUTT,
|
2019-05-15 22:49:48 +00:00
|
|
|
ID_PCB_KEEPOUT_BUTT,
|
2011-02-21 13:54:29 +00:00
|
|
|
ID_PCB_ADD_LINE_BUTT,
|
2017-10-19 21:14:01 +00:00
|
|
|
ID_PCB_ADD_POLYGON_BUTT,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_PCB_CIRCLE_BUTT,
|
|
|
|
ID_PCB_ARC_BUTT,
|
2011-02-21 13:54:29 +00:00
|
|
|
ID_PCB_ADD_TEXT_BUTT,
|
|
|
|
ID_PCB_DIMENSION_BUTT,
|
2017-10-31 15:38:10 +00:00
|
|
|
ID_PCB_TARGET_BUTT,
|
2011-02-21 13:54:29 +00:00
|
|
|
ID_PCB_DELETE_ITEM_BUTT,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_PCB_PLACE_OFFSET_COORD_BUTT,
|
2010-07-13 10:42:32 +00:00
|
|
|
ID_PCB_PLACE_GRID_COORD_BUTT,
|
2017-03-09 09:09:13 +00:00
|
|
|
ID_PCB_MEASUREMENT_TOOL,
|
|
|
|
|
2015-02-18 00:06:14 +00:00
|
|
|
ID_DIFF_PAIR_BUTT,
|
|
|
|
ID_TUNE_SINGLE_TRACK_LEN_BUTT,
|
|
|
|
ID_TUNE_DIFF_PAIR_LEN_BUTT,
|
|
|
|
ID_TUNE_DIFF_PAIR_SKEW_BUTT,
|
|
|
|
ID_MENU_REMOVE_MEANDERS,
|
|
|
|
ID_MENU_MITER_TRACES,
|
|
|
|
ID_MENU_ADD_TEARDROPS,
|
|
|
|
ID_MENU_DIFF_PAIR_DIMENSIONS,
|
|
|
|
ID_MENU_INTERACTIVE_ROUTER_SETTINGS,
|
2011-02-21 13:54:29 +00:00
|
|
|
|
2016-12-02 17:59:48 +00:00
|
|
|
ID_MENU_PCB_FLIP_VIEW,
|
2010-06-16 15:01:45 +00:00
|
|
|
|
|
|
|
ID_POPUP_PCB_START_RANGE,
|
|
|
|
ID_POPUP_PCB_GET_AND_MOVE_MODULE_REQUEST,
|
|
|
|
ID_POPUP_PCB_END_RANGE,
|
|
|
|
|
|
|
|
// Tracks and vias sizes general options
|
|
|
|
ID_AUX_TOOLBAR_PCB_VIA_SIZE,
|
|
|
|
ID_AUX_TOOLBAR_PCB_TRACK_WIDTH,
|
|
|
|
ID_AUX_TOOLBAR_PCB_SELECT_AUTO_WIDTH,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH_START_RANGE,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH,
|
2014-05-13 09:22:51 +00:00
|
|
|
ID_POPUP_PCB_SELECT_CUSTOM_WIDTH,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_POPUP_PCB_SELECT_AUTO_WIDTH,
|
|
|
|
ID_POPUP_PCB_SELECT_USE_NETCLASS_VALUES,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH1,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH2,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH3,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH4,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH5,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH6,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH7,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH8,
|
2012-12-01 20:03:33 +00:00
|
|
|
ID_POPUP_PCB_SELECT_WIDTH9,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH10,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH11,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH12,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH13,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH14,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH15,
|
|
|
|
ID_POPUP_PCB_SELECT_WIDTH16,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE1,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE2,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE3,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE4,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE5,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE6,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE7,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE8,
|
2012-12-01 20:03:33 +00:00
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE9,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE10,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE11,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE12,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE13,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE14,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE15,
|
|
|
|
ID_POPUP_PCB_SELECT_VIASIZE16,
|
2018-04-28 15:22:25 +00:00
|
|
|
ID_POPUP_PCB_SELECT_CUSTOM_DIFFPAIR,
|
|
|
|
ID_POPUP_PCB_SELECT_USE_NETCLASS_DIFFPAIR,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR1,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR2,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR3,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR4,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR5,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR6,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR7,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR8,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR9,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR10,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR11,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR12,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR13,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR14,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR15,
|
|
|
|
ID_POPUP_PCB_SELECT_DIFFPAIR16,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_POPUP_PCB_SELECT_WIDTH_END_RANGE,
|
|
|
|
|
2012-12-21 07:58:51 +00:00
|
|
|
ID_MENU_READ_BOARD_BACKUP_FILE,
|
|
|
|
ID_MENU_RECOVER_BOARD_AUTOSAVE,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_MENU_ARCHIVE_MODULES,
|
2015-09-28 08:46:00 +00:00
|
|
|
ID_MENU_ARCHIVE_MODULES_IN_LIBRARY,
|
|
|
|
ID_MENU_CREATE_LIBRARY_AND_ARCHIVE_MODULES,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_MENU_MICELLANOUS,
|
|
|
|
ID_MENU_LIST_NETS,
|
2018-04-28 15:22:25 +00:00
|
|
|
ID_PCB_EDIT_TRACKS_AND_VIAS,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_MENU_PCB_CLEAN,
|
2018-01-12 19:36:15 +00:00
|
|
|
ID_MENU_PCB_UPDATE_FOOTPRINTS,
|
|
|
|
ID_MENU_PCB_EXCHANGE_FOOTPRINTS,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_MENU_PCB_SWAP_LAYERS,
|
2018-04-28 15:22:25 +00:00
|
|
|
ID_MENU_PCB_EDIT_TEXT_AND_GRAPHICS,
|
2011-04-17 13:54:17 +00:00
|
|
|
|
2014-01-02 09:26:03 +00:00
|
|
|
ID_GEN_EXPORT_FILE_IDF3,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_GEN_EXPORT_FILE_VRML,
|
2016-09-19 07:40:36 +00:00
|
|
|
ID_GEN_EXPORT_FILE_STEP,
|
2019-04-08 00:09:07 +00:00
|
|
|
ID_GEN_EXPORT_FILE_HYPERLYNX,
|
2011-04-17 13:54:17 +00:00
|
|
|
ID_GEN_EXPORT_SPECCTRA,
|
|
|
|
ID_GEN_EXPORT_FILE_GENCADFORMAT,
|
|
|
|
ID_GEN_EXPORT_FILE_MODULE_REPORT,
|
|
|
|
ID_GEN_IMPORT_SPECCTRA_SESSION,
|
|
|
|
ID_GEN_IMPORT_SPECCTRA_DESIGN,
|
2018-11-01 09:47:41 +00:00
|
|
|
ID_GEN_IMPORT_GRAPHICS_FILE,
|
2010-06-16 15:01:45 +00:00
|
|
|
|
2012-08-10 21:53:50 +00:00
|
|
|
ID_TOOLBARH_PCB_SCRIPTING_CONSOLE,
|
2010-06-16 15:01:45 +00:00
|
|
|
|
2017-01-22 09:05:46 +00:00
|
|
|
ID_TOOLBARH_PCB_ACTION_PLUGIN,
|
|
|
|
ID_TOOLBARH_PCB_ACTION_PLUGIN_REFRESH,
|
|
|
|
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR,
|
|
|
|
|
|
|
|
ID_PCB_GEN_POS_MODULES_FILE,
|
|
|
|
ID_PCB_GEN_DRILL_FILE,
|
2013-09-13 09:49:55 +00:00
|
|
|
ID_PCB_GEN_D356_FILE,
|
2010-06-16 15:01:45 +00:00
|
|
|
|
|
|
|
ID_PCB_GEN_CMP_FILE,
|
|
|
|
ID_MENU_PCB_SHOW_3D_FRAME,
|
|
|
|
ID_PCB_GEN_BOM_FILE_FROM_BOARD,
|
2015-08-20 07:14:44 +00:00
|
|
|
ID_PCB_3DSHAPELIB_WIZARD,
|
2012-10-15 22:30:01 +00:00
|
|
|
ID_PCB_LIB_TABLE_EDIT,
|
2018-04-28 15:22:25 +00:00
|
|
|
ID_BOARD_SETUP_DIALOG,
|
2010-06-16 15:01:45 +00:00
|
|
|
|
|
|
|
ID_TB_OPTIONS_SHOW_MANAGE_LAYERS_VERTICAL_TOOLBAR,
|
2011-03-04 19:16:00 +00:00
|
|
|
ID_TB_OPTIONS_SHOW_EXTRA_VERTICAL_TOOLBAR_MICROWAVE,
|
2010-06-16 15:01:45 +00:00
|
|
|
|
|
|
|
ID_PCB_MUWAVE_START_CMD,
|
|
|
|
ID_PCB_MUWAVE_TOOL_DISPLAY_TOOLS,
|
|
|
|
ID_PCB_MUWAVE_TOOL_SELF_CMD,
|
|
|
|
ID_PCB_MUWAVE_TOOL_GAP_CMD,
|
|
|
|
ID_PCB_MUWAVE_TOOL_STUB_CMD,
|
|
|
|
ID_PCB_MUWAVE_TOOL_STUB_ARC_CMD,
|
|
|
|
ID_PCB_MUWAVE_TOOL_FUNCTION_SHAPE_CMD,
|
|
|
|
ID_PCB_MUWAVE_END_CMD,
|
|
|
|
|
|
|
|
ID_DRC_CONTROL,
|
|
|
|
ID_PCB_GLOBAL_DELETE,
|
|
|
|
ID_TOOLBARH_PCB_SELECT_LAYER,
|
|
|
|
|
2011-02-21 13:54:29 +00:00
|
|
|
// Module editor right vertical tool bar commands.
|
|
|
|
ID_MODEDIT_PAD_TOOL,
|
|
|
|
ID_MODEDIT_LINE_TOOL,
|
|
|
|
ID_MODEDIT_CIRCLE_TOOL,
|
|
|
|
ID_MODEDIT_ARC_TOOL,
|
2017-10-19 21:14:01 +00:00
|
|
|
ID_MODEDIT_POLYGON_TOOL,
|
2011-02-21 13:54:29 +00:00
|
|
|
ID_MODEDIT_TEXT_TOOL,
|
|
|
|
ID_MODEDIT_ANCHOR_TOOL,
|
|
|
|
ID_MODEDIT_DELETE_TOOL,
|
|
|
|
ID_MODEDIT_PLACE_GRID_COORD,
|
2017-03-09 09:09:13 +00:00
|
|
|
ID_MODEDIT_MEASUREMENT_TOOL,
|
2011-02-21 13:54:29 +00:00
|
|
|
|
2010-06-16 15:01:45 +00:00
|
|
|
// ID used in module editor:
|
|
|
|
ID_MODEDIT_CHECK,
|
2018-07-26 20:19:46 +00:00
|
|
|
ID_MODEDIT_CREATE_NEW_LIB,
|
2018-10-03 21:44:17 +00:00
|
|
|
ID_MODEDIT_ADD_LIBRARY,
|
2018-07-29 15:33:58 +00:00
|
|
|
ID_MODEDIT_SAVE,
|
|
|
|
ID_MODEDIT_SAVE_AS,
|
2018-11-09 13:32:13 +00:00
|
|
|
ID_MODEDIT_SAVE_PNG,
|
2018-10-03 21:44:17 +00:00
|
|
|
ID_MODEDIT_REVERT_PART,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_MODEDIT_DELETE_PART,
|
2018-10-03 21:44:17 +00:00
|
|
|
ID_MODEDIT_COPY_PART,
|
|
|
|
ID_MODEDIT_CUT_PART,
|
|
|
|
ID_MODEDIT_PASTE_PART,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_MODEDIT_NEW_MODULE,
|
2012-05-09 17:37:25 +00:00
|
|
|
ID_MODEDIT_NEW_MODULE_FROM_WIZARD,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_MODEDIT_SHEET_SET,
|
2018-07-29 15:33:58 +00:00
|
|
|
ID_MODEDIT_EDIT_MODULE,
|
2010-06-16 15:01:45 +00:00
|
|
|
ID_MODEDIT_PAD_SETTINGS,
|
|
|
|
ID_MODEDIT_LOAD_MODULE_FROM_BOARD,
|
|
|
|
ID_MODEDIT_EDIT_MODULE_PROPERTIES,
|
|
|
|
ID_MODEDIT_IMPORT_PART,
|
|
|
|
ID_MODEDIT_EXPORT_PART,
|
2018-11-04 00:58:28 +00:00
|
|
|
ID_MODEDIT_SHOW_HIDE_SEARCH_TREE,
|
2012-02-09 20:33:38 +00:00
|
|
|
|
|
|
|
ID_MODVIEW_LIB_LIST,
|
|
|
|
ID_MODVIEW_FOOTPRINT_LIST,
|
|
|
|
ID_MODVIEW_SELECT_PART,
|
2018-09-11 15:28:57 +00:00
|
|
|
ID_MODVIEW_OPTIONS,
|
2012-02-09 20:33:38 +00:00
|
|
|
ID_MODVIEW_PREVIOUS,
|
|
|
|
ID_MODVIEW_NEXT,
|
2012-02-10 08:49:43 +00:00
|
|
|
ID_MODVIEW_SHOW_3D_VIEW,
|
2018-08-01 10:00:10 +00:00
|
|
|
|
2012-05-09 17:37:25 +00:00
|
|
|
ID_FOOTPRINT_WIZARD_NEXT,
|
|
|
|
ID_FOOTPRINT_WIZARD_PREVIOUS,
|
|
|
|
ID_FOOTPRINT_WIZARD_DONE,
|
|
|
|
ID_FOOTPRINT_WIZARD_SHOW_3D_VIEW,
|
|
|
|
ID_FOOTPRINT_WIZARD_PAGE_LIST,
|
|
|
|
ID_FOOTPRINT_WIZARD_PARAMETER_LIST,
|
|
|
|
ID_FOOTPRINT_WIZARD_SELECT_WIZARD,
|
2017-01-03 15:01:47 +00:00
|
|
|
ID_FOOTPRINT_WIZARD_RESET_TO_DEFAULT,
|
2014-08-19 14:51:15 +00:00
|
|
|
|
2019-04-15 21:09:14 +00:00
|
|
|
ID_ADD_FOOTPRINT_TO_BOARD,
|
2016-01-29 14:43:40 +00:00
|
|
|
ID_UPDATE_PCB_FROM_SCH,
|
2018-07-22 21:33:01 +00:00
|
|
|
ID_RUN_EESCHEMA,
|
2014-08-19 14:51:15 +00:00
|
|
|
ID_PCBNEW_END_LIST
|
2010-06-16 15:01:45 +00:00
|
|
|
};
|
|
|
|
|
2012-11-28 15:24:53 +00:00
|
|
|
#endif // PCBNEW_ID_H_
|