47 wxMenuBar* oldMenuBar = GetMenuBar();
66 fileHistory.UseMenu( openRecentMenu );
71 openRecentMenu->
SetTitle(
_(
"Open Recent" ) );
77 wxMenuItem* item = fileMenu->
Add( openRecentMenu->
Clone() );
83 fileMenu->AppendSeparator();
95 fileMenu->AppendSeparator();
106 fileMenu->
Add( submenuImport );
111 submenuExport->
SetTitle(
_(
"Export" ) );
116 fileMenu->
Add( submenuExport );
118 fileMenu->AppendSeparator();
131 fileMenu->AppendSeparator();
134 fileMenu->AppendSeparator();
139 fileMenu->AppendSeparator();
150 editMenu->AppendSeparator();
158 editMenu->AppendSeparator();
162 editMenu->AppendSeparator();
166 editMenu->AppendSeparator();
173 submenuAttributes->
SetTitle(
_(
"Attributes" ) );
181 editMenu->
Add( submenuAttributes );
189 showHidePanels->
SetTitle(
_(
"Panels" ) );
203 remoteSymbolItem->Enable(
false );
204 remoteSymbolItem->SetHelp(
_(
"Search signed-in remote symbol providers and download verified libraries." ) );
207 viewMenu->
Add( showHidePanels );
209 viewMenu->AppendSeparator();
212 viewMenu->AppendSeparator();
221 viewMenu->AppendSeparator();
230 viewMenu->AppendSeparator();
243 viewMenu->AppendSeparator();
262 placeMenu->AppendSeparator();
269 placeMenu->AppendSeparator();
289 inspectMenu->AppendSeparator();
295 inspectMenu->AppendSeparator();
298 inspectMenu->AppendSeparator();
309 if( !
Kiface().IsSingle() )
314 toolsMenu->AppendSeparator();
318 toolsMenu->AppendSeparator();
322 toolsMenu->AppendSeparator();
326 toolsMenu->AppendSeparator();
330 toolsMenu->AppendSeparator();
335 toolsMenu->AppendSeparator();
338 toolsMenu->AppendSeparator();
341 toolsMenu->AppendSeparator();
343 submenuVariants->
SetTitle(
_(
"Variants" ) );
347 toolsMenu->
Add( submenuVariants );
349 toolsMenu->AppendSeparator();
361 prefsMenu->AppendSeparator();
367 menuBar->Append( fileMenu,
_(
"&File" ) );
368 menuBar->Append( editMenu,
_(
"&Edit" ) );
369 menuBar->Append( viewMenu,
_(
"&View" ) );
370 menuBar->Append( placeMenu,
_(
"&Place" ) );
371 menuBar->Append( inspectMenu,
_(
"&Inspect" ) );
372 menuBar->Append( toolsMenu,
_(
"&Tools" ) );
373 menuBar->Append( prefsMenu,
_(
"P&references" ) );
376 SetMenuBar( menuBar );
KIFACE_BASE & Kiface()
Global KIFACE_BASE "get" accessor.
static TOOL_ACTION showCalculatorTools
static TOOL_ACTION updatePcbFromSchematic
static TOOL_ACTION excludeMarker
static TOOL_ACTION nextMarker
static TOOL_ACTION zoomRedraw
static TOOL_ACTION unselectAll
static TOOL_ACTION revert
static TOOL_ACTION zoomOutCenter
static TOOL_ACTION saveAs
static TOOL_ACTION pluginsReload
static TOOL_ACTION showSymbolLibTable
static TOOL_ACTION showSymbolEditor
static TOOL_ACTION showSymbolBrowser
static TOOL_ACTION pasteSpecial
static TOOL_ACTION zoomFitSelection
static TOOL_ACTION findAndReplace
static TOOL_ACTION openPreferences
static TOOL_ACTION pageSettings
static TOOL_ACTION showSearch
static TOOL_ACTION prevMarker
static TOOL_ACTION doDelete
static TOOL_ACTION zoomFitScreen
static TOOL_ACTION deleteTool
static TOOL_ACTION zoomTool
static TOOL_ACTION updateSchematicFromPcb
static TOOL_ACTION showDesignBlockLibTable
static TOOL_ACTION showProperties
static TOOL_ACTION zoomFitObjects
static TOOL_ACTION zoomInCenter
static TOOL_ACTION configurePaths
static TOOL_ACTION showProjectManager
static TOOL_ACTION copyAsText
static TOOL_ACTION selectAll
static const ADVANCED_CFG & GetCfg()
Get the singleton instance's config, which is shared by all consumers.
void AddMenuLanguageList(ACTION_MENU *aMasterMenu, TOOL_INTERACTIVE *aControlTool)
Create a menu list for language choice, and add it as submenu to MasterMenu.
FILE_HISTORY & GetFileHistory()
Get the frame's main file history.
virtual void RegisterUIUpdateHandler(int aID, const ACTION_CONDITIONS &aConditions) override
Register a UI update handler for the control with ID aID.
void AddStandardHelpMenu(wxMenuBar *aMenuBar)
Add the standard KiCad help menu to the menubar.
This class implements a file history object to store a list of files, that can then be added to a men...
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...
void UpdateClearText(wxMenu *aMenu, wxString aClearText)
Update the text displayed on the menu item that clears the entire menu.
void AddFilesToMenu() override
Add the files to all registered menus.
virtual COMMON_SETTINGS * GetCommonSettings() const
static TOOL_ACTION showPcbNew
static TOOL_ACTION placeClassLabel
static TOOL_ACTION placeSheetPin
static TOOL_ACTION createNetChain
static TOOL_ACTION compareSchematicWithHistory
static TOOL_ACTION setExcludeFromBOM
static TOOL_ACTION assignFootprints
static TOOL_ACTION toggleOPCurrents
static TOOL_ACTION showBusSyntaxHelp
static TOOL_ACTION placeGlobalLabel
static TOOL_ACTION removeVariant
static TOOL_ACTION editSymbolFields
static TOOL_ACTION drawEllipseArc
static TOOL_ACTION importFPAssignments
static TOOL_ACTION changeSymbols
static TOOL_ACTION drawTextBox
static TOOL_ACTION syncAllSheetsPins
static TOOL_ACTION drawArc
static TOOL_ACTION drawSheet
static TOOL_ACTION toggleERCWarnings
static TOOL_ACTION navigateBack
static TOOL_ACTION editVariantDescription
static TOOL_ACTION schematicSetup
static TOOL_ACTION toggleDirectiveLabels
static TOOL_ACTION toggleHiddenFields
static TOOL_ACTION drawRectangle
static TOOL_ACTION drawLines
static TOOL_ACTION saveCurrSheetCopyAs
static TOOL_ACTION placeHierLabel
static TOOL_ACTION drawEllipse
static TOOL_ACTION placeLabel
static TOOL_ACTION drawCircle
static TOOL_ACTION navigateNext
static TOOL_ACTION importGraphics
static TOOL_ACTION placeBusWireEntry
static TOOL_ACTION showRemoteSymbolPanel
static TOOL_ACTION drawBezier
static TOOL_ACTION drawWire
static TOOL_ACTION compareSchematicWithFile
static TOOL_ACTION remapSymbols
static TOOL_ACTION editSymbolLibraryLinks
static TOOL_ACTION importSheet
static TOOL_ACTION generateBOM
static TOOL_ACTION showHierarchy
static TOOL_ACTION setExcludeFromSim
static TOOL_ACTION showNetNavigator
static TOOL_ACTION placeJunction
static TOOL_ACTION setDNP
static TOOL_ACTION markSimExclusions
static TOOL_ACTION drawRuleArea
static TOOL_ACTION placeSymbol
static TOOL_ACTION placeImage
static TOOL_ACTION navigateForward
static TOOL_ACTION toggleERCErrors
static TOOL_ACTION incrementAnnotations
static TOOL_ACTION navigatePrevious
static TOOL_ACTION setExcludeFromPosFiles
static TOOL_ACTION rescueSymbols
static TOOL_ACTION generateBOMLegacy
static TOOL_ACTION showSimulator
static TOOL_ACTION toggleOPVoltages
static TOOL_ACTION drawBus
static TOOL_ACTION runERC
Inspection and Editing.
static TOOL_ACTION drawTable
static TOOL_ACTION placeSchematicText
static TOOL_ACTION annotate
static TOOL_ACTION showDesignBlockPanel
static TOOL_ACTION updateSymbols
static TOOL_ACTION togglePinAltIcons
static TOOL_ACTION toggleERCExclusions
static TOOL_ACTION editTextAndGraphics
static TOOL_ACTION exportNetlist
static TOOL_ACTION placeNoConnect
static TOOL_ACTION editPageNumber
static TOOL_ACTION drawSheetOnClipboard
static TOOL_ACTION exportSymbolsToLibrary
static TOOL_ACTION toggleHiddenPins
static TOOL_ACTION setExcludeFromBoard
static TOOL_ACTION addVariant
static TOOL_ACTION importNonKicadSchematic
static TOOL_ACTION diffSymbol
static TOOL_ACTION placePower
static TOOL_ACTION navigateUp
void doReCreateMenuBar() override
PANEL_REMOTE_SYMBOL * m_remoteSymbolPane
@ INCREMENTAL
Git-based local history (default)
PGM_BASE & Pgm()
The global program "get" accessor.
Functors that can be used to figure out how the action controls should be displayed in the UI and if ...
ACTION_CONDITIONS & Enable(const SELECTION_CONDITION &aCondition)
BACKUP_FORMAT format
Backup format (incremental git history vs zip archives)
bool enabled
Automatically back up the project when files are saved.