86 wxCHECK( base_frame, );
90 wxMenuBar* oldMenuBar = base_frame->GetMenuBar();
99 fileMenu->AppendSeparator();
104 fileMenu->AppendSeparator();
107 fileMenu->AppendSeparator();
111 fileMenu->AppendSeparator();
123 viewMenu->AppendSeparator();
127 viewMenu->AppendSeparator();
136 viewMenu->AppendSeparator();
151 simulationMenu->AppendSeparator();
155 simulationMenu->AppendSeparator();
168 prefsMenu->AppendSeparator();
174 menuBar->Append( fileMenu,
_(
"&File" ) );
175 menuBar->Append( viewMenu,
_(
"&View" ) );
176 menuBar->Append( simulationMenu,
_(
"&Simulation" ) );
177 menuBar->Append( prefsMenu,
_(
"&Preferences" ) );
178 base_frame->AddStandardHelpMenu( menuBar );
180 base_frame->SetMenuBar( menuBar );
static TOOL_ACTION toggleGrid
static TOOL_ACTION zoomOutCenter
static TOOL_ACTION zoomRedo
static TOOL_ACTION openPreferences
static TOOL_ACTION zoomOutHorizontally
static TOOL_ACTION zoomOutVertically
static TOOL_ACTION zoomInHorizontally
static TOOL_ACTION zoomFitScreen
static TOOL_ACTION zoomInCenter
static TOOL_ACTION zoomInVertically
static TOOL_ACTION zoomUndo
Handle actions that are shared between different applications.
EDA_BASE_FRAME(wxWindow *aParent, FRAME_T aFrameType, const wxString &aTitle, const wxPoint &aPos, const wxSize &aSize, long aStyle, const wxString &aFrameName, KIWAY *aKiway, const EDA_IU_SCALE &aIuScale)
void AddMenuLanguageList(ACTION_MENU *aMasterMenu, TOOL_INTERACTIVE *aControlTool)
Create a menu list for language choice, and add it as submenu to MasterMenu.
static TOOL_ACTION toggleSimConsole
static TOOL_ACTION exportPlotToClipboard
static TOOL_ACTION saveWorkbookAs
static TOOL_ACTION toggleSimSidePanel
static TOOL_ACTION exportPlotAsCSV
static TOOL_ACTION simAnalysisProperties
static TOOL_ACTION toggleDottedSecondary
static TOOL_ACTION simTune
static TOOL_ACTION toggleDarkModePlots
static TOOL_ACTION exportPlotAsPNG
static TOOL_ACTION exportPlotToSchematic
static TOOL_ACTION runSimulation
static TOOL_ACTION editUserDefinedSignals
static TOOL_ACTION newAnalysisTab
static TOOL_ACTION simProbe
static TOOL_ACTION showNetlist
static TOOL_ACTION openWorkbook
static TOOL_ACTION saveWorkbook
static TOOL_ACTION toggleLegend
static TOOL_ACTION stopSimulation
void doReCreateMenuBar() override