LibrePCB Developers Documentation
EditorCommandSet Class Referencefinal

Collection of all commands across all editors. More...

#include <editorcommandset.h>

+ Collaboration diagram for EditorCommandSet:

Public Member Functions

void updateTranslations () noexcept
 
QList< EditorCommandCategory * > getCategories () noexcept
 
QList< EditorCommand * > getCommands (const EditorCommandCategory *category) noexcept
 

Static Public Member Functions

static EditorCommandSetinstance () noexcept
 

Public Attributes

EditorCommandCategory categoryEditor
 
EditorCommand itemNew
 
EditorCommand itemOpen
 
EditorCommand save
 
EditorCommand saveAll
 
EditorCommand selectAll
 
EditorCommand find
 
EditorCommand findNext
 
EditorCommand findPrevious
 
EditorCommand fileManager
 
EditorCommand controlPanel
 
EditorCommand workspaceSwitch
 
EditorCommand workspaceSettings
 
EditorCommand workspaceLibrariesRescan
 
EditorCommand libraryManager
 
EditorCommand libraryElementNew
 
EditorCommand libraryElementDuplicate
 
EditorCommand projectNew
 
EditorCommand projectOpen
 
EditorCommand projectSave
 
EditorCommand projectSetup
 
EditorCommand gridProperties
 
EditorCommand boardSetup
 
EditorCommand runQuickCheck
 
EditorCommand runDesignRuleCheck
 
EditorCommand projectLibraryUpdate
 
EditorCommand schematicEditor
 
EditorCommand sheetNew
 
EditorCommand sheetRename
 
EditorCommand sheetRemove
 
EditorCommand boardEditor
 
EditorCommand boardNew
 
EditorCommand boardCopy
 
EditorCommand boardRemove
 
EditorCommand planeShowAll
 
EditorCommand planeHideAll
 
EditorCommand planeRebuildAll
 
EditorCommandCategory categoryTextInput
 
EditorCommand inputBrowse
 
EditorCommand inputUnitChange
 
EditorCommand inputRemove
 
EditorCommand inputAcceptAdd
 
EditorCommandCategory categoryImportExport
 
EditorCommand addExampleProjects
 
EditorCommand importDxf
 
EditorCommand importEagleLibrary
 
EditorCommand importEagleProject
 
EditorCommand exportLppz
 
EditorCommand exportImage
 
EditorCommand exportPdf
 
EditorCommand exportStep
 
EditorCommand print
 
EditorCommand generateBom
 
EditorCommand generateFabricationData
 
EditorCommand generatePickPlace
 
EditorCommand generateD356Netlist
 
EditorCommand outputJobs
 
EditorCommand orderPcb
 
EditorCommandCategory categoryModify
 
EditorCommand undo
 
EditorCommand redo
 
EditorCommand clipboardCut
 
EditorCommand clipboardCopy
 
EditorCommand clipboardPaste
 
EditorCommand moveLeft
 
EditorCommand moveRight
 
EditorCommand moveUp
 
EditorCommand moveDown
 
EditorCommand rotateCcw
 
EditorCommand rotateCw
 
EditorCommand mirrorHorizontal
 
EditorCommand mirrorVertical
 
EditorCommand flipHorizontal
 
EditorCommand flipVertical
 
EditorCommand snapToGrid
 
EditorCommand lock
 
EditorCommand unlock
 
EditorCommand setLineWidth
 
EditorCommand deviceResetTextAll
 
EditorCommand properties
 
EditorCommand rename
 
EditorCommand remove
 
EditorCommandCategory categoryView
 
EditorCommand zoomFitContent
 
EditorCommand zoomIn
 
EditorCommand zoomOut
 
EditorCommand gridIncrease
 
EditorCommand gridDecrease
 
EditorCommand showPinNumbers
 
EditorCommand ignoreLocks
 
EditorCommand toggle3d
 
EditorCommandCategory categoryTools
 
EditorCommand toolSelect
 
EditorCommand toolLine
 
EditorCommand toolRect
 
EditorCommand toolPolygon
 
EditorCommand toolCircle
 
EditorCommand toolArc
 
EditorCommand toolText
 
EditorCommand toolName
 
EditorCommand toolValue
 
EditorCommand toolPin
 
EditorCommand toolPadTht
 
EditorCommand toolPadSmt
 
EditorCommand toolPadThermal
 
EditorCommand toolPadBga
 
EditorCommand toolPadEdgeConnector
 
EditorCommand toolPadTest
 
EditorCommand toolPadLocalFiducial
 
EditorCommand toolPadGlobalFiducial
 
EditorCommand toolZone
 
EditorCommand toolHole
 
EditorCommand toolWire
 
EditorCommand toolNetLabel
 
EditorCommand toolComponent
 
EditorCommand toolTrace
 
EditorCommand toolVia
 
EditorCommand toolPlane
 
EditorCommand toolGenerateOutline
 
EditorCommand toolGenerateCourtyard
 
EditorCommand toolMeasure
 
EditorCommandCategory categoryCommands
 
EditorCommand commandToolBarFocus
 
EditorCommand abort
 
EditorCommand layerUp
 
EditorCommand layerDown
 
EditorCommand lineWidthIncrease
 
EditorCommand lineWidthDecrease
 
EditorCommand sizeIncrease
 
EditorCommand sizeDecrease
 
EditorCommand drillIncrease
 
EditorCommand drillDecrease
 
EditorCommand widthAutoToggle
 
EditorCommand fillToggle
 
EditorCommand grabAreaToggle
 
EditorCommand alignHorizontalLeft
 
EditorCommand alignHorizontalCenter
 
EditorCommand alignHorizontalRight
 
EditorCommand alignVerticalBottom
 
EditorCommand alignVerticalCenter
 
EditorCommand alignVerticalTop
 
EditorCommand wireModeHV
 
EditorCommand wireModeVH
 
EditorCommand wireMode9045
 
EditorCommand wireMode4590
 
EditorCommand wireModeStraight
 
EditorCommand shapeRound
 
EditorCommand shapeRoundedRect
 
EditorCommand shapeRect
 
EditorCommand shapeOctagon
 
EditorCommandCategory categoryComponents
 
EditorCommand componentResistor
 
EditorCommand componentInductor
 
EditorCommand componentCapacitorBipolar
 
EditorCommand componentCapacitorUnipolar
 
EditorCommand componentGnd
 
EditorCommand componentVcc
 
EditorCommandCategory categoryDocks
 
EditorCommand dockPages
 
EditorCommand dockErc
 
EditorCommand dockDrc
 
EditorCommand dockLayers
 
EditorCommand dockPlaceDevices
 
EditorCommandCategory categoryWindowManagement
 
EditorCommand pageNext
 
EditorCommand pagePrevious
 
EditorCommand tabClose
 
EditorCommand tabCloseAll
 
EditorCommand windowClose
 
EditorCommand projectClose
 
EditorCommand projectCloseAll
 
EditorCommand applicationQuit
 
EditorCommandCategory categoryHelp
 
EditorCommand aboutLibrePcb
 
EditorCommand aboutQt
 
EditorCommand website
 
EditorCommand documentationOnline
 
EditorCommand keyboardShortcutsReference
 
EditorCommandCategory categoryContextMenu
 
EditorCommand folderNew
 
EditorCommand favoriteAdd
 
EditorCommand favoriteRemove
 
EditorCommand vertexAdd
 
EditorCommand vertexRemove
 
EditorCommand traceSelectWhole
 
EditorCommand traceMeasureLength
 
EditorCommand traceRemoveWhole
 
EditorCommand locked
 
EditorCommand visible
 
EditorCommand copyMpnToClipboard
 
EditorCommand openProductWebsite
 
EditorCommand openPricingWebsite
 
EditorCommand generateContent
 

Private Member Functions

 EditorCommandSet () noexcept
 
 ~EditorCommandSet () noexcept
 

Private Attributes

EditorCommandCategory categoryRoot {"categoryRoot", "", false}
 

Detailed Description

Constructor & Destructor Documentation

◆ EditorCommandSet()

EditorCommandSet ( )
inlineprivatenoexcept

◆ ~EditorCommandSet()

~EditorCommandSet ( )
inlineprivatenoexcept

Member Function Documentation

◆ instance()

static EditorCommandSet & instance ( )
inlinestaticnoexcept
+ Here is the caller graph for this function:

◆ updateTranslations()

void updateTranslations ( )
inlinenoexcept
+ Here is the call graph for this function:

◆ getCategories()

QList< EditorCommandCategory * > getCategories ( )
inlinenoexcept
+ Here is the caller graph for this function:

◆ getCommands()

QList< EditorCommand * > getCommands ( const EditorCommandCategory category)
inlinenoexcept
+ Here is the caller graph for this function:

Member Data Documentation

◆ categoryRoot

EditorCommandCategory categoryRoot {"categoryRoot", "", false}
private

◆ categoryEditor

EditorCommandCategory categoryEditor
Initial value:
{"categoryEditor", QT_TR_NOOP("Editor"),
true, &categoryRoot}
EditorCommandCategory categoryRoot
Definition: editorcommandset.h:53

◆ itemNew

EditorCommand itemNew
Initial value:
{
"item_new",
QT_TR_NOOP("New"),
QT_TR_NOOP("Add a new item"),
":/img/actions/new.png",
{QKeySequence(Qt::CTRL | Qt::Key_N)},
}
EditorCommandCategory categoryEditor
Definition: editorcommandset.h:82

◆ itemOpen

EditorCommand itemOpen
Initial value:
{
"item_open",
QT_TR_NOOP("Open"),
QT_TR_NOOP("Open the selected item(s)"),
":/img/actions/open.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Return)},
}

◆ save

Initial value:
{
"save",
QT_TR_NOOP("Save"),
QT_TR_NOOP("Save changes to filesystem"),
":/img/actions/save.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_S)},
}

◆ saveAll

EditorCommand saveAll
Initial value:
{
"save_all",
QT_TR_NOOP("Save All"),
QT_TR_NOOP("Save all elements to filesystem"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_S)},
}

◆ selectAll

EditorCommand selectAll
Initial value:
{
"select_all",
QT_TR_NOOP("Select All"),
QT_TR_NOOP("Select all visible objects"),
":/img/actions/select_all.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_A)},
}

◆ find

Initial value:
{
"find",
QT_TR_NOOP("Find"),
QT_TR_NOOP("Find or filter objects"),
":/img/actions/search.png",
{QKeySequence(Qt::CTRL | Qt::Key_F)},
}

◆ findNext

EditorCommand findNext
Initial value:
{
"find_next",
QT_TR_NOOP("Find Next"),
QT_TR_NOOP("Go to the next found object"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_F3)},
}

◆ findPrevious

EditorCommand findPrevious
Initial value:
{
"find_previous",
QT_TR_NOOP("Find Previous"),
QT_TR_NOOP("Go to the previous found object"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::SHIFT | Qt::Key_F3)},
}

◆ fileManager

EditorCommand fileManager
Initial value:
{
"file_manager",
QT_TR_NOOP("Show in File Manager"),
QT_TR_NOOP("Open the directory in the file manager"),
":/img/places/folder.png",
EditorCommand::Flags(),
{},
}

◆ controlPanel

EditorCommand controlPanel
Initial value:
{
"control_panel",
QT_TR_NOOP("Control Panel"),
QT_TR_NOOP("Bring the control panel window to front"),
":/img/actions/home.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_Home)},
}

◆ workspaceSwitch

EditorCommand workspaceSwitch
Initial value:
{
"workspace_switch",
QT_TR_NOOP("Switch Workspace"),
QT_TR_NOOP("Choose another workspace to open"),
QString(),
{},
}

◆ workspaceSettings

EditorCommand workspaceSettings
Initial value:
{
"workspace_settings",
QT_TR_NOOP("Workspace Settings"),
QT_TR_NOOP("Open the workspace settings dialog"),
":/img/actions/settings.png",
{QKeySequence(Qt::CTRL | Qt::Key_Comma)},
}

◆ workspaceLibrariesRescan

EditorCommand workspaceLibrariesRescan
Initial value:
{
"workspace_libraries_rescan",
QT_TR_NOOP("Rescan Libraries"),
QT_TR_NOOP("Scan all workspace libraries to update the cache"),
":/img/actions/refresh.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_F5)},
}

◆ libraryManager

EditorCommand libraryManager
Initial value:
{
"library_manager",
QT_TR_NOOP("Library Manager"),
QT_TR_NOOP("Open the library manager window"),
":/img/library/package.png",
{QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_M)},
}

◆ libraryElementNew

EditorCommand libraryElementNew
Initial value:
{
"library_element_new",
QT_TR_NOOP("New Library Element"),
QT_TR_NOOP("Create a new library element"),
":/img/actions/new.png",
{QKeySequence(Qt::CTRL | Qt::Key_N)},
}

◆ libraryElementDuplicate

EditorCommand libraryElementDuplicate
Initial value:
{
"library_element_duplicate",
QT_TR_NOOP("Duplicate"),
QT_TR_NOOP("Create a new element by duplicating this one"),
":/img/actions/clone.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_D)},
}

◆ projectNew

EditorCommand projectNew
Initial value:
{
"project_new",
QT_TR_NOOP("New Project"),
QT_TR_NOOP("Create a new project"),
":/img/actions/new.png",
{QKeySequence(Qt::CTRL | Qt::Key_N)},
}

◆ projectOpen

EditorCommand projectOpen
Initial value:
{
"project_open",
QT_TR_NOOP("Open Project"),
QT_TR_NOOP("Open an existing project"),
":/img/actions/open.png",
{QKeySequence(Qt::CTRL | Qt::Key_O)},
}

◆ projectSave

EditorCommand projectSave
Initial value:
{
"project_save",
QT_TR_NOOP("Save Project"),
QT_TR_NOOP("Save the currently opened project"),
":/img/actions/save.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_S)},
}

◆ projectSetup

EditorCommand projectSetup
Initial value:
{
"project_setup",
QT_TR_NOOP("Project Setup"),
QT_TR_NOOP("View/modify the project setup"),
":/img/actions/settings.png",
{QKeySequence(Qt::Key_F6)},
}

◆ gridProperties

EditorCommand gridProperties
Initial value:
{
"grid_properties",
QT_TR_NOOP("Grid Properties"),
QT_TR_NOOP("View/modify the grid properties"),
":/img/actions/grid.png",
{QKeySequence(Qt::Key_F4)},
}

◆ boardSetup

EditorCommand boardSetup
Initial value:
{
"board_setup",
QT_TR_NOOP("Board Setup"),
QT_TR_NOOP("View/modify the board setup"),
":/img/actions/settings.png",
{QKeySequence(Qt::Key_F7)},
}

◆ runQuickCheck

EditorCommand runQuickCheck
Initial value:
{
"run_quick_check",
QT_TR_NOOP("Run Quick Check"),
QT_TR_NOOP("Run only the most important copper checks from the DRC"),
":/img/actions/quick_check.png",
EditorCommand::Flags(),
{QKeySequence(Qt::SHIFT | Qt::Key_F8)},
}

◆ runDesignRuleCheck

EditorCommand runDesignRuleCheck
Initial value:
{
"run_design_rule_check",
QT_TR_NOOP("Run Design Rule Check"),
QT_TR_NOOP("Run the design rule check (DRC)"),
":/img/actions/drc.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_F8)},
}

◆ projectLibraryUpdate

EditorCommand projectLibraryUpdate
Initial value:
{
"project_library_update",
QT_TR_NOOP("Update Project Library"),
QT_TR_NOOP(
"Update the project's library elements from workspace libraries"),
":/img/actions/refresh.png",
{QKeySequence(Qt::CTRL | Qt::Key_F5)},
}

◆ schematicEditor

EditorCommand schematicEditor
Initial value:
{
"schematic_editor",
QT_TR_NOOP("Schematic Editor"),
QT_TR_NOOP("Bring the schematic editor window to front"),
":/img/actions/schematic.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_S)},
}

◆ sheetNew

EditorCommand sheetNew
Initial value:
{
"sheet_new",
QT_TR_NOOP("New Sheet"),
QT_TR_NOOP("Add a new schematic sheet to the project"),
":/img/actions/new.png",
{QKeySequence(Qt::CTRL | Qt::Key_N)},
}

◆ sheetRename

EditorCommand sheetRename
Initial value:
{
"sheet_rename",
QT_TR_NOOP("Rename Sheet"),
QT_TR_NOOP("Rename the current schematic sheet"),
QString(),
{QKeySequence(Qt::CTRL | Qt::Key_F2)},
}

◆ sheetRemove

EditorCommand sheetRemove
Initial value:
{
"sheet_remove",
QT_TR_NOOP("Remove Sheet"),
QT_TR_NOOP("Remove the current schematic sheet from the project"),
":/img/actions/delete.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_Delete)},
}

◆ boardEditor

EditorCommand boardEditor
Initial value:
{
"board_editor",
QT_TR_NOOP("Board Editor"),
QT_TR_NOOP("Bring the board editor window to front"),
":/img/actions/board_editor.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_B)},
}

◆ boardNew

EditorCommand boardNew
Initial value:
{
"board_new",
QT_TR_NOOP("New Board"),
QT_TR_NOOP("Add a new board to the project"),
":/img/actions/new.png",
{QKeySequence(Qt::CTRL | Qt::Key_N)},
}

◆ boardCopy

EditorCommand boardCopy
Initial value:
{
"board_copy",
QT_TR_NOOP("Copy Board"),
QT_TR_NOOP("Add a copy of the current board to the project"),
":/img/actions/copy.png",
{QKeySequence(Qt::CTRL | Qt::Key_D)},
}

◆ boardRemove

EditorCommand boardRemove
Initial value:
{
"board_remove",
QT_TR_NOOP("Remove Board"),
QT_TR_NOOP("Remove the current board from the project"),
":/img/actions/delete.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_Delete)},
}

◆ planeShowAll

EditorCommand planeShowAll
Initial value:
{
"plane_show_all",
QT_TR_NOOP("Show All Planes"),
QT_TR_NOOP("Make the filled areas of all planes visible"),
":/img/actions/show_planes.png",
EditorCommand::Flags(),
{},
}

◆ planeHideAll

EditorCommand planeHideAll
Initial value:
{
"plane_hide_all",
QT_TR_NOOP("Hide All Planes"),
QT_TR_NOOP("Make the filled areas of all planes invisible"),
":/img/actions/hide_planes.png",
EditorCommand::Flags(),
{},
}

◆ planeRebuildAll

EditorCommand planeRebuildAll
Initial value:
{
"plane_rebuild_all",
QT_TR_NOOP("Rebuild All Planes"),
QT_TR_NOOP("Re-calculate the filled areas of all planes"),
":/img/actions/rebuild_plane.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_R)},
}

◆ categoryTextInput

EditorCommandCategory categoryTextInput
Initial value:
{
"categoryTextInput", QT_TR_NOOP("Text Input"), true, &categoryRoot}

◆ inputBrowse

EditorCommand inputBrowse
Initial value:
{
"input_browse",
QT_TR_NOOP("Browse"),
QT_TR_NOOP("Open file or directory browser"),
":/img/actions/open.png",
{QKeySequence(Qt::CTRL | Qt::Key_B)},
}
EditorCommandCategory categoryTextInput
Definition: editorcommandset.h:410

◆ inputUnitChange

EditorCommand inputUnitChange
Initial value:
{
"input_unit_change",
QT_TR_NOOP("Change Unit"),
QT_TR_NOOP("Change the measurement unit of the text input"),
":/img/actions/ruler.png",
{QKeySequence(Qt::CTRL | Qt::Key_M)},
}

◆ inputRemove

EditorCommand inputRemove
Initial value:
{
"input_remove",
QT_TR_NOOP("Remove"),
QT_TR_NOOP("Remove this item"),
":/img/actions/delete.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_Delete)},
}

◆ inputAcceptAdd

EditorCommand inputAcceptAdd
Initial value:
{
"input_accept_add",
QT_TR_NOOP("Add"),
QT_TR_NOOP("Add this item"),
":/img/actions/plus_2.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Return)},
}

◆ categoryImportExport

EditorCommandCategory categoryImportExport
Initial value:
{
"categoryImportExport", QT_TR_NOOP("Import/Export"), true, &categoryRoot}

◆ addExampleProjects

EditorCommand addExampleProjects
Initial value:
{
"add_example_projects",
QT_TR_NOOP("Add Example Projects"),
QT_TR_NOOP("Add some example projects to the workspace"),
":/img/logo/32x32.png",
{},
nullptr,
}

◆ importDxf

EditorCommand importDxf
Initial value:
{
"import_dxf",
QT_TR_NOOP("Import DXF"),
QT_TR_NOOP("Import a 2D mechanical drawing"),
":/img/actions/export_svg.png",
{},
}
EditorCommandCategory categoryImportExport
Definition: editorcommandset.h:449

◆ importEagleLibrary

EditorCommand importEagleLibrary
Initial value:
{
"import_eagle_library",
QT_TR_NOOP("Import EAGLE Library"),
QT_TR_NOOP("Import library elements from an EAGLE *.lbr file"),
QString(),
{},
}

◆ importEagleProject

EditorCommand importEagleProject
Initial value:
{
"import_eagle_project",
QT_TR_NOOP("Import EAGLE Project"),
QT_TR_NOOP("Import schematic/board from EAGLE *.sch/*.brd files"),
QString(),
{},
}

◆ exportLppz

EditorCommand exportLppz
Initial value:
{
"export_lppz",
QT_TR_NOOP("Export *.lppz Archive"),
QT_TR_NOOP("Export the project as a self-contained *.lppz archive"),
":/img/actions/export_zip.png",
{},
}

◆ exportImage

EditorCommand exportImage
Initial value:
{
"export_image",
QT_TR_NOOP("Export Image"),
QT_TR_NOOP("Export graphics as a pixmap"),
":/img/actions/export_pixmap.png",
{QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_I)},
}

◆ exportPdf

EditorCommand exportPdf
Initial value:
{
"export_pdf",
QT_TR_NOOP("Export PDF"),
QT_TR_NOOP("Export graphics as a PDF"),
":/img/actions/pdf.png",
{QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_P)},
}

◆ exportStep

EditorCommand exportStep
Initial value:
{
"export_step",
QT_TR_NOOP("Export STEP Model"),
QT_TR_NOOP("Export PCB as a STEP file for loading it into MCAD software"),
":/img/actions/export_step.png",
{QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_T)},
}

◆ print

Initial value:
{
"print",
QT_TR_NOOP("Print"),
QT_TR_NOOP("Send graphics to a printer"),
":/img/actions/print.png",
{QKeySequence(Qt::CTRL | Qt::Key_P)},
}

◆ generateBom

EditorCommand generateBom
Initial value:
{
"generate_bom",
QT_TR_NOOP("Generate Bill Of Materials"),
QT_TR_NOOP("Generate bill of materials (BOM) file"),
":/img/actions/generate_bom.png",
{QKeySequence(Qt::Key_F9)},
}

◆ generateFabricationData

EditorCommand generateFabricationData
Initial value:
{
"generate_fabrication_data",
QT_TR_NOOP("Generate Fabrication Data"),
QT_TR_NOOP("Generate Gerber/Excellon files for PCB fabrication"),
":/img/actions/export_gerber.png",
{QKeySequence(Qt::Key_F10)},
}

◆ generatePickPlace

EditorCommand generatePickPlace
Initial value:
{
"generate_pick_place",
QT_TR_NOOP("Generate Pick&&Place Files"),
QT_TR_NOOP("Generate pick&place files for automated PCB assembly"),
":/img/actions/export_pick_place_file.png",
{},
}

◆ generateD356Netlist

EditorCommand generateD356Netlist
Initial value:
{
"generate_d356_netlist",
QT_TR_NOOP("Generate IPC-D-356A Netlist"),
QT_TR_NOOP("Generate netlist file for automated PCB testing"),
":/img/actions/generate_bom.png",
{},
}

◆ outputJobs

EditorCommand outputJobs
Initial value:
{
"output_jobs",
QT_TR_NOOP("Output Jobs"),
QT_TR_NOOP("Modify or run output jobs"),
":/img/actions/output_jobs.png",
{QKeySequence(Qt::Key_F11)},
}

◆ orderPcb

EditorCommand orderPcb
Initial value:
{
"order_pcb",
QT_TR_NOOP("Order PCB"),
QT_TR_NOOP("Start ordering the PCB online"),
":/img/actions/order_pcb.png",
{QKeySequence(Qt::Key_F12)},
}

◆ categoryModify

EditorCommandCategory categoryModify
Initial value:
{"categoryModify", QT_TR_NOOP("Modify"),
true, &categoryRoot}

◆ undo

Initial value:
{
"undo",
QT_TR_NOOP("Undo"),
QT_TR_NOOP("Revert the last modification"),
":/img/actions/undo.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_Z)},
}
EditorCommandCategory categoryModify
Definition: editorcommandset.h:587

◆ redo

Initial value:
{
"redo",
QT_TR_NOOP("Redo"),
QT_TR_NOOP("Re-apply the last reverted modification"),
":/img/actions/redo.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_Y),
QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_Z)},
}

◆ clipboardCut

EditorCommand clipboardCut
Initial value:
{
"clipboard_cut",
QT_TR_NOOP("Cut"),
QT_TR_NOOP("Cut the selected object(s) to clipboard"),
":/img/actions/cut.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_X)},
}

◆ clipboardCopy

EditorCommand clipboardCopy
Initial value:
{
"clipboard_copy",
QT_TR_NOOP("Copy"),
QT_TR_NOOP("Copy the selected object(s) to clipboard"),
":/img/actions/copy.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_C)},
}

◆ clipboardPaste

EditorCommand clipboardPaste
Initial value:
{
"clipboard_paste",
QT_TR_NOOP("Paste"),
QT_TR_NOOP("Paste object(s) from the clipboard"),
":/img/actions/paste.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_V)},
}

◆ moveLeft

EditorCommand moveLeft
Initial value:
{
"move_left",
QT_TR_NOOP("Move Left"),
QT_TR_NOOP("Move the selected object(s) to the left"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Left)},
}

◆ moveRight

EditorCommand moveRight
Initial value:
{
"move_right",
QT_TR_NOOP("Move Right"),
QT_TR_NOOP("Move the selected object(s) to the right"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Right)},
}

◆ moveUp

EditorCommand moveUp
Initial value:
{
"move_up",
QT_TR_NOOP("Move Up"),
QT_TR_NOOP("Move the selected object(s) up"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Up)},
}

◆ moveDown

EditorCommand moveDown
Initial value:
{
"move_down",
QT_TR_NOOP("Move Down"),
QT_TR_NOOP("Move the selected object(s) down"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Down)},
}

◆ rotateCcw

EditorCommand rotateCcw
Initial value:
{
"rotate_ccw",
QT_TR_NOOP("Rotate Counterclockwise"),
QT_TR_NOOP("Rotate the selected object(s) counterclockwise"),
":/img/actions/rotate_left.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_R)},
}

◆ rotateCw

EditorCommand rotateCw
Initial value:
{
"rotate_cw",
QT_TR_NOOP("Rotate Clockwise"),
QT_TR_NOOP("Rotate the selected object(s) clockwise"),
":/img/actions/rotate_right.png",
EditorCommand::Flags(),
{QKeySequence(Qt::SHIFT | Qt::Key_R)},
}

◆ mirrorHorizontal

EditorCommand mirrorHorizontal
Initial value:
{
"mirror_horizontal",
QT_TR_NOOP("Mirror Horizontally"),
QT_TR_NOOP("Mirror the selected object(s) horizontally"),
":/img/actions/mirror_horizontal.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_M)},
}

◆ mirrorVertical

EditorCommand mirrorVertical
Initial value:
{
"mirror_vertical",
QT_TR_NOOP("Mirror Vertically"),
QT_TR_NOOP("Mirror the selected object(s) vertically"),
":/img/actions/mirror_vertical.png",
EditorCommand::Flags(),
{QKeySequence(Qt::SHIFT | Qt::Key_M)},
}

◆ flipHorizontal

EditorCommand flipHorizontal
Initial value:
{
"flip_horizontal",
QT_TR_NOOP("Flip Horizontally"),
QT_TR_NOOP(
"Flip the selected object(s) horizontally to the other board side"),
":/img/actions/flip_horizontal.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_F)},
}

◆ flipVertical

EditorCommand flipVertical
Initial value:
{
"flip_vertical",
QT_TR_NOOP("Flip Vertically"),
QT_TR_NOOP(
"Flip the selected object(s) vertically to the other board side"),
":/img/actions/flip_vertical.png",
EditorCommand::Flags(),
{QKeySequence(Qt::SHIFT | Qt::Key_F)},
}

◆ snapToGrid

EditorCommand snapToGrid
Initial value:
{
"snap_to_grid",
QT_TR_NOOP("Snap to Grid"),
QT_TR_NOOP("Move the selected object(s) to snap the grid"),
":/img/actions/grid.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_S)},
}

◆ lock

Initial value:
{
"lock",
QT_TR_NOOP("Lock Placement"),
QT_TR_NOOP("Lock the placement of the selected object(s)"),
":/img/status/locked.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_L)},
}

◆ unlock

EditorCommand unlock
Initial value:
{
"unlock",
QT_TR_NOOP("Unlock Placement"),
QT_TR_NOOP("Unlock the placement of the selected object(s)"),
":/img/status/unlocked.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_U)},
}

◆ setLineWidth

EditorCommand setLineWidth
Initial value:
{
"line_width_set",
QT_TR_NOOP("Set Line Width"),
QT_TR_NOOP(
"Change the line/trace/stroke width of the selected object(s)"),
QString(),
{},
}

◆ deviceResetTextAll

EditorCommand deviceResetTextAll
Initial value:
{
"device_reset_text_all",
QT_TR_NOOP("Reset All Texts"),
QT_TR_NOOP("Reset all texts of the footprint to their initial state"),
":/img/actions/undo.png",
EditorCommand::Flags(),
{},
}

◆ properties

EditorCommand properties
Initial value:
{
"properties",
QT_TR_NOOP("Properties"),
QT_TR_NOOP("View/modify the object properties"),
":/img/actions/settings.png",
{QKeySequence(Qt::Key_E)},
}

◆ rename

EditorCommand rename
Initial value:
{
"rename",
QT_TR_NOOP("Rename"),
QT_TR_NOOP("Rename the selected object"),
":/img/actions/edit.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_F2)},
}

◆ remove

EditorCommand remove
Initial value:
{
"remove",
QT_TR_NOOP("Remove"),
QT_TR_NOOP("Delete the selected object(s)"),
":/img/actions/delete.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Delete)},
}

◆ categoryView

EditorCommandCategory categoryView
Initial value:
{"categoryView", QT_TR_NOOP("View"), true,

◆ zoomFitContent

EditorCommand zoomFitContent
Initial value:
{
"zoom_fit_content",
QT_TR_NOOP("Zoom to Fit Contents"),
QT_TR_NOOP("Set the zoom level to fit the whole content"),
":/img/actions/zoom_all.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_Home)},
}
EditorCommandCategory categoryView
Definition: editorcommandset.h:801

◆ zoomIn

EditorCommand zoomIn
Initial value:
{
"zoom_in",
QT_TR_NOOP("Zoom In"),
QT_TR_NOOP("Increase the zoom level"),
":/img/actions/zoom_in.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_Plus)},
}

◆ zoomOut

EditorCommand zoomOut
Initial value:
{
"zoom_out",
QT_TR_NOOP("Zoom Out"),
QT_TR_NOOP("Decrease the zoom level"),
":/img/actions/zoom_out.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_Minus)},
}

◆ gridIncrease

EditorCommand gridIncrease
Initial value:
{
"grid_increase",
QT_TR_NOOP("Increase Grid Interval"),
QT_TR_NOOP("Increase the grid interval"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_Plus)},
}

◆ gridDecrease

EditorCommand gridDecrease
Initial value:
{
"grid_decrease",
QT_TR_NOOP("Decrease Grid Interval"),
QT_TR_NOOP("Decrease the grid interval"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_Minus)},
}

◆ showPinNumbers

EditorCommand showPinNumbers
Initial value:
{
"show_pin_numbers",
QT_TR_NOOP("Show Pin Numbers"),
QT_TR_NOOP("Show or hide symbol pin numbers"),
":/img/actions/show_pin_numbers.png",
EditorCommand::Flags(),
{QKeySequence()},
}

◆ ignoreLocks

EditorCommand ignoreLocks
Initial value:
{
"ignore_locks",
QT_TR_NOOP("Ignore Placement Locks"),
QT_TR_NOOP("Allow dragging locked items"),
":/img/status/unlocked.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_L)},
}

◆ toggle3d

EditorCommand toggle3d
Initial value:
{
"toggle_3d",
QT_TR_NOOP("Toggle 2D/3D Mode"),
QT_TR_NOOP("Switch between 2D and 3D viewer mode"),
":/img/actions/view_3d.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_3)},
}

◆ categoryTools

EditorCommandCategory categoryTools
Initial value:
{"categoryTools", QT_TR_NOOP("Tools"),
true, &categoryRoot}

◆ toolSelect

EditorCommand toolSelect
Initial value:
{
"tool_select",
QT_TR_NOOP("Select"),
QT_TR_NOOP("Select & modify existing objects"),
":/img/actions/select.png",
EditorCommand::Flags(),
{},
}
EditorCommandCategory categoryTools
Definition: editorcommandset.h:876

◆ toolLine

EditorCommand toolLine
Initial value:
{
"tool_line",
QT_TR_NOOP("Draw Line"),
QT_TR_NOOP("Draw graphical lines"),
":/img/actions/draw_line.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_L)},
}

◆ toolRect

EditorCommand toolRect
Initial value:
{
"tool_rect",
QT_TR_NOOP("Draw Rectangle"),
QT_TR_NOOP("Draw graphical rectangles"),
":/img/actions/draw_rectangle.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_G)},
}

◆ toolPolygon

EditorCommand toolPolygon
Initial value:
{
"tool_polygon",
QT_TR_NOOP("Draw Polygon"),
QT_TR_NOOP("Draw graphical polygons"),
":/img/actions/draw_polygon.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_P)},
}

◆ toolCircle

EditorCommand toolCircle
Initial value:
{
"tool_circle",
QT_TR_NOOP("Draw Circle"),
QT_TR_NOOP("Draw graphical circles"),
":/img/actions/draw_circle.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_C)},
}

◆ toolArc

EditorCommand toolArc
Initial value:
{
"tool_arc",
QT_TR_NOOP("Draw Arc"),
QT_TR_NOOP("Draw graphical arcs"),
":/img/actions/draw_arc.png",
EditorCommand::Flags(),
{QKeySequence(Qt::SHIFT | Qt::Key_C)},
}

◆ toolText

EditorCommand toolText
Initial value:
{
"tool_text",
QT_TR_NOOP("Add Text"),
QT_TR_NOOP("Add graphical text objects"),
":/img/actions/add_text.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_T)},
}

◆ toolName

EditorCommand toolName
Initial value:
{
"tool_name",
QT_TR_NOOP("Add Name"),
QT_TR_NOOP("Add graphical text objects for '{{NAME}}'"),
":/img/actions/add_name.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_N)},
}

◆ toolValue

EditorCommand toolValue
Initial value:
{
"tool_value",
QT_TR_NOOP("Add Value"),
QT_TR_NOOP("Add graphical text objects for '{{VALUE}}'"),
":/img/actions/add_value.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_V)},
}

◆ toolPin

EditorCommand toolPin
Initial value:
{
"tool_pin",
QT_TR_NOOP("Add Pin"),
QT_TR_NOOP("Add symbol pins (electrical connections for schematics)"),
":/img/actions/add_symbol_pin.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_I)},
}

◆ toolPadTht

EditorCommand toolPadTht
Initial value:
{
"tool_pad_tht",
QT_TR_NOOP("Add THT Pad"),
QT_TR_NOOP("Add plated through-hole copper pads"),
":/img/actions/add_tht_pad.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_H)},
}

◆ toolPadSmt

EditorCommand toolPadSmt
Initial value:
{
"tool_pad_smt",
QT_TR_NOOP("Add SMT Pad"),
QT_TR_NOOP("Add surface mounted (single layer) copper pads"),
":/img/actions/add_smt_pad.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_D)},
}

◆ toolPadThermal

EditorCommand toolPadThermal
Initial value:
{
"tool_pad_thermal",
QT_TR_NOOP("Add Thermal Pad"),
QT_TR_NOOP("Add special SMT pads used as heat sink"),
QString(),
EditorCommand::Flags(),
{},
}

◆ toolPadBga

EditorCommand toolPadBga
Initial value:
{
"tool_pad_bga",
QT_TR_NOOP("Add BGA Pad"),
QT_TR_NOOP("Add special SMT pads used for ball grid arrays"),
QString(),
EditorCommand::Flags(),
{},
}

◆ toolPadEdgeConnector

EditorCommand toolPadEdgeConnector
Initial value:
{
"tool_pad_edge_connector",
QT_TR_NOOP("Add Edge Connector Pad"),
QT_TR_NOOP("Add special SMT pads used as edge connector"),
QString(),
EditorCommand::Flags(),
{},
}

◆ toolPadTest

EditorCommand toolPadTest
Initial value:
{
"tool_pad_test_point",
QT_TR_NOOP("Add Test Pad"),
QT_TR_NOOP("Add special SMT pads used as test points"),
QString(),
EditorCommand::Flags(),
{},
}

◆ toolPadLocalFiducial

EditorCommand toolPadLocalFiducial
Initial value:
{
"tool_pad_local_fiducial",
QT_TR_NOOP("Add Local Fiducial Pad"),
QT_TR_NOOP("Add special SMT pads used as local fiducials"),
QString(),
EditorCommand::Flags(),
{},
}

◆ toolPadGlobalFiducial

EditorCommand toolPadGlobalFiducial
Initial value:
{
"tool_pad_global_fiducial",
QT_TR_NOOP("Add Global Fiducial Pad"),
QT_TR_NOOP("Add special SMT pads used as global fiducials"),
QString(),
EditorCommand::Flags(),
{},
}

◆ toolZone

EditorCommand toolZone
Initial value:
{
"tool_zone",
QT_TR_NOOP("Draw Keepout Zone"),
QT_TR_NOOP("Draw keep-out zones"),
":/img/actions/draw_zone.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Z)},
}

◆ toolHole

EditorCommand toolHole
Initial value:
{
"tool_hole",
QT_TR_NOOP("Add Hole"),
QT_TR_NOOP("Add non-plated holes (NPTH drills)"),
":/img/actions/add_hole.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_O)},
}

◆ toolWire

EditorCommand toolWire
Initial value:
{
"tool_wire",
QT_TR_NOOP("Draw Wire"),
QT_TR_NOOP(
"Draw wires to create electrical connections between symbol pins"),
":/img/actions/draw_wire.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_W)},
}

◆ toolNetLabel

EditorCommand toolNetLabel
Initial value:
{
"tool_netlabel",
QT_TR_NOOP("Add Net Label"),
QT_TR_NOOP("Add net labels to explicitly specify the net of wires"),
":/img/actions/draw_netlabel.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_N)},
}

◆ toolComponent

EditorCommand toolComponent
Initial value:
{
"tool_component",
QT_TR_NOOP("Add Component"),
QT_TR_NOOP("Insert components from the workspace libraries"),
":/img/actions/add_component.png",
{QKeySequence(Qt::Key_A)},
}

◆ toolTrace

EditorCommand toolTrace
Initial value:
{
"tool_trace",
QT_TR_NOOP("Draw Trace"),
QT_TR_NOOP("Draw copper traces to interconnect devices"),
":/img/actions/draw_wire.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_W)},
}

◆ toolVia

EditorCommand toolVia
Initial value:
{
"tool_via",
QT_TR_NOOP("Add Via"),
QT_TR_NOOP("Add plated through-hole vias"),
":/img/actions/add_via.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_V)},
}

◆ toolPlane

EditorCommand toolPlane
Initial value:
{
"tool_plane",
QT_TR_NOOP("Draw Plane"),
QT_TR_NOOP("Draw auto-filled copper areas to interconnect pads and vias"),
":/img/actions/add_plane.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_N)},
}

◆ toolGenerateOutline

EditorCommand toolGenerateOutline
Initial value:
{
"tool_generate_outline",
QT_TR_NOOP("Generate Outline"),
QT_TR_NOOP("Automatically generate the outline polygon"),
":/img/actions/wizard.png",
EditorCommand::Flags(),
{},
}

◆ toolGenerateCourtyard

EditorCommand toolGenerateCourtyard
Initial value:
{
"tool_generate_courtyard",
QT_TR_NOOP("Generate Courtyard"),
QT_TR_NOOP("Automatically generate the courtyard polygon"),
":/img/actions/wizard.png",
{},
}

◆ toolMeasure

EditorCommand toolMeasure
Initial value:
{
"tool_measure",
QT_TR_NOOP("Measure Distance"),
QT_TR_NOOP("Measure the distance between two points"),
":/img/actions/ruler.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_M)},
}

◆ categoryCommands

EditorCommandCategory categoryCommands
Initial value:
{
"categoryCommands", QT_TR_NOOP("Commands"), true, &categoryRoot}

◆ commandToolBarFocus

EditorCommand commandToolBarFocus
Initial value:
{
"command_toolbar_focus",
QT_TR_NOOP("Go To Command Toolbar"),
QT_TR_NOOP("Move the focus into the command toolbar"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Tab)},
}
EditorCommandCategory categoryCommands
Definition: editorcommandset.h:1141

◆ abort

Initial value:
{
"abort",
QT_TR_NOOP("Abort Command"),
QT_TR_NOOP("Abort the currently active command"),
":/img/actions/stop.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Escape)},
}

◆ layerUp

EditorCommand layerUp
Initial value:
{
"layer_up",
QT_TR_NOOP("Layer Up"),
QT_TR_NOOP("Switch to the next higher layer (bottom->top)"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_PageUp)},
}

◆ layerDown

EditorCommand layerDown
Initial value:
{
"layer_down",
QT_TR_NOOP("Layer Down"),
QT_TR_NOOP("Switch to the next lower layer (top->bottom)"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_PageDown)},
}

◆ lineWidthIncrease

EditorCommand lineWidthIncrease
Initial value:
{
"line_width_increase",
QT_TR_NOOP("Increase Line Width"),
QT_TR_NOOP("Increase the line/trace/stroke/pad width"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Plus)},
}

◆ lineWidthDecrease

EditorCommand lineWidthDecrease
Initial value:
{
"line_width_decrease",
QT_TR_NOOP("Decrease Line Width"),
QT_TR_NOOP("Decrease the line/trace/stroke/pad width"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Minus)},
}

◆ sizeIncrease

EditorCommand sizeIncrease
Initial value:
{
"size_increase",
QT_TR_NOOP("Increase Size"),
QT_TR_NOOP("Increase the via/pad/pin/text size"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Asterisk)},
}

◆ sizeDecrease

EditorCommand sizeDecrease
Initial value:
{
"size_decrease",
QT_TR_NOOP("Decrease Size"),
QT_TR_NOOP("Decrease the via/pad/pin/text size"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Slash)},
}

◆ drillIncrease

EditorCommand drillIncrease
Initial value:
{
"drill_increase",
QT_TR_NOOP("Increase Drill"),
QT_TR_NOOP("Increase the via/pad/hole drill diameter"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Home)},
}

◆ drillDecrease

EditorCommand drillDecrease
Initial value:
{
"drill_decrease",
QT_TR_NOOP("Decrease Drill"),
QT_TR_NOOP("Decrease the via/pad/hole drill diameter"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_End)},
}

◆ widthAutoToggle

EditorCommand widthAutoToggle
Initial value:
{
"width_auto_toggle",
QT_TR_NOOP("Toggle Auto-Width"),
QT_TR_NOOP("Toggle the auto-width property state"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Period)},
}

◆ fillToggle

EditorCommand fillToggle
Initial value:
{
"fill_toggle",
QT_TR_NOOP("Toggle Fill"),
QT_TR_NOOP("Toggle the fill property state"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_F)},
}

◆ grabAreaToggle

EditorCommand grabAreaToggle
Initial value:
{
"grab_area_toggle",
QT_TR_NOOP("Toggle Grab Area"),
QT_TR_NOOP("Toggle the grab area property state"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::Key_Comma)},
}

◆ alignHorizontalLeft

EditorCommand alignHorizontalLeft
Initial value:
{
"align_horizontal_left",
QT_TR_NOOP("Align Left"),
QT_TR_NOOP("Horizontal alignment: Left"),
":/img/command_toolbars/align_horizontal_left.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_1)},
}

◆ alignHorizontalCenter

EditorCommand alignHorizontalCenter
Initial value:
{
"align_horizontal_center",
QT_TR_NOOP("Align Center"),
QT_TR_NOOP("Horizontal alignment: Center"),
":/img/command_toolbars/align_horizontal_center.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_2)},
}

◆ alignHorizontalRight

EditorCommand alignHorizontalRight
Initial value:
{
"align_horizontal_right",
QT_TR_NOOP("Align Right"),
QT_TR_NOOP("Horizontal alignment: Right"),
":/img/command_toolbars/align_horizontal_right.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_3)},
}

◆ alignVerticalBottom

EditorCommand alignVerticalBottom
Initial value:
{
"align_vertical_bottom",
QT_TR_NOOP("Align Bottom"),
QT_TR_NOOP("Vertical alignment: Bottom"),
":/img/command_toolbars/align_vertical_bottom.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_4)},
}

◆ alignVerticalCenter

EditorCommand alignVerticalCenter
Initial value:
{
"align_vertical_center",
QT_TR_NOOP("Align Center"),
QT_TR_NOOP("Vertical alignment: Center"),
":/img/command_toolbars/align_vertical_center.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_5)},
}

◆ alignVerticalTop

EditorCommand alignVerticalTop
Initial value:
{
"align_vertical_top",
QT_TR_NOOP("Align Top"),
QT_TR_NOOP("Vertical alignment: Top"),
":/img/command_toolbars/align_vertical_top.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_6)},
}

◆ wireModeHV

EditorCommand wireModeHV
Initial value:
{
"wire_mode_h_v",
QT_TR_NOOP("Horizontal - Vertical"),
QT_TR_NOOP(
"Wire mode: First segment horizontal, second segment vertical"),
":/img/command_toolbars/wire_h_v.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_1)},
}

◆ wireModeVH

EditorCommand wireModeVH
Initial value:
{
"wire_mode_v_h",
QT_TR_NOOP("Vertical - Horizontal"),
QT_TR_NOOP(
"Wire mode: First segment vertical, second segment horizontal"),
":/img/command_toolbars/wire_v_h.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_2)},
}

◆ wireMode9045

EditorCommand wireMode9045
Initial value:
{
"wire_mode_90_45",
QT_TR_NOOP("90° - 45°"),
QT_TR_NOOP("Wire mode: First segment 90°, second segment 45°"),
":/img/command_toolbars/wire_90_45.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_3)},
}

◆ wireMode4590

EditorCommand wireMode4590
Initial value:
{
"wire_mode_45_90",
QT_TR_NOOP("45° - 90°"),
QT_TR_NOOP("Wire mode: First segment 45°, second segment 90°"),
":/img/command_toolbars/wire_45_90.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_4)},
}

◆ wireModeStraight

EditorCommand wireModeStraight
Initial value:
{
"wire_mode_straight",
QT_TR_NOOP("Straight"),
QT_TR_NOOP("Wire mode: Straight line"),
":/img/command_toolbars/wire_straight.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_5)},
}

◆ shapeRound

EditorCommand shapeRound
Initial value:
{
"shape_round",
QT_TR_NOOP("Round"),
QT_TR_NOOP("Shape: Round"),
":/img/command_toolbars/shape_round.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_1)},
}

◆ shapeRoundedRect

EditorCommand shapeRoundedRect
Initial value:
{
"shape_rounded_rect",
QT_TR_NOOP("Rounded Rectangle"),
QT_TR_NOOP("Shape: Rounded Rectangle"),
":/img/command_toolbars/shape_rounded_rect.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_2)},
}

◆ shapeRect

EditorCommand shapeRect
Initial value:
{
"shape_rect",
QT_TR_NOOP("Rectangle"),
QT_TR_NOOP("Shape: Rectangle"),
":/img/command_toolbars/shape_rect.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_3)},
}

◆ shapeOctagon

EditorCommand shapeOctagon
Initial value:
{
"shape_octagon",
QT_TR_NOOP("Octagon"),
QT_TR_NOOP("Shape: Octagon"),
":/img/command_toolbars/shape_octagon.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_4)},
}

◆ categoryComponents

EditorCommandCategory categoryComponents
Initial value:
{
"categoryComponents", QT_TR_NOOP("Components"), true, &categoryRoot}

◆ componentResistor

EditorCommand componentResistor
Initial value:
{
"component_resistor",
QT_TR_NOOP("Resistor"),
QT_TR_NOOP("Add standard component: Resistor"),
":/img/library/resistor_eu.png",
EditorCommand::Flags(),
{},
}
EditorCommandCategory categoryComponents
Definition: editorcommandset.h:1398

◆ componentInductor

EditorCommand componentInductor
Initial value:
{
"component_inductor",
QT_TR_NOOP("Inductor"),
QT_TR_NOOP("Add standard component: Inductor"),
":/img/library/inductor_eu.png",
EditorCommand::Flags(),
{},
}

◆ componentCapacitorBipolar

EditorCommand componentCapacitorBipolar
Initial value:
{
"component_capacitor_bipolar",
QT_TR_NOOP("Bipolar Capacitor"),
QT_TR_NOOP("Add standard component: Bipolar capacitor"),
":/img/library/bipolar_capacitor_eu.png",
EditorCommand::Flags(),
{},
}

◆ componentCapacitorUnipolar

EditorCommand componentCapacitorUnipolar
Initial value:
{
"component_capacitor_unipolar",
QT_TR_NOOP("Unipolar Capacitor"),
QT_TR_NOOP("Add standard component: Unipolar capacitor"),
":/img/library/unipolar_capacitor_eu.png",
EditorCommand::Flags(),
{},
}

◆ componentGnd

EditorCommand componentGnd
Initial value:
{
"component_gnd",
QT_TR_NOOP("GND Supply"),
QT_TR_NOOP("Add standard component: GND supply"),
":/img/library/gnd.png",
EditorCommand::Flags(),
{},
}

◆ componentVcc

EditorCommand componentVcc
Initial value:
{
"component_vcc",
QT_TR_NOOP("VCC Supply"),
QT_TR_NOOP("Add standard component: VCC supply"),
":/img/library/vcc.png",
EditorCommand::Flags(),
{},
}

◆ categoryDocks

EditorCommandCategory categoryDocks
Initial value:
{"categoryDocks", QT_TR_NOOP("Docks"),
true, &categoryRoot}

◆ dockPages

EditorCommand dockPages
Initial value:
{
"dock_pages",
QT_TR_NOOP("Pages"),
QT_TR_NOOP("Go to the pages dock"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_G)},
}
EditorCommandCategory categoryDocks
Definition: editorcommandset.h:1455

◆ dockErc

EditorCommand dockErc
Initial value:
{
"dock_erc",
QT_TR_NOOP("Electrical Rule Check (ERC)"),
QT_TR_NOOP("Go to the ERC messages dock"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_E)},
}

◆ dockDrc

EditorCommand dockDrc
Initial value:
{
"dock_drc",
QT_TR_NOOP("Design Rule Check (DRC)"),
QT_TR_NOOP("Go to the DRC messages dock"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_D)},
}

◆ dockLayers

EditorCommand dockLayers
Initial value:
{
"dock_layers",
QT_TR_NOOP("Layers"),
QT_TR_NOOP("Go to the layers dock"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_L)},
}

◆ dockPlaceDevices

EditorCommand dockPlaceDevices
Initial value:
{
"dock_place_devices",
QT_TR_NOOP("Place Devices"),
QT_TR_NOOP("Go to the dock for placing devices"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_P)},
}

◆ categoryWindowManagement

EditorCommandCategory categoryWindowManagement
Initial value:
{
"categoryWindowManagement", QT_TR_NOOP("Window Management"), true,

◆ pageNext

EditorCommand pageNext
Initial value:
{
"page_next",
QT_TR_NOOP("Next Tab/Page"),
QT_TR_NOOP("Navigate to the next tab or page"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_Tab)},
}
EditorCommandCategory categoryWindowManagement
Definition: editorcommandset.h:1503

◆ pagePrevious

EditorCommand pagePrevious
Initial value:
{
"page_previous",
QT_TR_NOOP("Previous Tab/Page"),
QT_TR_NOOP("Navigate to the previous tab or page"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_Tab)},
}

◆ tabClose

EditorCommand tabClose
Initial value:
{
"tab_close",
QT_TR_NOOP("Close Tab"),
QT_TR_NOOP("Close the currently opened tab"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_W)},
}

◆ tabCloseAll

EditorCommand tabCloseAll
Initial value:
{
"tab_close_all",
QT_TR_NOOP("Close All Tabs"),
QT_TR_NOOP("Close all currently opened tabs"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_W)},
}

◆ windowClose

EditorCommand windowClose
Initial value:
{
"window_close",
QT_TR_NOOP("Close Window"),
QT_TR_NOOP("Close this window"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::ALT | Qt::Key_F4)},
}

◆ projectClose

EditorCommand projectClose
Initial value:
{
"project_close",
QT_TR_NOOP("Close Project"),
QT_TR_NOOP("Close the currently opened project"),
":/img/actions/close.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_F4)},
}

◆ projectCloseAll

EditorCommand projectCloseAll
Initial value:
{
"project_close_all",
QT_TR_NOOP("Close All Projects"),
QT_TR_NOOP("Close all currently opened projects"),
":/img/actions/close.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::Key_F4)},
}

◆ applicationQuit

EditorCommand applicationQuit
Initial value:
{
"application_quit",
QT_TR_NOOP("Quit"),
QT_TR_NOOP("Close the whole application"),
":/img/actions/quit.png",
{QKeySequence(Qt::CTRL | Qt::Key_Q)},
}

◆ categoryHelp

EditorCommandCategory categoryHelp
Initial value:
{"categoryHelp", QT_TR_NOOP("Help"), true,

◆ aboutLibrePcb

EditorCommand aboutLibrePcb
Initial value:
{
"about_librepcb",
QT_TR_NOOP("About LibrePCB"),
QT_TR_NOOP("Show information about the application"),
":/img/logo/48x48.png",
{},
}
EditorCommandCategory categoryHelp
Definition: editorcommandset.h:1579

◆ aboutQt

EditorCommand aboutQt
Initial value:
{
"about_qt",
QT_TR_NOOP("About Qt"),
QT_TR_NOOP("Show information about Qt"),
QString(),
{},
}

◆ website

EditorCommand website
Initial value:
{
"website",
QT_TR_NOOP("LibrePCB Website"),
QT_TR_NOOP("Open the LibrePCB website in the web browser"),
":/img/actions/open_browser.png",
EditorCommand::Flags(),
{},
}

◆ documentationOnline

EditorCommand documentationOnline
Initial value:
{
"documentation_online",
QT_TR_NOOP("Online Documentation"),
QT_TR_NOOP("Open the documentation in the web browser"),
":/img/actions/help.png",
EditorCommand::Flags(),
{QKeySequence(Qt::Key_F1)},
}

◆ keyboardShortcutsReference

EditorCommand keyboardShortcutsReference
Initial value:
{
"keyboard_shortcuts_reference",
QT_TR_NOOP("Keyboard Shortcuts Reference"),
QT_TR_NOOP("Open a quick reference about the keyboard shortcuts"),
QString(),
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_F1)},
}

◆ categoryContextMenu

EditorCommandCategory categoryContextMenu
Initial value:
{
"categoryContextMenu", QT_TR_NOOP("Context Menu"), false, &categoryRoot}

◆ folderNew

EditorCommand folderNew
Initial value:
{
"folder_new",
QT_TR_NOOP("New Folder"),
QT_TR_NOOP("Create a new folder"),
":/img/actions/new_folder.png",
EditorCommand::Flags(),
{},
}
EditorCommandCategory categoryContextMenu
Definition: editorcommandset.h:1627

◆ favoriteAdd

EditorCommand favoriteAdd
Initial value:
{
"favorite_add",
QT_TR_NOOP("Add To Favorites"),
QT_TR_NOOP("Add project to favorites"),
":/img/actions/bookmark_gray.png",
EditorCommand::Flags(),
{},
}

◆ favoriteRemove

EditorCommand favoriteRemove
Initial value:
{
"favorite_remove",
QT_TR_NOOP("Remove From Favorites"),
QT_TR_NOOP("Remove project from favorites"),
":/img/actions/bookmark.png",
EditorCommand::Flags(),
{},
}

◆ vertexAdd

EditorCommand vertexAdd
Initial value:
{
"vertex_add",
QT_TR_NOOP("Add Vertex"),
QT_TR_NOOP("Insert a new vertex into the selected polygon edge"),
":/img/actions/add.png",
EditorCommand::Flags(),
{},
}

◆ vertexRemove

EditorCommand vertexRemove
Initial value:
{
"vertex_remove",
QT_TR_NOOP("Remove Vertex"),
QT_TR_NOOP("Remove the selected vertex from the polygon"),
":/img/actions/delete.png",
EditorCommand::Flags(),
{},
}

◆ traceSelectWhole

EditorCommand traceSelectWhole
Initial value:
{
"trace_select_whole",
QT_TR_NOOP("Select Whole Trace"),
QT_TR_NOOP("Select the whole trace"),
":/img/actions/bookmark.png",
EditorCommand::Flags(),
{},
}

◆ traceMeasureLength

EditorCommand traceMeasureLength
Initial value:
{
"trace_measure_length",
QT_TR_NOOP("Measure Selected Segments Length"),
QT_TR_NOOP("Measure the total length of all selected trace segments"),
":/img/actions/ruler.png",
EditorCommand::Flags(),
{},
}

◆ traceRemoveWhole

EditorCommand traceRemoveWhole
Initial value:
{
"trace_remove_whole",
QT_TR_NOOP("Remove Whole Trace"),
QT_TR_NOOP("Remove the whole trace"),
":/img/actions/minus.png",
EditorCommand::Flags(),
{},
}

◆ locked

EditorCommand locked
Initial value:
{
"locked",
QT_TR_NOOP("Lock Placement"),
QT_TR_NOOP("Toggle placement lock"),
":/img/status/locked.png",
EditorCommand::Flags(),
{},
}

◆ visible

EditorCommand visible
Initial value:
{
"visible",
QT_TR_NOOP("Visible"),
QT_TR_NOOP("Toggle visibility"),
QString(),
EditorCommand::Flags(),
{},
}

◆ copyMpnToClipboard

EditorCommand copyMpnToClipboard
Initial value:
{
"copy_mpn_to_clipboard",
QT_TR_NOOP("Copy MPN to Clipboard"),
QT_TR_NOOP("Copy this MPN into the clipboard"),
":/img/actions/copy.png",
EditorCommand::Flags(),
{QKeySequence(Qt::CTRL | Qt::Key_C)},
}

◆ openProductWebsite

EditorCommand openProductWebsite
Initial value:
{
"open_product_website",
QT_TR_NOOP("Open Product Website"),
QT_TR_NOOP("Open product details about this part in the web browser"),
":/img/actions/open_browser.png",
{},
}

◆ openPricingWebsite

EditorCommand openPricingWebsite
Initial value:
{
"open_pricing_website",
QT_TR_NOOP("Open Pricing Website"),
QT_TR_NOOP("Open pricing details about this part in the web browser"),
":/img/library/part.png",
{},
}

◆ generateContent

EditorCommand generateContent
Initial value:
{
"generate_content",
QT_TR_NOOP("Generate Content"),
QT_TR_NOOP("Automatically generate some content"),
":/img/actions/wizard.png",
{},
}

The documentation for this class was generated from the following file: