Loading files
ce705b508This file is pinned to the selected release. Download the original to open it in your design tool.
// GENERATED FILE! DO NOT MODIFY!
// Run dev/generate_editorcommandset.py to re-generate.
import { EditorCommand } from "types.slint";
export global EditorCommandSet {
in property <EditorCommand> item-new: {
id: "item_new",
icon: @image-url(""),
text: "New...",
status-tip: "Add a new item",
shortcut: "Ctrl+N",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "n",
};
in property <EditorCommand> item-open: {
id: "item_open",
icon: @image-url("../../../font-awesome/svgs/solid/folder-open.svg"),
text: "Open",
status-tip: "Open the selected item(s)",
shortcut: "Return",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.Return,
};
in property <EditorCommand> save: {
id: "save",
icon: @image-url("../../../bootstrap-icons/icons/floppy-fill.svg"),
text: "Save",
status-tip: "Save changes to filesystem",
shortcut: "Ctrl+S",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "s",
};
in property <EditorCommand> select-all: {
id: "select_all",
icon: @image-url("../../../font-awesome/svgs/solid/object-group.svg"),
text: "Select All",
status-tip: "Select all visible objects",
shortcut: "Ctrl+A",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "a",
};
in property <EditorCommand> find: {
id: "find",
icon: @image-url(""),
text: "Find...",
status-tip: "Find or filter objects",
shortcut: "Ctrl+F",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "f",
};
in property <EditorCommand> find-next: {
id: "find_next",
icon: @image-url(""),
text: "Find Next",
status-tip: "Go to the next found object",
shortcut: "F3",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.F3,
};
in property <EditorCommand> find-previous: {
id: "find_previous",
icon: @image-url(""),
text: "Find Previous",
status-tip: "Go to the previous found object",
shortcut: "Shift+F3",
modifiers: { alt: false, control: false, shift: true, meta: false },
key: Key.F3,
};
in property <EditorCommand> file-manager: {
id: "file_manager",
icon: @image-url("../../../font-awesome/svgs/solid/arrow-up-right-from-square.svg"),
text: "Show in File Manager",
status-tip: "Open the directory in the file manager",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> workspace-switch: {
id: "workspace_switch",
icon: @image-url(""),
text: "Switch Workspace...",
status-tip: "Choose another workspace to open",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> workspace-settings: {
id: "workspace_settings",
icon: @image-url("../../../font-awesome/svgs/solid/sliders.svg"),
text: "Workspace Settings...",
status-tip: "Open the workspace settings dialog",
shortcut: "Ctrl+,",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: ",",
};
in property <EditorCommand> workspace-libraries-rescan: {
id: "workspace_libraries_rescan",
icon: @image-url("../../../font-awesome/svgs/solid/arrows-rotate.svg"),
text: "Rescan Libraries",
status-tip: "Scan all workspace libraries to update the cache",
shortcut: "F5",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.F5,
};
in property <EditorCommand> library-manager: {
id: "library_manager",
icon: @image-url("../../../bootstrap-icons/icons/database.svg"),
text: "Libraries",
status-tip: "Manage installed part libraries",
shortcut: "Ctrl+Alt+M",
modifiers: { alt: true, control: true, shift: false, meta: false },
key: "m",
};
in property <EditorCommand> library-element-duplicate: {
id: "library_element_duplicate",
icon: @image-url("../../../font-awesome/svgs/solid/clone.svg"),
text: "Duplicate",
status-tip: "Create a new element by duplicating this one",
shortcut: "Ctrl+D",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "d",
};
in property <EditorCommand> project-new: {
id: "project_new",
icon: @image-url("../../../font-awesome/svgs/solid/file-circle-plus.svg"),
text: "New Project...",
status-tip: "Create a new project",
shortcut: "Ctrl+N",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "n",
};
in property <EditorCommand> project-open: {
id: "project_open",
icon: @image-url("../../../font-awesome/svgs/solid/folder-open.svg"),
text: "Open Project...",
status-tip: "Open an existing project",
shortcut: "Ctrl+O",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "o",
};
in property <EditorCommand> project-setup: {
id: "project_setup",
icon: @image-url("../../../font-awesome/svgs/solid/sliders.svg"),
text: "Project Setup...",
status-tip: "View/modify the project setup",
shortcut: "F6",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.F6,
};
in property <EditorCommand> grid-properties: {
id: "grid_properties",
icon: @image-url("../../../bootstrap-icons/icons/grid-3x3.svg"),
text: "Grid Properties...",
status-tip: "View/modify the grid properties",
shortcut: "F4",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.F4,
};
in property <EditorCommand> board-setup: {
id: "board_setup",
icon: @image-url("../../../font-awesome/svgs/solid/sliders.svg"),
text: "Board Setup...",
status-tip: "View/modify the board setup",
shortcut: "F7",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.F7,
};
in property <EditorCommand> run-quick-check: {
id: "run_quick_check",
icon: @image-url("../../../bootstrap-icons/icons/lightning-fill.svg"),
text: "Run Quick Check",
status-tip: "Run only the most important copper checks from the DRC",
shortcut: "Shift+F8",
modifiers: { alt: false, control: false, shift: true, meta: false },
key: Key.F8,
};
in property <EditorCommand> run-design-rule-check: {
id: "run_design_rule_check",
icon: @image-url("../../../font-awesome/svgs/solid/list-check.svg"),
text: "Run Design Rule Check",
status-tip: "Run the design rule check (DRC)",
shortcut: "F8",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.F8,
};
in property <EditorCommand> project-library-update: {
id: "project_library_update",
icon: @image-url("../../../font-awesome/svgs/solid/arrows-rotate.svg"),
text: "Update Project Library...",
status-tip: "Update the project's library elements from workspace libraries",
shortcut: "Ctrl+F5",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: Key.F5,
};
in property <EditorCommand> sheet-new: {
id: "sheet_new",
icon: @image-url("../../../font-awesome/svgs/solid/file-circle-plus.svg"),
text: "New Sheet...",
status-tip: "Add a new schematic sheet to the project",
shortcut: "Ctrl+N",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "n",
};
in property <EditorCommand> sheet-rename: {
id: "sheet_rename",
icon: @image-url("../../../font-awesome/svgs/solid/pen-to-square.svg"),
text: "Rename Sheet...",
status-tip: "Rename the current schematic sheet",
shortcut: "Ctrl+F2",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: Key.F2,
};
in property <EditorCommand> sheet-remove: {
id: "sheet_remove",
icon: @image-url("../../../font-awesome/svgs/solid/trash-can.svg"),
text: "Remove Sheet",
status-tip: "Remove the current schematic sheet from the project",
shortcut: "Ctrl+Delete",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: Key.Delete,
};
in property <EditorCommand> board-new: {
id: "board_new",
icon: @image-url("../../../font-awesome/svgs/solid/file-circle-plus.svg"),
text: "New Board...",
status-tip: "Add a new board to the project",
shortcut: "Ctrl+N",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "n",
};
in property <EditorCommand> board-copy: {
id: "board_copy",
icon: @image-url("../../../font-awesome/svgs/solid/clone.svg"),
text: "Copy Board...",
status-tip: "Add a copy of the current board to the project",
shortcut: "Ctrl+D",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "d",
};
in property <EditorCommand> board-remove: {
id: "board_remove",
icon: @image-url("../../../font-awesome/svgs/solid/trash-can.svg"),
text: "Remove Board",
status-tip: "Remove the current board from the project",
shortcut: "Ctrl+Delete",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: Key.Delete,
};
in property <EditorCommand> plane-show-all: {
id: "plane_show_all",
icon: @image-url("../../../font-awesome/svgs/solid/eye.svg"),
text: "Show All Planes",
status-tip: "Make the filled areas of all planes visible",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> plane-hide-all: {
id: "plane_hide_all",
icon: @image-url("../../../font-awesome/svgs/solid/eye-slash.svg"),
text: "Hide All Planes",
status-tip: "Make the filled areas of all planes invisible",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> plane-rebuild-all: {
id: "plane_rebuild_all",
icon: @image-url("../../../font-awesome/svgs/solid/arrows-rotate.svg"),
text: "Rebuild All Planes",
status-tip: "Re-calculate the filled areas of all planes",
shortcut: "Ctrl+Shift+R",
modifiers: { alt: false, control: true, shift: true, meta: false },
key: "r",
};
in property <EditorCommand> input-browse: {
id: "input_browse",
icon: @image-url(""),
text: "Browse...",
status-tip: "Open file or directory browser",
shortcut: "Ctrl+B",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "b",
};
in property <EditorCommand> input-unit-change: {
id: "input_unit_change",
icon: @image-url("../../../font-awesome/svgs/solid/ruler.svg"),
text: "Change Unit...",
status-tip: "Change the measurement unit of the text input",
shortcut: "Ctrl+M",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "m",
};
in property <EditorCommand> input-remove: {
id: "input_remove",
icon: @image-url(""),
text: "Remove",
status-tip: "Remove this item",
shortcut: "Ctrl+Delete",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: Key.Delete,
};
in property <EditorCommand> input-accept-add: {
id: "input_accept_add",
icon: @image-url(""),
text: "Add",
status-tip: "Add this item",
shortcut: "Return",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.Return,
};
in property <EditorCommand> add-example-projects: {
id: "add_example_projects",
icon: @image-url(""),
text: "Add Example Projects...",
status-tip: "Add some example projects to the workspace",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> import-dxf: {
id: "import_dxf",
icon: @image-url(""),
text: "Import DXF...",
status-tip: "Import a 2D mechanical drawing",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> import-eagle-library: {
id: "import_eagle_library",
icon: @image-url(""),
text: "Import EAGLE Library...",
status-tip: "Import library elements from an EAGLE *.lbr file",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> import-eagle-project: {
id: "import_eagle_project",
icon: @image-url(""),
text: "Import EAGLE Project...",
status-tip: "Import schematic/board from EAGLE *.sch/*.brd files",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> import-kicad-library: {
id: "import_kicad_library",
icon: @image-url(""),
text: "Import KiCad Library...",
status-tip: "Import symbols and footprints from KiCad libraries",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> import-specctra-ses: {
id: "import_specctra_ses",
icon: @image-url(""),
text: "Import Specctra SES...",
status-tip: "Import a Specctra session, e.g. from external autorouters",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> export-lppz: {
id: "export_lppz",
icon: @image-url("../../../font-awesome/svgs/solid/file-zipper.svg"),
text: "Export *.lppz Archive...",
status-tip: "Export the project as a self-contained *.lppz archive",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> export-image: {
id: "export_image",
icon: @image-url("../../../bootstrap-icons/icons/image.svg"),
text: "Export Image...",
status-tip: "Export graphics as a pixmap",
shortcut: "Ctrl+Shift+I",
modifiers: { alt: false, control: true, shift: true, meta: false },
key: "i",
};
in property <EditorCommand> export-pdf: {
id: "export_pdf",
icon: @image-url("../../../font-awesome/svgs/solid/file-pdf.svg"),
text: "Export PDF...",
status-tip: "Export graphics as a PDF",
shortcut: "Ctrl+Shift+P",
modifiers: { alt: false, control: true, shift: true, meta: false },
key: "p",
};
in property <EditorCommand> export-specctra-dsn: {
id: "export_specctra_dsn",
icon: @image-url(""),
text: "Export Specctra DSN...",
status-tip: "Export PCB to Specctra format for external autorouters etc.",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> export-step: {
id: "export_step",
icon: @image-url("../../../font-awesome/svgs/solid/cubes.svg"),
text: "Export STEP Model...",
status-tip: "Export PCB as a STEP file for loading it into MCAD software",
shortcut: "Ctrl+Shift+T",
modifiers: { alt: false, control: true, shift: true, meta: false },
key: "t",
};
in property <EditorCommand> print: {
id: "print",
icon: @image-url("../../../bootstrap-icons/icons/printer-fill.svg"),
text: "Print...",
status-tip: "Send graphics to a printer",
shortcut: "Ctrl+P",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "p",
};
in property <EditorCommand> bill-of-materials: {
id: "bill_of_materials",
icon: @image-url("../../../font-awesome/svgs/solid/file-csv.svg"),
text: "Bill Of Materials...",
status-tip: "Open the project's bill of materials (BOM) to see part availability, prices etc.",
shortcut: "F9",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.F9,
};
in property <EditorCommand> generate-fabrication-data: {
id: "generate_fabrication_data",
icon: @image-url("../../../font-awesome/svgs/solid/industry.svg"),
text: "Generate Fabrication Data...",
status-tip: "Generate Gerber/Excellon files for PCB fabrication",
shortcut: "F10",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.F10,
};
in property <EditorCommand> generate-pick-place: {
id: "generate_pick_place",
icon: @image-url(""),
text: "Generate Pick&Place Files...",
status-tip: "Generate pick&place files for automated PCB assembly",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> generate-d356-netlist: {
id: "generate_d356_netlist",
icon: @image-url(""),
text: "Generate IPC-D-356A Netlist...",
status-tip: "Generate netlist file for automated PCB testing",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> output-jobs: {
id: "output_jobs",
icon: @image-url("../../../font-awesome/svgs/solid/play.svg"),
text: "Output Jobs...",
status-tip: "Modify or run output jobs",
shortcut: "F11",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.F11,
};
in property <EditorCommand> order-pcb: {
id: "order_pcb",
icon: @image-url("../../../font-awesome/svgs/solid/cart-shopping.svg"),
text: "Order PCB",
status-tip: "Start ordering the PCB online",
shortcut: "F12",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.F12,
};
in property <EditorCommand> undo: {
id: "undo",
icon: @image-url("../../../font-awesome/svgs/solid/rotate-left.svg"),
text: "Undo",
status-tip: "Revert the last modification",
shortcut: "Ctrl+Z",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "z",
};
in property <EditorCommand> redo: {
id: "redo",
icon: @image-url("../../../font-awesome/svgs/solid/rotate-right.svg"),
text: "Redo",
status-tip: "Re-apply the last reverted modification",
shortcut: "Ctrl+Y",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "y",
};
in property <EditorCommand> clipboard-cut: {
id: "clipboard_cut",
icon: @image-url(""),
text: "Cut",
status-tip: "Cut the selected object(s) to clipboard",
shortcut: "Ctrl+X",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "x",
};
in property <EditorCommand> clipboard-copy: {
id: "clipboard_copy",
icon: @image-url(""),
text: "Copy",
status-tip: "Copy the selected object(s) to clipboard",
shortcut: "Ctrl+C",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "c",
};
in property <EditorCommand> clipboard-paste: {
id: "clipboard_paste",
icon: @image-url(""),
text: "Paste",
status-tip: "Paste object(s) from the clipboard",
shortcut: "Ctrl+V",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "v",
};
in property <EditorCommand> move-left: {
id: "move_left",
icon: @image-url(""),
text: "Move Left",
status-tip: "Move the selected object(s) to the left",
shortcut: "Left",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.LeftArrow,
};
in property <EditorCommand> move-right: {
id: "move_right",
icon: @image-url(""),
text: "Move Right",
status-tip: "Move the selected object(s) to the right",
shortcut: "Right",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.RightArrow,
};
in property <EditorCommand> move-up: {
id: "move_up",
icon: @image-url(""),
text: "Move Up",
status-tip: "Move the selected object(s) up",
shortcut: "Up",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.UpArrow,
};
in property <EditorCommand> move-down: {
id: "move_down",
icon: @image-url(""),
text: "Move Down",
status-tip: "Move the selected object(s) down",
shortcut: "Down",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.DownArrow,
};
in property <EditorCommand> rotate-ccw: {
id: "rotate_ccw",
icon: @image-url(""),
text: "Rotate Counterclockwise",
status-tip: "Rotate the selected object(s) counterclockwise",
shortcut: "R",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "r",
};
in property <EditorCommand> rotate-cw: {
id: "rotate_cw",
icon: @image-url(""),
text: "Rotate Clockwise",
status-tip: "Rotate the selected object(s) clockwise",
shortcut: "Shift+R",
modifiers: { alt: false, control: false, shift: true, meta: false },
key: "R",
};
in property <EditorCommand> mirror-horizontal: {
id: "mirror_horizontal",
icon: @image-url(""),
text: "Mirror Horizontally",
status-tip: "Mirror the selected object(s) horizontally",
shortcut: "M",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "m",
};
in property <EditorCommand> mirror-vertical: {
id: "mirror_vertical",
icon: @image-url(""),
text: "Mirror Vertically",
status-tip: "Mirror the selected object(s) vertically",
shortcut: "Shift+M",
modifiers: { alt: false, control: false, shift: true, meta: false },
key: "M",
};
in property <EditorCommand> flip-horizontal: {
id: "flip_horizontal",
icon: @image-url("../../../../img/arrow-right-left-across-line.svg"),
text: "Flip Horizontally",
status-tip: "Flip the selected object(s) horizontally to the other board side",
shortcut: "F",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "f",
};
in property <EditorCommand> flip-vertical: {
id: "flip_vertical",
icon: @image-url("../../../font-awesome/svgs/solid/arrow-down-up-across-line.svg"),
text: "Flip Vertically",
status-tip: "Flip the selected object(s) vertically to the other board side",
shortcut: "Shift+F",
modifiers: { alt: false, control: false, shift: true, meta: false },
key: "F",
};
in property <EditorCommand> move-align: {
id: "move_align",
icon: @image-url(""),
text: "Move/Align Objects",
status-tip: "Move and/or align the selected object(s) vertically or horizontally",
shortcut: "A",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "a",
};
in property <EditorCommand> snap-to-grid: {
id: "snap_to_grid",
icon: @image-url("../../../../img/grid-dots.svg"),
text: "Snap to Grid",
status-tip: "Move the selected object(s) to snap the grid",
shortcut: "S",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "s",
};
in property <EditorCommand> lock: {
id: "lock",
icon: @image-url("../../../font-awesome/svgs/solid/lock.svg"),
text: "Lock Placement",
status-tip: "Lock the placement of the selected object(s)",
shortcut: "Ctrl+L",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "l",
};
in property <EditorCommand> unlock: {
id: "unlock",
icon: @image-url("../../../font-awesome/svgs/solid/lock-open.svg"),
text: "Unlock Placement",
status-tip: "Unlock the placement of the selected object(s)",
shortcut: "Ctrl+U",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "u",
};
in property <EditorCommand> line-width-set: {
id: "line_width_set",
icon: @image-url("../../../font-awesome/svgs/solid/pen-to-square.svg"),
text: "Set Line Width...",
status-tip: "Change the line/trace/stroke width of the selected object(s)",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> device-reset-text-all: {
id: "device_reset_text_all",
icon: @image-url("../../../bootstrap-icons/icons/bootstrap-reboot.svg"),
text: "Reset All Texts",
status-tip: "Reset all texts of the footprint to their initial state",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> properties: {
id: "properties",
icon: @image-url(""),
text: "Properties...",
status-tip: "View/modify the object properties",
shortcut: "E",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "e",
};
in property <EditorCommand> rename: {
id: "rename",
icon: @image-url("../../../font-awesome/svgs/solid/pen-to-square.svg"),
text: "Rename",
status-tip: "Rename the selected object",
shortcut: "F2",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.F2,
};
in property <EditorCommand> remove: {
id: "remove",
icon: @image-url(""),
text: "Remove",
status-tip: "Delete the selected object(s)",
shortcut: "Delete",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.Delete,
};
in property <EditorCommand> zoom-fit-content: {
id: "zoom_fit_content",
icon: @image-url("../../../font-awesome/svgs/solid/expand.svg"),
text: "Zoom to Fit Contents",
status-tip: "Set the zoom level to fit the whole content",
shortcut: "Ctrl+Home",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: Key.Home,
};
in property <EditorCommand> zoom-in: {
id: "zoom_in",
icon: @image-url("../../../bootstrap-icons/icons/zoom-in.svg"),
text: "Zoom In",
status-tip: "Increase the zoom level",
shortcut: "Ctrl++",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "+",
};
in property <EditorCommand> zoom-out: {
id: "zoom_out",
icon: @image-url("../../../bootstrap-icons/icons/zoom-out.svg"),
text: "Zoom Out",
status-tip: "Decrease the zoom level",
shortcut: "Ctrl+-",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "-",
};
in property <EditorCommand> flip-view: {
id: "flip_view",
icon: @image-url("../../../bootstrap-icons/icons/arrow-repeat.svg"),
text: "Flip View",
status-tip: "Switch between top view and bottom view",
shortcut: "Ctrl+2",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "2",
};
in property <EditorCommand> grid-increase: {
id: "grid_increase",
icon: @image-url("../../../font-awesome/svgs/solid/caret-up.svg"),
text: "Increase Grid Interval",
status-tip: "Increase the grid interval",
shortcut: "Ctrl+*",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "*",
};
in property <EditorCommand> grid-decrease: {
id: "grid_decrease",
icon: @image-url("../../../font-awesome/svgs/solid/caret-down.svg"),
text: "Decrease Grid Interval",
status-tip: "Decrease the grid interval",
shortcut: "Ctrl+/",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "/",
};
in property <EditorCommand> show-pin-numbers: {
id: "show_pin_numbers",
icon: @image-url("../../../bootstrap-icons/icons/123.svg"),
text: "Show Pin Numbers",
status-tip: "Show or hide symbol pin numbers",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> ignore-locks: {
id: "ignore_locks",
icon: @image-url("../../../font-awesome/svgs/solid/lock-open.svg"),
text: "Ignore Placement Locks",
status-tip: "Allow dragging locked items",
shortcut: "Ctrl+Shift+L",
modifiers: { alt: false, control: true, shift: true, meta: false },
key: "l",
};
in property <EditorCommand> toggle-background-image: {
id: "toggle_background_image",
icon: @image-url("../../../bootstrap-icons/icons/image.svg"),
text: "Set/Unset Background Image...",
status-tip: "Use a datasheet drawing as the background for verification",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> toggle-3d: {
id: "toggle_3d",
icon: @image-url("../../../bootstrap-icons/icons/badge-3d.svg"),
text: "Toggle 2D/3D Mode",
status-tip: "Switch between 2D and 3D viewer mode",
shortcut: "Ctrl+3",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "3",
};
in property <EditorCommand> tool-select: {
id: "tool_select",
icon: @image-url("../../../font-awesome/svgs/solid/arrow-pointer.svg"),
text: "Select",
status-tip: "Select & modify existing objects",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> tool-line: {
id: "tool_line",
icon: @image-url(""),
text: "Draw Line",
status-tip: "Draw graphical lines",
shortcut: "L",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "l",
};
in property <EditorCommand> tool-rect: {
id: "tool_rect",
icon: @image-url("../../../font-awesome/svgs/solid/vector-square.svg"),
text: "Draw Rectangle",
status-tip: "Draw graphical rectangles",
shortcut: "G",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "g",
};
in property <EditorCommand> tool-polygon: {
id: "tool_polygon",
icon: @image-url("../../../font-awesome/svgs/solid/draw-polygon.svg"),
text: "Draw Polygon",
status-tip: "Draw graphical polygons",
shortcut: "P",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "p",
};
in property <EditorCommand> tool-circle: {
id: "tool_circle",
icon: @image-url("../../../bootstrap-icons/icons/circle.svg"),
text: "Draw Circle",
status-tip: "Draw graphical circles",
shortcut: "C",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "c",
};
in property <EditorCommand> tool-arc: {
id: "tool_arc",
icon: @image-url("../../../font-awesome/svgs/solid/circle-notch.svg"),
text: "Draw Arc",
status-tip: "Draw graphical arcs",
shortcut: "Shift+C",
modifiers: { alt: false, control: false, shift: true, meta: false },
key: "C",
};
in property <EditorCommand> tool-text: {
id: "tool_text",
icon: @image-url("../../../font-awesome/svgs/solid/font.svg"),
text: "Add Text",
status-tip: "Add graphical text objects",
shortcut: "T",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "t",
};
in property <EditorCommand> tool-name: {
id: "tool_name",
icon: @image-url(""),
text: "Add Name",
status-tip: "Add graphical text objects for '{{NAME}}'",
shortcut: "N",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "n",
};
in property <EditorCommand> tool-value: {
id: "tool_value",
icon: @image-url(""),
text: "Add Value",
status-tip: "Add graphical text objects for '{{VALUE}}'",
shortcut: "V",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "v",
};
in property <EditorCommand> tool-image: {
id: "tool_image",
icon: @image-url("../../../bootstrap-icons/icons/image.svg"),
text: "Add Image",
status-tip: "Add graphical image objects (e.g. a logo)",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> tool-pin: {
id: "tool_pin",
icon: @image-url(""),
text: "Add Pin",
status-tip: "Add symbol pins (electrical connections for schematics)",
shortcut: "I",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "i",
};
in property <EditorCommand> tool-pad-tht: {
id: "tool_pad_tht",
icon: @image-url(""),
text: "Add THT Pad",
status-tip: "Add plated through-hole copper pads",
shortcut: "H",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "h",
};
in property <EditorCommand> tool-pad-smt: {
id: "tool_pad_smt",
icon: @image-url(""),
text: "Add SMT Pad",
status-tip: "Add surface mounted (single layer) copper pads",
shortcut: "D",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "d",
};
in property <EditorCommand> tool-pad-thermal: {
id: "tool_pad_thermal",
icon: @image-url(""),
text: "Add Thermal Pad",
status-tip: "Add special SMT pads used as heat sink",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> tool-pad-bga: {
id: "tool_pad_bga",
icon: @image-url(""),
text: "Add BGA Pad",
status-tip: "Add special SMT pads used for ball grid arrays",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> tool-pad-edge-connector: {
id: "tool_pad_edge_connector",
icon: @image-url(""),
text: "Add Edge Connector Pad",
status-tip: "Add special SMT pads used as edge connector",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> tool-pad-test-point: {
id: "tool_pad_test_point",
icon: @image-url(""),
text: "Add Test Pad",
status-tip: "Add special SMT pads used as test points",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> tool-pad-local-fiducial: {
id: "tool_pad_local_fiducial",
icon: @image-url(""),
text: "Add Local Fiducial Pad",
status-tip: "Add special SMT pads used as local fiducials",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> tool-pad-global-fiducial: {
id: "tool_pad_global_fiducial",
icon: @image-url(""),
text: "Add Global Fiducial Pad",
status-tip: "Add special SMT pads used as global fiducials",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> tool-zone: {
id: "tool_zone",
icon: @image-url("../../../bootstrap-icons/icons/sign-stop.svg"),
text: "Draw Keepout Zone",
status-tip: "Draw keep-out zones",
shortcut: "Z",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "z",
};
in property <EditorCommand> tool-hole: {
id: "tool_hole",
icon: @image-url("../../../font-awesome/svgs/solid/bore-hole.svg"),
text: "Add Hole",
status-tip: "Add non-plated holes (NPTH drills)",
shortcut: "O",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "o",
};
in property <EditorCommand> tool-wire: {
id: "tool_wire",
icon: @image-url(""),
text: "Draw Wire",
status-tip: "Draw wires to create electrical connections between symbol pins",
shortcut: "W",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "w",
};
in property <EditorCommand> tool-bus: {
id: "tool_bus",
icon: @image-url(""),
text: "Draw Bus",
status-tip: "Draw buses to route several related nets with a single wire",
shortcut: "B",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "b",
};
in property <EditorCommand> tool-label: {
id: "tool_label",
icon: @image-url("../../../font-awesome/svgs/solid/tag.svg"),
text: "Add Label to Net or Bus",
status-tip: "Add labels to explicitly specify the net or bus of wires",
shortcut: "N",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "n",
};
in property <EditorCommand> tool-component: {
id: "tool_component",
icon: @image-url("../../../font-awesome/svgs/solid/microchip.svg"),
text: "Add Component...",
status-tip: "Insert components from the workspace libraries",
shortcut: "A",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "a",
};
in property <EditorCommand> tool-trace: {
id: "tool_trace",
icon: @image-url(""),
text: "Draw Trace",
status-tip: "Draw copper traces to interconnect devices",
shortcut: "W",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "w",
};
in property <EditorCommand> tool-via: {
id: "tool_via",
icon: @image-url("../../../bootstrap-icons/icons/record-circle-fill.svg"),
text: "Add Via",
status-tip: "Add plated through-hole vias",
shortcut: "V",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "v",
};
in property <EditorCommand> tool-plane: {
id: "tool_plane",
icon: @image-url("../../../bootstrap-icons/icons/paint-bucket.svg"),
text: "Draw Plane",
status-tip: "Draw auto-filled copper areas to interconnect pads and vias",
shortcut: "N",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "n",
};
in property <EditorCommand> tool-generate-outline: {
id: "tool_generate_outline",
icon: @image-url("../../../font-awesome/svgs/solid/wand-magic-sparkles.svg"),
text: "Generate Outline",
status-tip: "Automatically generate the outline polygon",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> tool-generate-courtyard: {
id: "tool_generate_courtyard",
icon: @image-url("../../../font-awesome/svgs/solid/wand-magic-sparkles.svg"),
text: "Generate Courtyard...",
status-tip: "Automatically generate the courtyard polygon",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> tool-renumber-pads: {
id: "tool_renumber_pads",
icon: @image-url("../../../font-awesome/svgs/solid/wand-magic-sparkles.svg"),
text: "Re-Number Pads...",
status-tip: "Helper tool to interactively change pad numbers",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> tool-measure: {
id: "tool_measure",
icon: @image-url("../../../font-awesome/svgs/solid/ruler.svg"),
text: "Measure Distance",
status-tip: "Measure the distance between two points",
shortcut: "Ctrl+M",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "m",
};
in property <EditorCommand> command-toolbar-focus: {
id: "command_toolbar_focus",
icon: @image-url(""),
text: "Go To Command Toolbar",
status-tip: "Move the focus into the command toolbar",
shortcut: "Tab",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.Tab,
};
in property <EditorCommand> abort: {
id: "abort",
icon: @image-url(""),
text: "Abort Command",
status-tip: "Abort the currently active command",
shortcut: "Escape",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.Escape,
};
in property <EditorCommand> layer-up: {
id: "layer_up",
icon: @image-url(""),
text: "Layer Up",
status-tip: "Switch to the next higher layer (bottom->top)",
shortcut: "PageUp",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.PageUp,
};
in property <EditorCommand> layer-down: {
id: "layer_down",
icon: @image-url(""),
text: "Layer Down",
status-tip: "Switch to the next lower layer (top->bottom)",
shortcut: "PageDown",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.PageDown,
};
in property <EditorCommand> line-width-increase: {
id: "line_width_increase",
icon: @image-url("../../../font-awesome/svgs/solid/caret-up.svg"),
text: "Increase Line Width",
status-tip: "Increase the line/trace/stroke/pad width",
shortcut: "+",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "+",
};
in property <EditorCommand> line-width-decrease: {
id: "line_width_decrease",
icon: @image-url("../../../font-awesome/svgs/solid/caret-down.svg"),
text: "Decrease Line Width",
status-tip: "Decrease the line/trace/stroke/pad width",
shortcut: "-",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "-",
};
in property <EditorCommand> size-increase: {
id: "size_increase",
icon: @image-url(""),
text: "Increase Size",
status-tip: "Increase the via/pad/pin/text size",
shortcut: "*",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "*",
};
in property <EditorCommand> size-decrease: {
id: "size_decrease",
icon: @image-url(""),
text: "Decrease Size",
status-tip: "Decrease the via/pad/pin/text size",
shortcut: "/",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "/",
};
in property <EditorCommand> drill-increase: {
id: "drill_increase",
icon: @image-url(""),
text: "Increase Drill",
status-tip: "Increase the via/pad/hole drill diameter",
shortcut: "Home",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.Home,
};
in property <EditorCommand> drill-decrease: {
id: "drill_decrease",
icon: @image-url(""),
text: "Decrease Drill",
status-tip: "Decrease the via/pad/hole drill diameter",
shortcut: "End",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.End,
};
in property <EditorCommand> width-auto-toggle: {
id: "width_auto_toggle",
icon: @image-url(""),
text: "Toggle Auto-Width",
status-tip: "Toggle the auto-width property state",
shortcut: "Period",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: ".",
};
in property <EditorCommand> fill-toggle: {
id: "fill_toggle",
icon: @image-url(""),
text: "Toggle Fill",
status-tip: "Toggle the fill property state",
shortcut: "F",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "f",
};
in property <EditorCommand> grab-area-toggle: {
id: "grab_area_toggle",
icon: @image-url(""),
text: "Toggle Grab Area",
status-tip: "Toggle the grab area property state",
shortcut: ",",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: ",",
};
in property <EditorCommand> align-horizontal-left: {
id: "align_horizontal_left",
icon: @image-url("../../../font-awesome/svgs/solid/align-left.svg"),
text: "Align Left",
status-tip: "Horizontal alignment: Left",
shortcut: "1",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "1",
};
in property <EditorCommand> align-horizontal-center: {
id: "align_horizontal_center",
icon: @image-url("../../../font-awesome/svgs/solid/align-center.svg"),
text: "Align Center",
status-tip: "Horizontal alignment: Center",
shortcut: "2",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "2",
};
in property <EditorCommand> align-horizontal-right: {
id: "align_horizontal_right",
icon: @image-url("../../../font-awesome/svgs/solid/align-right.svg"),
text: "Align Right",
status-tip: "Horizontal alignment: Right",
shortcut: "3",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "3",
};
in property <EditorCommand> align-vertical-bottom: {
id: "align_vertical_bottom",
icon: @image-url("../../../bootstrap-icons/icons/align-bottom.svg"),
text: "Align Bottom",
status-tip: "Vertical alignment: Bottom",
shortcut: "4",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "4",
};
in property <EditorCommand> align-vertical-center: {
id: "align_vertical_center",
icon: @image-url("../../../bootstrap-icons/icons/align-center.svg"),
text: "Align Center",
status-tip: "Vertical alignment: Center",
shortcut: "5",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "5",
};
in property <EditorCommand> align-vertical-top: {
id: "align_vertical_top",
icon: @image-url("../../../bootstrap-icons/icons/align-top.svg"),
text: "Align Top",
status-tip: "Vertical alignment: Top",
shortcut: "6",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "6",
};
in property <EditorCommand> wire-mode-h-v: {
id: "wire_mode_h_v",
icon: @image-url(""),
text: "Horizontal - Vertical",
status-tip: "Wire mode: First segment horizontal, second segment vertical",
shortcut: "1",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "1",
};
in property <EditorCommand> wire-mode-v-h: {
id: "wire_mode_v_h",
icon: @image-url(""),
text: "Vertical - Horizontal",
status-tip: "Wire mode: First segment vertical, second segment horizontal",
shortcut: "2",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "2",
};
in property <EditorCommand> wire-mode-90-45: {
id: "wire_mode_90_45",
icon: @image-url(""),
text: "90° - 45°",
status-tip: "Wire mode: First segment 90°, second segment 45°",
shortcut: "3",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "3",
};
in property <EditorCommand> wire-mode-45-90: {
id: "wire_mode_45_90",
icon: @image-url(""),
text: "45° - 90°",
status-tip: "Wire mode: First segment 45°, second segment 90°",
shortcut: "4",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "4",
};
in property <EditorCommand> wire-mode-straight: {
id: "wire_mode_straight",
icon: @image-url(""),
text: "Straight",
status-tip: "Wire mode: Straight line",
shortcut: "5",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "5",
};
in property <EditorCommand> shape-round: {
id: "shape_round",
icon: @image-url("../../../font-awesome/svgs/solid/circle.svg"),
text: "Round",
status-tip: "Shape: Round",
shortcut: "1",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "1",
};
in property <EditorCommand> shape-rounded-rect: {
id: "shape_rounded_rect",
icon: @image-url("../../../font-awesome/svgs/solid/square.svg"),
text: "Rounded Rectangle",
status-tip: "Shape: Rounded Rectangle",
shortcut: "2",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "2",
};
in property <EditorCommand> shape-rect: {
id: "shape_rect",
icon: @image-url("../../../font-awesome/svgs/solid/square-full.svg"),
text: "Rectangle",
status-tip: "Shape: Rectangle",
shortcut: "3",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "3",
};
in property <EditorCommand> shape-octagon: {
id: "shape_octagon",
icon: @image-url("../../../bootstrap-icons/icons/octagon-fill.svg"),
text: "Octagon",
status-tip: "Shape: Octagon",
shortcut: "4",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "4",
};
in property <EditorCommand> component-resistor: {
id: "component_resistor",
icon: @image-url("../../../../img/resistor-eu.svg"),
text: "Resistor",
status-tip: "Add standard component: Resistor",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> component-inductor: {
id: "component_inductor",
icon: @image-url("../../../../img/inductor-eu.svg"),
text: "Inductor",
status-tip: "Add standard component: Inductor",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> component-capacitor-bipolar: {
id: "component_capacitor_bipolar",
icon: @image-url("../../../../img/capacitor-bipolar-eu.svg"),
text: "Bipolar Capacitor",
status-tip: "Add standard component: Bipolar capacitor",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> component-capacitor-unipolar: {
id: "component_capacitor_unipolar",
icon: @image-url("../../../../img/capacitor-unipolar-eu.svg"),
text: "Unipolar Capacitor",
status-tip: "Add standard component: Unipolar capacitor",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> component-gnd: {
id: "component_gnd",
icon: @image-url("../../../../img/gnd.svg"),
text: "GND Supply",
status-tip: "Add standard component: GND supply",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> component-vcc: {
id: "component_vcc",
icon: @image-url("../../../../img/vcc.svg"),
text: "VCC Supply",
status-tip: "Add standard component: VCC supply",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> dock-erc: {
id: "dock_erc",
icon: @image-url("../../../font-awesome/svgs/solid/list-check.svg"),
text: "Electrical Rule Check (ERC)",
status-tip: "Go to the ERC messages dock",
shortcut: "Ctrl+Alt+E",
modifiers: { alt: true, control: true, shift: false, meta: false },
key: "e",
};
in property <EditorCommand> dock-drc: {
id: "dock_drc",
icon: @image-url("../../../font-awesome/svgs/solid/list-check.svg"),
text: "Design Rule Check (DRC)",
status-tip: "Go to the DRC messages dock",
shortcut: "Ctrl+Alt+D",
modifiers: { alt: true, control: true, shift: false, meta: false },
key: "d",
};
in property <EditorCommand> dock-layers: {
id: "dock_layers",
icon: @image-url("../../../bootstrap-icons/icons/layers.svg"),
text: "Layers",
status-tip: "Go to the layers dock",
shortcut: "Ctrl+Alt+L",
modifiers: { alt: true, control: true, shift: false, meta: false },
key: "l",
};
in property <EditorCommand> dock-place-devices: {
id: "dock_place_devices",
icon: @image-url("../../../bootstrap-icons/icons/cpu.svg"),
text: "Place Devices",
status-tip: "Go to the dock for placing devices",
shortcut: "Ctrl+Alt+P",
modifiers: { alt: true, control: true, shift: false, meta: false },
key: "p",
};
in property <EditorCommand> window-new: {
id: "window_new",
icon: @image-url("../../../bootstrap-icons/icons/window-plus.svg"),
text: "New Window",
status-tip: "Open a new window",
shortcut: "Ctrl+Shift+N",
modifiers: { alt: false, control: true, shift: true, meta: false },
key: "n",
};
in property <EditorCommand> window-close: {
id: "window_close",
icon: @image-url("../../../bootstrap-icons/icons/window-x.svg"),
text: "Close Window",
status-tip: "Close this window",
shortcut: "Alt+F4",
modifiers: { alt: true, control: false, shift: false, meta: false },
key: Key.F4,
};
in property <EditorCommand> project-close: {
id: "project_close",
icon: @image-url("../../../font-awesome/svgs/solid/xmark.svg"),
text: "Close Project",
status-tip: "Close the currently opened project",
shortcut: "Ctrl+F4",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: Key.F4,
};
in property <EditorCommand> application-quit: {
id: "application_quit",
icon: @image-url("../../../bootstrap-icons/icons/box-arrow-left.svg"),
text: "Quit",
status-tip: "Close the whole application",
shortcut: "Ctrl+Q",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "q",
};
in property <EditorCommand> about-librepcb: {
id: "about_librepcb",
icon: @image-url("../../../bootstrap-icons/icons/question-circle.svg"),
text: "About LibrePCB",
status-tip: "Show information about the application",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> about-qt: {
id: "about_qt",
icon: @image-url(""),
text: "About Qt...",
status-tip: "Show information about Qt",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> website: {
id: "website",
icon: @image-url("../../../font-awesome/svgs/solid/globe.svg"),
text: "LibrePCB Website",
status-tip: "Open the LibrePCB website in the web browser",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> documentation-online: {
id: "documentation_online",
icon: @image-url("../../../font-awesome/svgs/solid/book.svg"),
text: "User Manual & Tutorials",
status-tip: "Open the online user manual in the web browser",
shortcut: "F1",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: Key.F1,
};
in property <EditorCommand> support: {
id: "support",
icon: @image-url("../../../font-awesome/svgs/regular/comments.svg"),
text: "Give Feedback & Get Support",
status-tip: "Open the support page in the web browser",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> donate: {
id: "donate",
icon: @image-url("../../../font-awesome/svgs/solid/heart.svg"),
text: "Support the LibrePCB Project",
status-tip: "Open the donation page in the web browser",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> keyboard-shortcuts-reference: {
id: "keyboard_shortcuts_reference",
icon: @image-url("../../../font-awesome/svgs/solid/keyboard.svg"),
text: "Keyboard Shortcuts Reference",
status-tip: "Open a quick reference about the keyboard shortcuts",
shortcut: "Ctrl+F1",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: Key.F1,
};
in property <EditorCommand> vertex-add: {
id: "vertex_add",
icon: @image-url(""),
text: "Add Vertex",
status-tip: "Insert a new vertex into the selected polygon edge",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> vertex-remove: {
id: "vertex_remove",
icon: @image-url(""),
text: "Remove Vertex",
status-tip: "Remove the selected vertex from the polygon",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> trace-select-whole: {
id: "trace_select_whole",
icon: @image-url("../../../font-awesome/svgs/solid/highlighter.svg"),
text: "Select Whole Trace",
status-tip: "Select the whole trace",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> trace-measure-length: {
id: "trace_measure_length",
icon: @image-url("../../../font-awesome/svgs/solid/ruler.svg"),
text: "Measure Selected Segments Length",
status-tip: "Measure the total length of all selected trace segments",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> trace-remove-whole: {
id: "trace_remove_whole",
icon: @image-url("../../../font-awesome/svgs/solid/trash-can.svg"),
text: "Remove Whole Trace",
status-tip: "Remove the whole trace",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> locked: {
id: "locked",
icon: @image-url("../../../font-awesome/svgs/solid/lock.svg"),
text: "Lock Placement",
status-tip: "Toggle placement lock",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> visible: {
id: "visible",
icon: @image-url("../../../font-awesome/svgs/solid/eye.svg"),
text: "Visible",
status-tip: "Toggle visibility",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> copy-mpn-to-clipboard: {
id: "copy_mpn_to_clipboard",
icon: @image-url("../../../font-awesome/svgs/regular/copy.svg"),
text: "Copy MPN to Clipboard",
status-tip: "Copy this MPN into the clipboard",
shortcut: "Ctrl+C",
modifiers: { alt: false, control: true, shift: false, meta: false },
key: "c",
};
in property <EditorCommand> open-product-website: {
id: "open_product_website",
icon: @image-url("../../../font-awesome/svgs/solid/globe.svg"),
text: "Open Product Website...",
status-tip: "Open product details about this part in the web browser",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
in property <EditorCommand> open-pricing-website: {
id: "open_pricing_website",
icon: @image-url("../../../font-awesome/svgs/solid/cart-shopping.svg"),
text: "Open Pricing Website...",
status-tip: "Open pricing details about this part in the web browser",
shortcut: "",
modifiers: { alt: false, control: false, shift: false, meta: false },
key: "",
};
}