48 wxMenuBar* oldMenuBar = GetMenuBar();
67 fileHistory.UseMenu( openRecentMenu );
72 openRecentMenu->
SetTitle(
_(
"Open Recent" ) );
78 wxMenuItem* item = fileMenu->
Add( openRecentMenu->
Clone() );
84 fileMenu->AppendSeparator();
94 fileMenu->AppendSeparator();
96 fileMenu->
Add(
_(
"Insert Schematic Sheet Content..." ),
97 _(
"Append schematic sheet content from another project to the current sheet" ),
101 fileMenu->AppendSeparator();
105 submenuImport->
SetTitle(
_(
"Import" ) );
107 submenuImport->
Add(
_(
"Non-KiCad Schematic..." ),
108 _(
"Replace current schematic sheet with one imported from another application" ),
113 fileMenu->
Add( submenuImport );
118 submenuExport->
SetTitle(
_(
"Export" ) );
122 fileMenu->
Add( submenuExport );
124 fileMenu->AppendSeparator();
127 fileMenu->AppendSeparator();
132 fileMenu->AppendSeparator();
143 editMenu->AppendSeparator();
150 editMenu->AppendSeparator();
153 editMenu->AppendSeparator();
157 editMenu->AppendSeparator();
171 viewMenu->AppendSeparator();
179 viewMenu->AppendSeparator();
190 viewMenu->
Add( unitsSubMenu );
194 viewMenu->AppendSeparator();
198 viewMenu->AppendSeparator();
215 placeMenu->AppendSeparator();
220 placeMenu->AppendSeparator();
236 inspectMenu->AppendSeparator();
246 update->Enable( !
Kiface().IsSingle() );
248 update->Enable( !
Kiface().IsSingle() );
252 toolsMenu->AppendSeparator();
256 toolsMenu->AppendSeparator();
263 toolsMenu->AppendSeparator();
267 toolsMenu->AppendSeparator();
271 toolsMenu->AppendSeparator();
285 prefsMenu->
Add(
_(
"Preferences..." ) +
"\tCtrl+,",
286 _(
"Show preferences for all open tools" ),
290 prefsMenu->AppendSeparator();
296 menuBar->Append( fileMenu,
_(
"&File" ) );
297 menuBar->Append( editMenu,
_(
"&Edit" ) );
298 menuBar->Append( viewMenu,
_(
"&View" ) );
299 menuBar->Append( placeMenu,
_(
"&Place" ) );
300 menuBar->Append( inspectMenu,
_(
"&Inspect" ) );
301 menuBar->Append( toolsMenu,
_(
"&Tools" ) );
302 menuBar->Append( prefsMenu,
_(
"P&references" ) );
305 SetMenuBar( menuBar );
static TOOL_ACTION editPageNumber
void AddFilesToMenu() override
Add the files to all registered menus.
static TOOL_ACTION rescueSymbols
static TOOL_ACTION findAndReplace
static TOOL_ACTION exportNetlist
static TOOL_ACTION navigateHierarchy
static TOOL_ACTION assignFootprints
static TOOL_ACTION zoomInCenter
static TOOL_ACTION pageSettings
static TOOL_ACTION runERC
static TOOL_ACTION doDelete
KIFACE_BASE & Kiface()
Global KIFACE_BASE "get" accessor.
static TOOL_ACTION zoomTool
void ReCreateMenuBar() override
Recreates the menu bar.
static TOOL_ACTION placeHierLabel
static TOOL_ACTION placeJunction
static TOOL_ACTION nextMarker
static TOOL_ACTION remapSymbols
static TOOL_ACTION zoomFitScreen
static TOOL_ACTION millimetersUnits
virtual void RegisterUIUpdateHandler(int aID, const ACTION_CONDITIONS &aConditions) override
Register a UI update handler for the control with ID aID.
static TOOL_ACTION showSymbolLibTable
static TOOL_ACTION updatePcbFromSchematic
static TOOL_ACTION placeBusWireEntry
static TOOL_ACTION updateSymbols
static TOOL_ACTION zoomFitObjects
static TOOL_ACTION excludeMarker
This class implements a file history object to store a list of files, that can then be added to a men...
static TOOL_ACTION saveCurrSheetCopyAs
static TOOL_ACTION zoomOutCenter
ACTION_CONDITIONS & Enable(const SELECTION_CONDITION &aCondition)
static TOOL_ACTION leaveSheet
static TOOL_ACTION runSimulation
static TOOL_ACTION annotate
static TOOL_ACTION drawSheet
static TOOL_ACTION showPcbNew
static TOOL_ACTION showBusManager
static TOOL_ACTION updateSchematicFromPcb
static TOOL_ACTION editSymbolFields
static TOOL_ACTION placePower
static TOOL_ACTION drawWire
static TOOL_ACTION toggleGrid
static TOOL_ACTION inchesUnits
static TOOL_ACTION placeSchematicText
void AddStandardHelpMenu(wxMenuBar *aMenuBar)
Adds the standard KiCad help menu to the menubar.
static TOOL_ACTION placeImage
void UpdateClearText(wxMenu *aMenu, wxString aClearText)
Update the text displayed on the menu item that clears the entire menu.
static TOOL_ACTION importSheetPin
static TOOL_ACTION placeSymbol
static TOOL_ACTION editTextAndGraphics
static TOOL_ACTION milsUnits
static TOOL_ACTION drawBus
static TOOL_ACTION prevMarker
static TOOL_ACTION pasteSpecial
static TOOL_ACTION placeLabel
FILE_HISTORY & GetFileHistory()
Get the frame's main file history.
static SELECTION_CONDITION FileHistoryNotEmpty(const FILE_HISTORY &aHistory)
Create a SELECTION_CONDITION that can be used to enable a menu item when the file history has items i...
static TOOL_ACTION showSymbolEditor
static TOOL_ACTION saveAs
static TOOL_ACTION toggleHiddenPins
static TOOL_ACTION zoomRedraw
static TOOL_ACTION importFPAssignments
Functors that can be used to figure out how the action controls should be displayed in the UI and if ...
static TOOL_ACTION placeNoConnect
static TOOL_ACTION changeSymbols
static TOOL_ACTION drawSheetOnClipboard
static TOOL_ACTION repairSchematic
static TOOL_ACTION gridProperties
static TOOL_ACTION deleteTool
static const ADVANCED_CFG & GetCfg()
Get the singleton instance's config, which is shared by all consumers.
static TOOL_ACTION generateBOM
static TOOL_ACTION drawLines
static TOOL_ACTION toggleCursorStyle
static TOOL_ACTION schematicSetup
static TOOL_ACTION showSymbolBrowser
static TOOL_ACTION placeGlobalLabel
static TOOL_ACTION editSymbolLibraryLinks
static TOOL_ACTION configurePaths
static TOOL_ACTION selectAll