|
KiCad PCB EDA Suite
|
The SIMULATOR_FRAME_UI holds the main user-interface for running simulations. More...
#include <simulator_frame_ui.h>
Classes | |
| struct | MULTI_RUN_STATE |
| struct | MULTI_RUN_STEP |
| struct | MULTI_RUN_TRACE |
Public Member Functions | |
| SIMULATOR_FRAME_UI (SIMULATOR_FRAME *aSimulatorFrame, SCH_EDIT_FRAME *aSchematicFrame) | |
| ~SIMULATOR_FRAME_UI () | |
| SIM_TAB * | NewSimTab (const wxString &aSimCommand) |
| Create a new simulation tab for a given simulation type. | |
| std::vector< wxString > | SimPlotVectors () const |
| std::vector< wxString > | Signals () const |
| const std::map< int, wxString > & | UserDefinedSignals () |
| void | SetUserDefinedSignals (const std::map< int, wxString > &aSignals) |
| void | CreateNewCursor () |
| Creates a column at the end of m_signalsGrid named "Cursor n" ( n = m_customCursorsCnt ), increases m_customCursorsCnt, emplaces a vector to m_cursorFormatsDyn, and update widgets. | |
| void | DeleteCursor () |
| Deletes last m_signalsGrid "Cursor n" column, removes vector's m_cursorFormatsDyn last entry, reduces m_customCursorsCnt by one, and update widgets. | |
| void | AddTrace (const wxString &aName, SIM_TRACE_TYPE aType) |
| Add a new trace to the current plot. | |
| SPICE_VALUE_FORMAT | GetCursorFormat (int aCursorId, int aValueCol) const |
| Get/Set the number of significant digits and the range for formatting a cursor value. | |
| void | SetCursorFormat (int aCursorId, int aValueCol, const SPICE_VALUE_FORMAT &aFormat) |
| void | AddTuner (const SCH_SHEET_PATH &aSheetPath, SCH_SYMBOL *aSymbol) |
| Add a tuner for a symbol. | |
| void | RemoveTuner (TUNER_SLIDER *aTuner) |
| Remove an existing tuner. | |
| void | UpdateTunerValue (const SCH_SHEET_PATH &aSheetPath, const KIID &aSymbol, const wxString &aRef, const wxString &aValue) |
| Safely update a field of the associated symbol without dereferencing the symbol. | |
| void | AddMeasurement (const wxString &aCmd) |
| Add a measurement to the measurements grid. | |
| void | DeleteMeasurement (int aRow) |
| Delete a row from the measurements grid. | |
| SPICE_VALUE_FORMAT | GetMeasureFormat (int aRow) const |
| Get/Set the format of a value in the measurements grid. | |
| void | SetMeasureFormat (int aRow, const SPICE_VALUE_FORMAT &aFormat) |
| void | UpdateMeasurement (int aRow) |
| Update a measurement in the measurements grid. | |
| void | DoFourier (const wxString &aSignal, const wxString &aFundamental) |
| const SPICE_CIRCUIT_MODEL * | GetExporter () const |
| Return the netlist exporter object used for simulations. | |
| bool | IsSimConsoleShown () |
| void | ToggleSimConsole () |
| bool | IsSimSidePanelShown () |
| void | ToggleSimSidePanel () |
| bool | DarkModePlots () const |
| void | ToggleDarkModePlots () |
| Toggle the current S-parameter tab between Smith chart and amplitude/phase views. | |
| void | ToggleSmithChart () |
| void | ShowChangedLanguage () |
| void | InitWorkbook () |
| Load the currently active workbook stored in the project settings. | |
| bool | LoadWorkbook (const wxString &aPath) |
| Load plot, signal, cursor, measurement, etc. | |
| bool | SaveWorkbook (const wxString &aPath) |
| Save plot, signal, cursor, measurement, etc. | |
| void | LoadSettings (EESCHEMA_SETTINGS *aCfg) |
| void | SaveSettings (EESCHEMA_SETTINGS *aCfg) |
| void | ApplyPreferences (const SIM_PREFERENCES &aPrefs) |
| Called when settings are changed via the common Preferences dialog. | |
| void | SetSubWindowsSashSize () |
| Adjust the sash dimension of splitter windows after reading the config settings must be called after the config settings are read, and once the frame is initialized (end of the Ctor) | |
| SIM_TAB * | GetCurrentSimTab () const |
| Return the currently opened plot panel (or NULL if there is none). | |
| SIM_TAB * | GetSimTab (SIM_TYPE aType) const |
| int | GetSimTabIndex (SIM_TAB *aPlot) const |
| bool | IsPlotOwnedByOtherTab (const SIM_TAB *aExcept, const wxString &aPlotName) const |
Return true if a tab other than aExcept records aPlotName as its ngspice plot. | |
| void | OnPlotSettingsChanged () |
| void | OnSimUpdate () |
| void | OnSimRefresh (bool aFinal) |
| void | FlushSimConsole () |
| void | OnModify () |
| void | m_splitterLeftRightOnIdle (wxIdleEvent &) |
| void | m_splitterPlotAndConsoleOnIdle (wxIdleEvent &) |
| void | m_splitterSignalsOnIdle (wxIdleEvent &) |
| void | m_splitterCursorsOnIdle (wxIdleEvent &) |
| void | m_splitterMeasurementsOnIdle (wxIdleEvent &) |
Public Attributes | |
| int | m_SuppressGridEvents |
Protected Attributes | |
| wxSplitterWindow * | m_splitterLeftRight |
| wxPanel * | m_panelLeft |
| wxBoxSizer * | m_sizer11 |
| wxSplitterWindow * | m_splitterPlotAndConsole |
| wxPanel * | m_plotPanel |
| wxBoxSizer * | m_sizerPlot |
| wxAuiNotebook * | m_plotNotebook |
| wxPanel * | m_panelConsole |
| wxBoxSizer * | m_sizerConsole |
| wxTextCtrl * | m_simConsole |
| wxPanel * | m_sidePanel |
| wxBoxSizer * | m_sideSizer |
| wxSplitterWindow * | m_splitterSignals |
| wxPanel * | m_panelSignals |
| wxSearchCtrl * | m_filter |
| WX_GRID * | m_signalsGrid |
| wxPanel * | m_panelCMT |
| wxSplitterWindow * | m_splitterCursors |
| wxPanel * | m_panelCursors |
| WX_GRID * | m_cursorsGrid |
| wxPanel * | m_panelMT |
| wxSplitterWindow * | m_splitterMeasurements |
| wxPanel * | m_panelMeasurements |
| WX_GRID * | m_measurementsGrid |
| wxPanel * | m_panelTuners |
| wxBoxSizer * | m_sizerTuners |
Private Member Functions | |
| wxString | vectorNameFromSignalName (SIM_PLOT_TAB *aPlotTab, const wxString &aSignalName, int *aTraceType) |
| Get the simulator output vector name for a given signal name and type. | |
| void | updateTrace (const wxString &aVectorName, int aTraceType, SIM_PLOT_TAB *aPlotTab, std::vector< double > *aDataX=nullptr, bool aClearData=false) |
| Update a trace in a particular SIM_PLOT_TAB. | |
| double | getSmithPortImpedance (const wxString &aVectorName) |
| void | TogglePanel (wxPanel *aPanel, wxSplitterWindow *aSplitterWindow, int &aSashPosition) |
| A common toggler for the two main wxSplitterWindow s. | |
| void | CustomCursorsInit () |
| Init handler for custom cursors. | |
| void | rebuildSignalsList () |
| Rebuild the list of signals available from the netlist. | |
| void | rebuildSignalsGrid (wxString aFilter) |
| Rebuild the filtered list of signals in the signals grid. | |
| void | updateSignalsGrid () |
| Update the values in the signals grid. | |
| void | updatePlotCursors () |
| Update the cursor values (in the grid) and graphics (in the plot window). | |
| template<typename T, typename U, typename R> | |
| void | signalsGridCursorUpdate (T t, U u, R r) |
| Updates m_signalsGrid cursor widget, column rendering and attributes. | |
| void | applyUserDefinedSignals () |
| Apply user-defined signals to the SPICE session. | |
| void | rebuildMeasurementsGrid () |
| Rebuild the measurements grid for the current plot. | |
| void | updateMeasurementsFromGrid () |
| void | applyTuners () |
| Apply component values specified using tuner sliders to the current netlist. | |
| SIM_TRACE_TYPE | getXAxisType (SIM_TYPE aType) const |
| Return X axis for a given simulation type. | |
| void | clearMultiRunState (bool aClearTraces) |
| void | prepareMultiRunState () |
| std::vector< MULTI_RUN_STEP > | calculateMultiRunSteps (const std::vector< TUNER_SLIDER * > &aTuners) const |
| std::string | multiRunTraceKey (const wxString &aVectorName, int aTraceType) const |
| void | recordMultiRunData (const wxString &aVectorName, int aTraceType, const std::vector< double > &aX, const std::vector< double > &aY) |
| bool | hasMultiRunTrace (const wxString &aVectorName, int aTraceType) const |
| wxString | getNoiseSource () const |
| void | parseTraceParams (SIM_PLOT_TAB *aPlotTab, TRACE *aTrace, const wxString &aSignalName, const wxString &aParams) |
| std::shared_ptr< SPICE_SIMULATOR > | simulator () const |
| std::shared_ptr< SPICE_CIRCUIT_MODEL > | circuitModel () const |
| void | onPlotClose (wxAuiNotebookEvent &event) override |
| void | onPlotClosed (wxAuiNotebookEvent &event) override |
| void | onPlotChanging (wxAuiNotebookEvent &event) override |
| void | onPlotChanged (wxAuiNotebookEvent &event) override |
| void | onPlotDragged (wxAuiNotebookEvent &event) override |
| void | OnFilterText (wxCommandEvent &aEvent) override |
| void | OnFilterMouseMoved (wxMouseEvent &aEvent) override |
| void | onSignalsGridCellChanged (wxGridEvent &aEvent) override |
| void | onCursorsGridCellChanged (wxGridEvent &aEvent) override |
| void | onMeasurementsGridCellChanged (wxGridEvent &aEvent) override |
| void | OnUpdateUI (wxUpdateUIEvent &event) override |
| bool | loadLegacyWorkbook (const wxString &aPath) |
| bool | loadJsonWorkbook (const wxString &aPath) |
| void | SaveCursorToWorkbook (nlohmann::json &aTraceJs, TRACE *aTrace, int aCursorId) |
| void | onPlotCursorUpdate (wxCommandEvent &aEvent) |
Private Attributes | |
| SIMULATOR_FRAME * | m_simulatorFrame |
| SCH_EDIT_FRAME * | m_schematicFrame |
| std::vector< wxString > | m_signals |
| std::map< int, wxString > | m_userDefinedSignals |
| std::list< TUNER_SLIDER * > | m_tuners |
| std::map< const TUNER_SLIDER *, double > | m_tunerOverrides |
| MULTI_RUN_STATE | m_multiRunState |
| SPICE expressions need quoted versions of the netnames since KiCad allows '-' and '/' in netnames. | |
| std::vector< wxString > | m_netnames |
| SPICE_VALUE_FORMAT | m_cursorFormats [3][2] |
| std::vector< std::vector< SPICE_VALUE_FORMAT > > | m_cursorFormatsDyn |
| int | m_splitterLeftRightSashPosition |
| int | m_splitterPlotAndConsoleSashPosition |
| int | m_splitterSignalsSashPosition |
| int | m_splitterCursorsSashPosition |
| int | m_splitterTuneValuesSashPosition |
| bool | m_darkMode |
| unsigned int | m_plotNumber |
| wxTimer | m_refreshTimer |
| SIM_PREFERENCES | m_preferences |
| int | m_customCursorsCnt |
The SIMULATOR_FRAME_UI holds the main user-interface for running simulations.
It contains a workbook with multiple tabs, each tab holding a SIM_PLOT_TAB, a specific simulation command (.TRAN, .AC, etc.), and simulation settings (save all currents, etc.).
Each plot can have multiple TRACEs. While internally each TRACE can have multiple cursors, the GUI supports only two cursors (and a differential cursor) for each plot.
TRACEs are identified by a signal (V(OUT), I(R2), etc.) and a type (SPT_VOLTAGE, SPT_AC_PHASE, etc.).
The simulator outputs simple signals in a vector of the same name. Complex signals (such as V(OUT) / V(IN)) are stored in vectors of the format "user%d".
Definition at line 65 of file simulator_frame_ui.h.
| SIMULATOR_FRAME_UI::SIMULATOR_FRAME_UI | ( | SIMULATOR_FRAME * | aSimulatorFrame, |
| SCH_EDIT_FRAME * | aSchematicFrame ) |
Definition at line 544 of file simulator_frame_ui.cpp.
References _, COL_CURSOR_NAME, COL_CURSOR_SIGNAL, COL_CURSOR_Y, COL_MEASUREMENT_VALUE, COL_SIGNAL_NAME, CustomCursorsInit(), SIM_PLOT_COLORS::FillDefaultColorList(), KIUI::GetStatusFont(), ID_SIM_REFRESH, LoadSettings(), SIMULATOR_FRAME_UI_BASE::m_cursorsGrid, m_darkMode, SIMULATOR_FRAME_UI_BASE::m_filter, SIMULATOR_FRAME_UI_BASE::m_measurementsGrid, SIMULATOR_FRAME_UI_BASE::m_plotNotebook, m_plotNumber, m_refreshTimer, m_schematicFrame, SIMULATOR_FRAME_UI_BASE::m_signalsGrid, m_simulatorFrame, m_SuppressGridEvents, onPlotCursorUpdate(), OnSimRefresh(), REFRESH_INTERVAL, and SIMULATOR_FRAME_UI_BASE::SIMULATOR_FRAME_UI_BASE().
| SIMULATOR_FRAME_UI::~SIMULATOR_FRAME_UI | ( | ) |
Definition at line 610 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_cursorsGrid, SIMULATOR_FRAME_UI_BASE::m_measurementsGrid, and SIMULATOR_FRAME_UI_BASE::m_signalsGrid.
| void SIMULATOR_FRAME_UI::AddMeasurement | ( | const wxString & | aCmd | ) |
Add a measurement to the measurements grid.
Definition at line 1788 of file simulator_frame_ui.cpp.
References COL_MEASUREMENT, GetCurrentSimTab(), SIMULATOR_FRAME_UI_BASE::m_measurementsGrid, OnModify(), UpdateMeasurement(), and updateMeasurementsFromGrid().
| void SIMULATOR_FRAME_UI::AddTrace | ( | const wxString & | aName, |
| SIM_TRACE_TYPE | aType ) |
Add a new trace to the current plot.
| aName | is the device/net name. |
| aType | describes the type of trace. |
Definition at line 1846 of file simulator_frame_ui.cpp.
References _, SPICE_CIRCUIT_MODEL::CommandToSimType(), GetCurrentSimTab(), SIM_TAB::IsPlottable(), SIMULATOR_FRAME_UI_BASE::m_simConsole, OnModify(), SPT_AC_GAIN, SPT_AC_PHASE, SPT_SP_AMP, SPT_SP_SMITH, ST_AC, ST_SP, ST_UNKNOWN, updateSignalsGrid(), and updateTrace().
| void SIMULATOR_FRAME_UI::AddTuner | ( | const SCH_SHEET_PATH & | aSheetPath, |
| SCH_SYMBOL * | aSymbol ) |
Add a tuner for a symbol.
Definition at line 1683 of file simulator_frame_ui.cpp.
References _, DisplayErrorMessage(), GetCurrentSimTab(), GetExporter(), SCH_SYMBOL::GetRef(), SIMULATOR_FRAME_UI_BASE::m_panelTuners, SIMULATOR_FRAME_UI_BASE::m_sizerTuners, m_tuners, OnModify(), and KI_PARAM_ERROR::What().
| void SIMULATOR_FRAME_UI::ApplyPreferences | ( | const SIM_PREFERENCES & | aPrefs | ) |
Called when settings are changed via the common Preferences dialog.
Definition at line 781 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_plotNotebook, and m_preferences.
|
private |
Apply component values specified using tuner sliders to the current netlist.
Definition at line 2460 of file simulator_frame_ui.cpp.
References _, SPICE_SIMULATOR::Command(), DisplayErrorMessage(), NETLIST_EXPORTER_SPICE::FindItem(), GetExporter(), SIM_MODEL::GetTunerParam(), m_tunerOverrides, m_tuners, SPICE_ITEM::model, reporter, SCH_SHEET_PATH::ResolveItem(), simulator(), SIM_MODEL::SpiceGenerator(), and SPICE_GENERATOR::TunerCommand().
Referenced by OnSimUpdate().
|
private |
Apply user-defined signals to the SPICE session.
Definition at line 2349 of file simulator_frame_ui.cpp.
References SPICE_SIMULATOR::Command(), m_netnames, m_userDefinedSignals, simulator(), and ToStdString().
Referenced by OnSimRefresh(), and SetUserDefinedSignals().
|
private |
Definition at line 4153 of file simulator_frame_ui.cpp.
References ADVANCED_CFG::GetCfg(), ADVANCED_CFG::m_SimulatorMultiRunCombinationLimit, and SIMULATOR_FRAME_UI::MULTI_RUN_STEP::overrides.
Referenced by prepareMultiRunState().
|
private |
Definition at line 3548 of file simulator_frame_ui.cpp.
References m_simulatorFrame.
Referenced by GetExporter(), getNoiseSource(), getSmithPortImpedance(), InitWorkbook(), OnSimRefresh(), rebuildSignalsList(), and updateTrace().
|
private |
Definition at line 4076 of file simulator_frame_ui.cpp.
References m_multiRunState, and m_tunerOverrides.
Referenced by prepareMultiRunState(), and RemoveTuner().
| void SIMULATOR_FRAME_UI::CreateNewCursor | ( | ) |
Creates a column at the end of m_signalsGrid named "Cursor n" ( n = m_customCursorsCnt ), increases m_customCursorsCnt, emplaces a vector to m_cursorFormatsDyn, and update widgets.
Definition at line 661 of file simulator_frame_ui.cpp.
References _, COL_CURSOR_2, m_cursorFormatsDyn, m_customCursorsCnt, SIMULATOR_FRAME_UI_BASE::m_signalsGrid, OnModify(), updatePlotCursors(), and updateSignalsGrid().
Referenced by loadJsonWorkbook().
|
private |
Init handler for custom cursors.
Called once in class's body
Definition at line 619 of file simulator_frame_ui.cpp.
References _, index, m_cursorFormats, m_cursorFormatsDyn, m_customCursorsCnt, and SIMULATOR_FRAME_UI_BASE::m_signalsGrid.
Referenced by SIMULATOR_FRAME_UI().
|
inline |
Definition at line 179 of file simulator_frame_ui.h.
References m_darkMode.
| void SIMULATOR_FRAME_UI::DeleteCursor | ( | ) |
Deletes last m_signalsGrid "Cursor n" column, removes vector's m_cursorFormatsDyn last entry, reduces m_customCursorsCnt by one, and update widgets.
Definition at line 686 of file simulator_frame_ui.cpp.
References COL_CURSOR_2, m_cursorFormatsDyn, m_customCursorsCnt, SIMULATOR_FRAME_UI_BASE::m_plotNotebook, SIMULATOR_FRAME_UI_BASE::m_signalsGrid, OnModify(), onSignalsGridCellChanged(), updatePlotCursors(), and updateSignalsGrid().
| void SIMULATOR_FRAME_UI::DeleteMeasurement | ( | int | aRow | ) |
Delete a row from the measurements grid.
Definition at line 1491 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_measurementsGrid.
| void SIMULATOR_FRAME_UI::DoFourier | ( | const wxString & | aSignal, |
| const wxString & | aFundamental ) |
Definition at line 1830 of file simulator_frame_ui.cpp.
References SPICE_SIMULATOR::Command(), and simulator().
| void SIMULATOR_FRAME_UI::FlushSimConsole | ( | ) |
Definition at line 3777 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_simConsole, and m_simulatorFrame.
Referenced by OnSimRefresh().
|
inline |
Return the currently opened plot panel (or NULL if there is none).
Definition at line 223 of file simulator_frame_ui.h.
References SIMULATOR_FRAME_UI_BASE::m_plotNotebook.
Referenced by AddMeasurement(), AddTrace(), AddTuner(), getNoiseSource(), loadJsonWorkbook(), loadLegacyWorkbook(), onCursorsGridCellChanged(), onMeasurementsGridCellChanged(), onPlotChanged(), onPlotClosed(), onSignalsGridCellChanged(), OnSimRefresh(), OnSimUpdate(), OnUpdateUI(), rebuildMeasurementsGrid(), rebuildSignalsGrid(), rebuildSignalsList(), signalsGridCursorUpdate(), ToggleSmithChart(), UpdateMeasurement(), updateMeasurementsFromGrid(), and updatePlotCursors().
|
inline |
Get/Set the number of significant digits and the range for formatting a cursor value.
| aValueCol | 0 indicates the X value column; 1 the Y value. |
Definition at line 112 of file simulator_frame_ui.h.
References m_cursorFormatsDyn.
| const SPICE_CIRCUIT_MODEL * SIMULATOR_FRAME_UI::GetExporter | ( | ) | const |
Return the netlist exporter object used for simulations.
Definition at line 1840 of file simulator_frame_ui.cpp.
References circuitModel().
Referenced by AddTuner(), and applyTuners().
| SPICE_VALUE_FORMAT SIMULATOR_FRAME_UI::GetMeasureFormat | ( | int | aRow | ) | const |
Get/Set the format of a value in the measurements grid.
Definition at line 1477 of file simulator_frame_ui.cpp.
References COL_MEASUREMENT_FORMAT, SIMULATOR_FRAME_UI_BASE::m_measurementsGrid, and result.
Referenced by UpdateMeasurement().
|
private |
Definition at line 3115 of file simulator_frame_ui.cpp.
References circuitModel(), GetCurrentSimTab(), SPICE_CIRCUIT_MODEL::ParseNoiseCommand(), and scale.
Referenced by vectorNameFromSignalName().
Definition at line 228 of file simulator_frame_ui.h.
References SIM_TAB::GetSimType(), and SIMULATOR_FRAME_UI_BASE::m_plotNotebook.
|
inline |
Definition at line 241 of file simulator_frame_ui.h.
References SIMULATOR_FRAME_UI_BASE::m_plotNotebook.
|
private |
Definition at line 1973 of file simulator_frame_ui.cpp.
References circuitModel(), SMITH_MATH::ParseSParamPorts(), SIM_VALUE::ToDouble(), SIM_VALUE::ToSpice(), and SIM_MODEL::PARAM::value.
Referenced by updateTrace().
|
private |
Return X axis for a given simulation type.
Definition at line 3096 of file simulator_frame_ui.cpp.
References SPT_LIN_FREQUENCY, SPT_SWEEP, SPT_TIME, SPT_UNKNOWN, ST_AC, ST_DC, ST_FFT, ST_NOISE, ST_SP, and ST_TRAN.
Referenced by updateTrace().
|
private |
Definition at line 4267 of file simulator_frame_ui.cpp.
References m_multiRunState, multiRunTraceKey(), SIMULATOR_FRAME_UI::MULTI_RUN_TRACE::xValues, and SIMULATOR_FRAME_UI::MULTI_RUN_TRACE::yValues.
Referenced by updateTrace().
| void SIMULATOR_FRAME_UI::InitWorkbook | ( | ) |
Load the currently active workbook stored in the project settings.
If there is none, generate a filename for the currently active workbook and store it in the project settings.
Definition at line 793 of file simulator_frame_ui.cpp.
References _, circuitModel(), SPICE_CIRCUIT_MODEL::GetSchTextSimCommand(), SPICE_SETTINGS::GetWorkbookFilename(), LoadWorkbook(), SIMULATOR_FRAME_UI_BASE::m_filter, m_schematicFrame, m_simulatorFrame, NewSimTab(), NETLIST_EXPORTER_SPICE::OPTION_DEFAULT_FLAGS, rebuildSignalsGrid(), rebuildSignalsList(), SIM_TAB::SetSimOptions(), SPICE_SIMULATOR::Settings(), SPICE_SETTINGS::SetWorkbookFilename(), and simulator().
|
inline |
Return true if a tab other than aExcept records aPlotName as its ngspice plot.
Guards plot destruction so a rerun never frees a plot another tab still references (e.g. an FFT that consumes a TRAN plot, or a run that produced no new plot and reported a stale one).
Definition at line 252 of file simulator_frame_ui.h.
References SIM_TAB::GetSpicePlotName(), and SIMULATOR_FRAME_UI_BASE::m_plotNotebook.
| bool SIMULATOR_FRAME_UI::IsSimConsoleShown | ( | ) |
Definition at line 3155 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_panelConsole.
| bool SIMULATOR_FRAME_UI::IsSimSidePanelShown | ( | ) |
Definition at line 3167 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_sidePanel.
|
private |
Definition at line 2546 of file simulator_frame_ui.cpp.
References CreateNewCursor(), cursor, SIM_PLOT_TAB::EnableCursor(), SIM_PLOT_TAB::EnsureThirdYAxisExists(), GetCurrentSimTab(), SIM_PLOT_TAB::GetPlotWin(), mpWindow::LockY(), m_cursorFormatsDyn, m_customCursorsCnt, SIMULATOR_FRAME_UI_BASE::m_plotNotebook, m_simulatorFrame, m_userDefinedSignals, SIM_PLOT_TAB::Measurements(), name, NewSimTab(), NETLIST_EXPORTER_SPICE::OPTION_ADJUST_INCLUDE_PATHS, NETLIST_EXPORTER_SPICE::OPTION_ADJUST_PASSIVE_VALS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_CURRENTS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_DISSIPATIONS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_EVENTS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_VOLTAGES, SIM_PLOT_TAB::SetDottedSecondary(), SIM_PLOT_TAB::SetLegendPosition(), mpWindow::SetMargins(), SIM_TAB::SetSimOptions(), SIM_PLOT_TAB::SetSmithMode(), SIM_PLOT_TAB::SetSmithView(), TRACE::SetTraceColour(), SIM_PLOT_TAB::SetY1Scale(), SIM_PLOT_TAB::SetY2Scale(), SIM_PLOT_TAB::SetY3Scale(), SIM_PLOT_TAB::ShowGrid(), SIM_PLOT_TAB::ShowLegend(), SIM_PLOT_TAB::SmithStashedCursors(), SIM_PLOT_TAB::SmithStashedTraces(), SPT_UNKNOWN, traceSettings, and vectorNameFromSignalName().
Referenced by LoadWorkbook().
|
private |
Definition at line 109 of file legacy_workbook.cpp.
References _, EXPECTING, GetCurrentSimTab(), SIMULATOR_FRAME_UI_BASE::m_plotNotebook, m_simulatorFrame, m_userDefinedSignals, measurement, SIM_PLOT_TAB::Measurements(), name, NewSimTab(), NETLIST_EXPORTER_SPICE::OPTION_ADJUST_INCLUDE_PATHS, NETLIST_EXPORTER_SPICE::OPTION_DEFAULT_FLAGS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_CURRENTS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_DISSIPATIONS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_VOLTAGES, parseTraceParams(), SIM_TAB::SetLastSchTextSimCommand(), SIM_TAB::SetSimOptions(), SPT_UNKNOWN, UnescapeString(), and vectorNameFromSignalName().
Referenced by LoadWorkbook().
| void SIMULATOR_FRAME_UI::LoadSettings | ( | EESCHEMA_SETTINGS * | aCfg | ) |
Definition at line 752 of file simulator_frame_ui.cpp.
References EESCHEMA_SETTINGS::SIMULATOR::VIEW::cursors_panel_height, m_darkMode, m_preferences, EESCHEMA_SETTINGS::m_Simulator, m_splitterCursorsSashPosition, m_splitterLeftRightSashPosition, m_splitterPlotAndConsoleSashPosition, m_splitterSignalsSashPosition, m_splitterTuneValuesSashPosition, EESCHEMA_SETTINGS::SIMULATOR::VIEW::measurements_panel_height, EESCHEMA_SETTINGS::SIMULATOR::VIEW::plot_panel_height, EESCHEMA_SETTINGS::SIMULATOR::VIEW::plot_panel_width, EESCHEMA_SETTINGS::SIMULATOR::preferences, EESCHEMA_SETTINGS::SIMULATOR::VIEW::signal_panel_height, EESCHEMA_SETTINGS::SIMULATOR::view, and EESCHEMA_SETTINGS::SIMULATOR::VIEW::white_background.
Referenced by SIMULATOR_FRAME_UI().
| bool SIMULATOR_FRAME_UI::LoadWorkbook | ( | const wxString & | aPath | ) |
Load plot, signal, cursor, measurement, etc.
settings from a file.
Definition at line 2502 of file simulator_frame_ui.cpp.
References dummy, loadJsonWorkbook(), loadLegacyWorkbook(), SIMULATOR_FRAME_UI_BASE::m_filter, SIMULATOR_FRAME_UI_BASE::m_plotNotebook, m_schematicFrame, m_userDefinedSignals, rebuildMeasurementsGrid(), rebuildSignalsGrid(), rebuildSignalsList(), SPICE_SIMULATOR::Settings(), SPICE_SETTINGS::SetWorkbookFilename(), simulator(), updatePlotCursors(), and updateSignalsGrid().
Referenced by InitWorkbook().
|
inlineinherited |
Definition at line 103 of file simulator_frame_ui_base.h.
References m_splitterCursors, and m_splitterCursorsOnIdle().
Referenced by m_splitterCursorsOnIdle(), and SIMULATOR_FRAME_UI_BASE().
|
inlineinherited |
Definition at line 85 of file simulator_frame_ui_base.h.
References m_splitterLeftRight, and m_splitterLeftRightOnIdle().
Referenced by m_splitterLeftRightOnIdle(), and SIMULATOR_FRAME_UI_BASE().
|
inlineinherited |
Definition at line 109 of file simulator_frame_ui_base.h.
References m_splitterMeasurements, and m_splitterMeasurementsOnIdle().
Referenced by m_splitterMeasurementsOnIdle(), and SIMULATOR_FRAME_UI_BASE().
|
inlineinherited |
Definition at line 91 of file simulator_frame_ui_base.h.
References m_splitterPlotAndConsole, and m_splitterPlotAndConsoleOnIdle().
Referenced by m_splitterPlotAndConsoleOnIdle(), and SIMULATOR_FRAME_UI_BASE().
|
inlineinherited |
Definition at line 97 of file simulator_frame_ui_base.h.
References m_splitterSignals, and m_splitterSignalsOnIdle().
Referenced by m_splitterSignalsOnIdle(), and SIMULATOR_FRAME_UI_BASE().
|
private |
Definition at line 4226 of file simulator_frame_ui.cpp.
Referenced by hasMultiRunTrace(), recordMultiRunData(), and updateTrace().
| SIM_TAB * SIMULATOR_FRAME_UI::NewSimTab | ( | const wxString & | aSimCommand | ) |
Create a new simulation tab for a given simulation type.
| aSimCommand | is requested simulation command. |
Definition at line 1175 of file simulator_frame_ui.cpp.
References _, SIM_PLOT_TAB::ApplyPreferences(), SPICE_CIRCUIT_MODEL::CommandToSimType(), SIM_TAB::IsPlottable(), SIMULATOR_FRAME_UI_BASE::m_plotNotebook, m_plotNumber, m_preferences, and simulator().
Referenced by InitWorkbook(), loadJsonWorkbook(), and loadLegacyWorkbook().
|
overrideprivatevirtual |
Reimplemented from SIMULATOR_FRAME_UI_BASE.
Definition at line 1406 of file simulator_frame_ui.cpp.
References _, COL_CURSOR_NAME, COL_CURSOR_X, cursor, CURSOR::GetCoords(), GetCurrentSimTab(), SIM_PLOT_TAB::GetTraces(), SIMULATOR_FRAME_UI_BASE::m_cursorsGrid, m_customCursorsCnt, m_SuppressGridEvents, name, OnModify(), CURSOR::SetCoordX(), text, SPICE_VALUE::ToDouble(), and updatePlotCursors().
|
overrideprivatevirtual |
Reimplemented from SIMULATOR_FRAME_UI_BASE.
Definition at line 1206 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_filter.
|
overrideprivatevirtual |
Reimplemented from SIMULATOR_FRAME_UI_BASE.
Definition at line 1200 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_filter, and rebuildSignalsGrid().
|
overrideprivatevirtual |
Reimplemented from SIMULATOR_FRAME_UI_BASE.
Definition at line 1498 of file simulator_frame_ui.cpp.
References COL_MEASUREMENT, GetCurrentSimTab(), SIMULATOR_FRAME_UI_BASE::m_measurementsGrid, OnModify(), UpdateMeasurement(), and updateMeasurementsFromGrid().
| void SIMULATOR_FRAME_UI::OnModify | ( | ) |
Definition at line 4281 of file simulator_frame_ui.cpp.
References m_simulatorFrame.
Referenced by AddMeasurement(), AddTrace(), AddTuner(), CreateNewCursor(), DeleteCursor(), onCursorsGridCellChanged(), onMeasurementsGridCellChanged(), onPlotClose(), onPlotCursorUpdate(), onSignalsGridCellChanged(), OnUpdateUI(), RemoveTuner(), SetUserDefinedSignals(), and ToggleSmithChart().
|
overrideprivatevirtual |
Reimplemented from SIMULATOR_FRAME_UI_BASE.
Definition at line 3500 of file simulator_frame_ui.cpp.
References SPICE_SIMULATOR::Command(), GetCurrentSimTab(), OnPlotSettingsChanged(), simulator(), and updateSignalsGrid().
|
overrideprivatevirtual |
Reimplemented from SIMULATOR_FRAME_UI_BASE.
Definition at line 3479 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_measurementsGrid.
|
overrideprivatevirtual |
Reimplemented from SIMULATOR_FRAME_UI_BASE.
Definition at line 3429 of file simulator_frame_ui.cpp.
References OnModify().
|
overrideprivatevirtual |
Reimplemented from SIMULATOR_FRAME_UI_BASE.
Definition at line 3435 of file simulator_frame_ui.cpp.
References GetCurrentSimTab(), SIM_TAB::GetSimType(), SIMULATOR_FRAME_UI_BASE::m_filter, m_schematicFrame, rebuildSignalsGrid(), rebuildSignalsList(), ST_OP, updatePlotCursors(), and updateSignalsGrid().
|
private |
Definition at line 3752 of file simulator_frame_ui.cpp.
References OnModify(), and updatePlotCursors().
Referenced by SetCursorFormat(), and SIMULATOR_FRAME_UI().
|
overrideprivatevirtual |
Reimplemented from SIMULATOR_FRAME_UI_BASE.
Definition at line 3537 of file simulator_frame_ui.cpp.
| void SIMULATOR_FRAME_UI::OnPlotSettingsChanged | ( | ) |
Definition at line 3487 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_filter, SIMULATOR_FRAME_UI_BASE::m_measurementsGrid, rebuildMeasurementsGrid(), rebuildSignalsGrid(), rebuildSignalsList(), UpdateMeasurement(), and updatePlotCursors().
Referenced by onPlotChanged().
|
overrideprivatevirtual |
Reimplemented from SIMULATOR_FRAME_UI_BASE.
Definition at line 1322 of file simulator_frame_ui.cpp.
References COL_CURSOR_1, COL_CURSOR_2, COL_SIGNAL_COLOR, COL_SIGNAL_NAME, COL_SIGNAL_SHOW, SIM_PLOT_TAB::DeleteTrace(), SIM_PLOT_TAB::DisableCursor(), SIM_PLOT_TAB::EnableCursor(), GetCurrentSimTab(), SIM_PLOT_TAB::GetPlotWin(), SIM_PLOT_TAB::GetTrace(), SIM_PLOT_TAB::GetTraces(), TRACE::HasCursor(), m_cursorFormats, m_cursorFormatsDyn, SIMULATOR_FRAME_UI_BASE::m_signalsGrid, m_SuppressGridEvents, name, OnModify(), TRACE::SetTraceColour(), SPT_UNKNOWN, text, KIGFX::COLOR4D::ToColour(), mpWindow::UpdateAll(), SIM_PLOT_TAB::UpdatePlotColors(), updatePlotCursors(), updateSignalsGrid(), updateTrace(), SIM_PLOT_TAB::UpdateTraceStyle(), and vectorNameFromSignalName().
Referenced by DeleteCursor().
| void SIMULATOR_FRAME_UI::OnSimRefresh | ( | bool | aFinal | ) |
Definition at line 3817 of file simulator_frame_ui.cpp.
References _, applyUserDefinedSignals(), circuitModel(), SPICE_SIMULATOR::Command(), SPICE_SIMULATOR::CurrentPlotName(), SIM_PLOT_TAB::DeleteTrace(), mpWindow::Fit(), FlushSimConsole(), GetCurrentSimTab(), SIM_PLOT_TAB::GetPlotWin(), SPICE_SIMULATOR::GetRealVector(), SIM_TAB::GetSimType(), SIM_TAB::GetSpicePlotName(), SIM_PLOT_TAB::GetTrace(), SIM_PLOT_TAB::GetTraces(), info, SIM_TAB::IsPlottable(), SIMULATOR_FRAME_UI_BASE::m_measurementsGrid, m_multiRunState, m_refreshTimer, m_schematicFrame, m_signals, SIMULATOR_FRAME_UI_BASE::m_simConsole, m_simulatorFrame, m_tunerOverrides, m_userDefinedSignals, name, SIM_PLOT_TAB::ResetScales(), SIM_TAB::SetSpicePlotName(), simulator(), SPT_AC_GAIN, SPT_AC_PHASE, SPT_CURRENT, SPT_POWER, SPT_SP_AMP, SPT_SP_MASK, SPT_SP_SMITH, SPT_UNKNOWN, SPT_VOLTAGE, ST_AC, ST_FFT, ST_NOISE, ST_OP, ST_PZ, ST_SP, SPICE_VALUE::ToSpiceString(), mpWindow::UpdateAll(), UpdateMeasurement(), updatePlotCursors(), updateSignalsGrid(), updateTrace(), vectorNameFromSignalName(), and SPICE_CIRCUIT_MODEL::VectorToSignal().
Referenced by SIMULATOR_FRAME_UI().
| void SIMULATOR_FRAME_UI::OnSimUpdate | ( | ) |
Definition at line 3759 of file simulator_frame_ui.cpp.
References applyTuners(), GetCurrentSimTab(), m_refreshTimer, SIMULATOR_FRAME_UI_BASE::m_simConsole, m_simulatorFrame, prepareMultiRunState(), and REFRESH_INTERVAL.
|
overrideprivatevirtual |
Reimplemented from SIMULATOR_FRAME_UI_BASE.
Definition at line 1544 of file simulator_frame_ui.cpp.
References GetCurrentSimTab(), and OnModify().
|
private |
Definition at line 35 of file legacy_workbook.cpp.
References mpWindow::AddLayer(), CURSOR, cursor, SIM_PLOT_TAB::GetPlotWin(), m_cursorFormats, TRACE::SetCursor(), SIM_PLOT_TAB::SetDottedSecondary(), TRACE::SetTraceColour(), SIM_PLOT_TAB::ShowGrid(), and SIM_PLOT_TAB::UpdateTraceStyle().
Referenced by loadLegacyWorkbook().
|
private |
Definition at line 4094 of file simulator_frame_ui.cpp.
References calculateMultiRunSteps(), clearMultiRunState(), m_multiRunState, m_tunerOverrides, m_tuners, TUNER_SLIDER::MULTI, and SIMULATOR_FRAME_UI::MULTI_RUN_STEP::overrides.
Referenced by OnSimUpdate().
|
private |
Rebuild the measurements grid for the current plot.
Definition at line 3514 of file simulator_frame_ui.cpp.
References COL_MEASUREMENT, COL_MEASUREMENT_FORMAT, GetCurrentSimTab(), SIMULATOR_FRAME_UI_BASE::m_measurementsGrid, measurement, ST_AC, ST_DC, ST_SP, and ST_TRAN.
Referenced by LoadWorkbook(), and OnPlotSettingsChanged().
|
private |
Rebuild the filtered list of signals in the signals grid.
Definition at line 875 of file simulator_frame_ui.cpp.
References _, COL_CURSOR_1, COL_CURSOR_2, COL_SIGNAL_COLOR, COL_SIGNAL_NAME, COL_SIGNAL_SHOW, CTX_SIGNAL, EDA_COMBINED_MATCHER::Find(), GetCurrentSimTab(), TRACE::GetCursor(), mpLayer::GetPen(), SIM_TAB::GetSimCommand(), SIM_TAB::GetSimType(), SIM_PLOT_TAB::GetTrace(), SIM_PLOT_TAB::IsSmithMode(), m_customCursorsCnt, m_signals, SIMULATOR_FRAME_UI_BASE::m_signalsGrid, m_userDefinedSignals, sortSignals(), SPT_UNKNOWN, ST_AC, ST_FFT, ST_SP, KIGFX::COLOR4D::ToCSSString(), and vectorNameFromSignalName().
Referenced by InitWorkbook(), LoadWorkbook(), OnFilterText(), onPlotClosed(), OnPlotSettingsChanged(), SetUserDefinedSignals(), and ToggleSmithChart().
|
private |
Rebuild the list of signals available from the netlist.
Note: this is not the filtered list. See rebuildSignalsGrid() for that.
Definition at line 1028 of file simulator_frame_ui.cpp.
References _, circuitModel(), NETLIST_EXPORTER_SPICE::ConvertToSpiceMarkup(), GetCurrentSimTab(), SIM_TAB::GetSimType(), SIM_PLOT_TAB::IsSmithMode(), m_netnames, m_signals, m_simulatorFrame, name, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_CURRENTS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_DISSIPATIONS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_VOLTAGES, ST_AC, ST_DC, ST_FFT, ST_NOISE, ST_SP, ST_TRAN, ST_UNKNOWN, SIM_VALUE::ToSpice(), and UnescapeString().
Referenced by InitWorkbook(), LoadWorkbook(), onPlotClosed(), OnPlotSettingsChanged(), SetUserDefinedSignals(), and ToggleSmithChart().
|
private |
Definition at line 4232 of file simulator_frame_ui.cpp.
References index, m_multiRunState, multiRunTraceKey(), SPT_SP_SMITH, SIMULATOR_FRAME_UI::MULTI_RUN_TRACE::traceType, SIMULATOR_FRAME_UI::MULTI_RUN_TRACE::xRuns, SIMULATOR_FRAME_UI::MULTI_RUN_TRACE::xValues, and SIMULATOR_FRAME_UI::MULTI_RUN_TRACE::yValues.
Referenced by updateTrace().
| void SIMULATOR_FRAME_UI::RemoveTuner | ( | TUNER_SLIDER * | aTuner | ) |
Remove an existing tuner.
Definition at line 1770 of file simulator_frame_ui.cpp.
References clearMultiRunState(), m_multiRunState, SIMULATOR_FRAME_UI_BASE::m_panelTuners, m_tunerOverrides, m_tuners, and OnModify().
|
private |
Definition at line 2841 of file simulator_frame_ui.cpp.
References cursor, TRACE::GetCursor(), and m_cursorFormatsDyn.
Referenced by SaveWorkbook().
| void SIMULATOR_FRAME_UI::SaveSettings | ( | EESCHEMA_SETTINGS * | aCfg | ) |
Definition at line 768 of file simulator_frame_ui.cpp.
References EESCHEMA_SETTINGS::SIMULATOR::VIEW::cursors_panel_height, m_darkMode, EESCHEMA_SETTINGS::m_Simulator, SIMULATOR_FRAME_UI_BASE::m_splitterCursors, SIMULATOR_FRAME_UI_BASE::m_splitterLeftRight, SIMULATOR_FRAME_UI_BASE::m_splitterMeasurements, SIMULATOR_FRAME_UI_BASE::m_splitterPlotAndConsole, SIMULATOR_FRAME_UI_BASE::m_splitterSignals, EESCHEMA_SETTINGS::SIMULATOR::VIEW::measurements_panel_height, EESCHEMA_SETTINGS::SIMULATOR::VIEW::plot_panel_height, EESCHEMA_SETTINGS::SIMULATOR::VIEW::plot_panel_width, EESCHEMA_SETTINGS::SIMULATOR::VIEW::signal_panel_height, EESCHEMA_SETTINGS::SIMULATOR::view, and EESCHEMA_SETTINGS::SIMULATOR::VIEW::white_background.
| bool SIMULATOR_FRAME_UI::SaveWorkbook | ( | const wxString & | aPath | ) |
Save plot, signal, cursor, measurement, etc.
settings to a file.
Definition at line 2874 of file simulator_frame_ui.cpp.
References _, SIM_TAB::GetLastSchTextSimCommand(), mpWindow::GetMarginBottom(), mpWindow::GetMarginLeft(), mpWindow::GetMarginRight(), mpWindow::GetMarginTop(), SIM_TAB::GetSimCommand(), SIM_TAB::GetSimOptions(), SIM_TAB::GetSimType(), m_cursorFormatsDyn, m_customCursorsCnt, SIMULATOR_FRAME_UI_BASE::m_plotNotebook, m_schematicFrame, m_userDefinedSignals, measurement, name, NETLIST_EXPORTER_SPICE::OPTION_ADJUST_INCLUDE_PATHS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_CURRENTS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_DISSIPATIONS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_EVENTS, NETLIST_EXPORTER_SPICE::OPTION_SAVE_ALL_VOLTAGES, res, SaveCursorToWorkbook(), SPICE_SIMULATOR::Settings(), SPICE_SETTINGS::SetWorkbookFilename(), simulator(), KIGFX::COLOR4D::ToCSSString(), SPICE_SIMULATOR::TypeToName(), updateMeasurementsFromGrid(), vectorNameFromSignalId(), and FILEEXT::WorkbookFileExtension.
|
inline |
Definition at line 117 of file simulator_frame_ui.h.
References dummy, m_cursorFormatsDyn, and onPlotCursorUpdate().
| void SIMULATOR_FRAME_UI::SetMeasureFormat | ( | int | aRow, |
| const SPICE_VALUE_FORMAT & | aFormat ) |
Definition at line 1485 of file simulator_frame_ui.cpp.
References COL_MEASUREMENT_FORMAT, SIMULATOR_FRAME_UI_BASE::m_measurementsGrid, and SPICE_VALUE_FORMAT::ToString().
Referenced by UpdateMeasurement().
| void SIMULATOR_FRAME_UI::SetSubWindowsSashSize | ( | ) |
Adjust the sash dimension of splitter windows after reading the config settings must be called after the config settings are read, and once the frame is initialized (end of the Ctor)
Definition at line 840 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_splitterCursors, m_splitterCursorsSashPosition, SIMULATOR_FRAME_UI_BASE::m_splitterLeftRight, m_splitterLeftRightSashPosition, SIMULATOR_FRAME_UI_BASE::m_splitterMeasurements, SIMULATOR_FRAME_UI_BASE::m_splitterPlotAndConsole, m_splitterPlotAndConsoleSashPosition, SIMULATOR_FRAME_UI_BASE::m_splitterSignals, m_splitterSignalsSashPosition, and m_splitterTuneValuesSashPosition.
| void SIMULATOR_FRAME_UI::SetUserDefinedSignals | ( | const std::map< int, wxString > & | aSignals | ) |
Definition at line 1902 of file simulator_frame_ui.cpp.
References applyUserDefinedSignals(), SIM_PLOT_TAB::DeleteTrace(), SIM_TAB::GetSimType(), SIM_PLOT_TAB::GetTrace(), SIMULATOR_FRAME_UI_BASE::m_filter, SIMULATOR_FRAME_UI_BASE::m_plotNotebook, m_simulatorFrame, m_userDefinedSignals, OnModify(), rebuildSignalsGrid(), rebuildSignalsList(), SPT_AC_GAIN, SPT_AC_PHASE, SPT_SP_AMP, SPT_SP_SMITH, SPT_UNKNOWN, ST_AC, ST_SP, updatePlotCursors(), updateSignalsGrid(), and vectorNameFromSignalName().
| void SIMULATOR_FRAME_UI::ShowChangedLanguage | ( | ) |
Definition at line 718 of file simulator_frame_ui.cpp.
References _, COL_CURSOR_1, COL_CURSOR_2, COL_CURSOR_NAME, COL_CURSOR_SIGNAL, COL_CURSOR_X, COL_CURSOR_Y, COL_SIGNAL_COLOR, COL_SIGNAL_NAME, COL_SIGNAL_SHOW, SIMULATOR_FRAME_UI_BASE::m_cursorsGrid, SIMULATOR_FRAME_UI_BASE::m_filter, SIMULATOR_FRAME_UI_BASE::m_plotNotebook, SIMULATOR_FRAME_UI_BASE::m_signalsGrid, m_tuners, simulator(), and updatePlotCursors().
| std::vector< wxString > SIMULATOR_FRAME_UI::Signals | ( | ) | const |
Definition at line 3801 of file simulator_frame_ui.cpp.
References m_signals, m_userDefinedSignals, and sortSignals().
|
private |
Updates m_signalsGrid cursor widget, column rendering and attributes.
| t | is the type of the enum that holds m_signalsGrid column indexing |
| u | a cursor "ID". Applies a 2 integer offset against the enum indexing |
| r | is a wxGrid widget's row |
Definition at line 2252 of file simulator_frame_ui.cpp.
References COL_CURSOR_1, COL_CURSOR_2, COL_SIGNAL_COLOR, COL_SIGNAL_NAME, COL_SIGNAL_SHOW, GetCurrentSimTab(), SIM_PLOT_TAB::GetTrace(), SIMULATOR_FRAME_UI_BASE::m_signalsGrid, SPT_UNKNOWN, T, KIGFX::COLOR4D::ToCSSString(), and vectorNameFromSignalName().
Referenced by updateSignalsGrid().
| std::vector< wxString > SIMULATOR_FRAME_UI::SimPlotVectors | ( | ) | const |
Definition at line 3790 of file simulator_frame_ui.cpp.
References simulator().
|
private |
Definition at line 3542 of file simulator_frame_ui.cpp.
References m_simulatorFrame.
Referenced by applyTuners(), applyUserDefinedSignals(), DoFourier(), InitWorkbook(), LoadWorkbook(), NewSimTab(), onPlotChanged(), OnSimRefresh(), SaveWorkbook(), ShowChangedLanguage(), SimPlotVectors(), UpdateMeasurement(), and updateTrace().
| void SIMULATOR_FRAME_UI::ToggleDarkModePlots | ( | ) |
Toggle the current S-parameter tab between Smith chart and amplitude/phase views.
Definition at line 3179 of file simulator_frame_ui.cpp.
References SIM_PLOT_COLORS::FillDefaultColorList(), m_darkMode, SIMULATOR_FRAME_UI_BASE::m_plotNotebook, and SIM_PLOT_TAB::UpdatePlotColors().
|
private |
A common toggler for the two main wxSplitterWindow s.
Definition at line 3136 of file simulator_frame_ui.cpp.
Referenced by ToggleSimConsole(), and ToggleSimSidePanel().
| void SIMULATOR_FRAME_UI::ToggleSimConsole | ( | ) |
Definition at line 3161 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_panelConsole, SIMULATOR_FRAME_UI_BASE::m_splitterPlotAndConsole, m_splitterPlotAndConsoleSashPosition, and TogglePanel().
| void SIMULATOR_FRAME_UI::ToggleSimSidePanel | ( | ) |
Definition at line 3173 of file simulator_frame_ui.cpp.
References SIMULATOR_FRAME_UI_BASE::m_sidePanel, SIMULATOR_FRAME_UI_BASE::m_splitterLeftRight, m_splitterLeftRightSashPosition, and TogglePanel().
| void SIMULATOR_FRAME_UI::ToggleSmithChart | ( | ) |
Definition at line 3201 of file simulator_frame_ui.cpp.
References cursor, SIM_PLOT_TAB::DeleteTrace(), SIM_PLOT_TAB::EnableCursor(), GetCurrentSimTab(), TRACE::GetCursor(), mpLayer::GetName(), SIM_PLOT_TAB::GetPlotWin(), SIM_TAB::GetSimType(), SIM_PLOT_TAB::GetTrace(), SIM_PLOT_TAB::GetTraces(), SIM_PLOT_TAB::IsSmithMode(), SIMULATOR_FRAME_UI_BASE::m_filter, OnModify(), SMITH_MATH::ParseSParamPorts(), rebuildSignalsGrid(), rebuildSignalsList(), SIM_PLOT_TAB::SetSmithMode(), SIM_PLOT_TAB::SmithStashedCursors(), SIM_PLOT_TAB::SmithStashedTraces(), SPT_AC_GAIN, SPT_AC_PHASE, SPT_SP_AMP, SPT_SP_MASK, SPT_SP_SMITH, SPT_UNKNOWN, ST_SP, SMITH_STASHED_CURSOR::subType, mpWindow::UpdateAll(), updatePlotCursors(), updateSignalsGrid(), updateTrace(), and vectorNameFromSignalName().
| void SIMULATOR_FRAME_UI::UpdateMeasurement | ( | int | aRow | ) |
Update a measurement in the measurements grid.
The user measurement looks something like: MAX V(out)
We need to send ngspice a "MEAS" command with the analysis type, an output variable name, and the signal name. For our example above, this looks something like: MEAS TRAN meas_result_0 MAX V(out)
This is also a good time to harvest the signal name prefix so we know what units to show on the result. For instance, for: MAX P(out) we want to show: 15W
Definition at line 1571 of file simulator_frame_ui.cpp.
References COL_MEASUREMENT, COL_MEASUREMENT_VALUE, SPICE_SIMULATOR::Command(), GetCurrentSimTab(), SPICE_SIMULATOR::GetGainVector(), GetMeasureFormat(), SIM_TAB::GetSimType(), SIMULATOR_FRAME_UI_BASE::m_measurementsGrid, m_simulatorFrame, result, SetMeasureFormat(), simulator(), ST_AC, ST_DC, ST_DISTO, ST_FFT, ST_NOISE, ST_OP, ST_PZ, ST_SENS, ST_SP, ST_TF, ST_TRAN, text, SPICE_VALUE::ToString(), SPICE_SIMULATOR::TypeToName(), updateMeasurementsFromGrid(), and SPICE_VALUE_FORMAT::UpdateUnits().
Referenced by AddMeasurement(), onMeasurementsGridCellChanged(), OnPlotSettingsChanged(), and OnSimRefresh().
|
private |
Definition at line 3459 of file simulator_frame_ui.cpp.
References COL_MEASUREMENT, COL_MEASUREMENT_FORMAT, GetCurrentSimTab(), and SIMULATOR_FRAME_UI_BASE::m_measurementsGrid.
Referenced by AddMeasurement(), onMeasurementsGridCellChanged(), SaveWorkbook(), and UpdateMeasurement().
|
private |
Update the cursor values (in the grid) and graphics (in the plot window).
Definition at line 3554 of file simulator_frame_ui.cpp.
References _, COL_CURSOR_NAME, COL_CURSOR_SIGNAL, COL_CURSOR_X, COL_CURSOR_Y, cursor, CURSOR::GetCoords(), GetCurrentSimTab(), SIM_PLOT_TAB::GetLabelX(), SIM_PLOT_TAB::GetLabelY1(), SIM_PLOT_TAB::GetLabelY2(), SIM_PLOT_TAB::GetLabelY3(), mpLayer::GetName(), SIM_TAB::GetSimType(), SIM_PLOT_TAB::GetTraces(), SIM_PLOT_TAB::GetUnitsX(), SIM_PLOT_TAB::GetUnitsY1(), SIM_PLOT_TAB::GetUnitsY2(), SIM_PLOT_TAB::GetUnitsY3(), m_cursorFormatsDyn, SIMULATOR_FRAME_UI_BASE::m_cursorsGrid, m_customCursorsCnt, m_simulatorFrame, name, SPT_AC_PHASE, SPT_CURRENT, SPT_POWER, SPT_SP_SMITH, ST_AC, and SPICE_VALUE::ToString().
Referenced by CreateNewCursor(), DeleteCursor(), LoadWorkbook(), onCursorsGridCellChanged(), onPlotClosed(), onPlotCursorUpdate(), OnPlotSettingsChanged(), onSignalsGridCellChanged(), OnSimRefresh(), SetUserDefinedSignals(), ShowChangedLanguage(), and ToggleSmithChart().
|
private |
Update the values in the signals grid.
Definition at line 2327 of file simulator_frame_ui.cpp.
References COL_CURSOR_1, COL_CURSOR_2, COL_SIGNAL_COLOR, COL_SIGNAL_SHOW, m_customCursorsCnt, SIMULATOR_FRAME_UI_BASE::m_signalsGrid, and signalsGridCursorUpdate().
Referenced by AddTrace(), CreateNewCursor(), DeleteCursor(), LoadWorkbook(), onPlotChanged(), onPlotClosed(), onSignalsGridCellChanged(), OnSimRefresh(), SetUserDefinedSignals(), and ToggleSmithChart().
|
private |
Update a trace in a particular SIM_PLOT_TAB.
If the panel does not contain the given trace, then add it.
| aVectorName | is the SPICE vector name, such as "I(Net-C1-Pad1)". |
| aTraceType | describes the type of plot. |
| aPlotTab | is the tab that should receive the update. Reference impedance of the response port for an S-parameter vector, defaults to 50 Ohm. |
Definition at line 2011 of file simulator_frame_ui.cpp.
References circuitModel(), SPICE_SIMULATOR::Command(), SPICE_CIRCUIT_MODEL::CommandToSimType(), SPICE_SIMULATOR::GetGainVector(), SPICE_SIMULATOR::GetImaginaryVector(), SIM_PLOT_TAB::GetOrAddTrace(), SPICE_SIMULATOR::GetPhaseVector(), SPICE_SIMULATOR::GetRealVector(), SIM_TAB::GetSimCommand(), getSmithPortImpedance(), TUNER_SLIDER::GetSymbolRef(), getXAxisType(), hasMultiRunTrace(), SIM_TAB::IsPlottable(), KiROUND(), m_multiRunState, m_simulatorFrame, SPICE_DC_PARAMS::m_source, SPICE_DC_PARAMS::m_vend, SPICE_DC_PARAMS::m_vincrement, SPICE_DC_PARAMS::m_vstart, multiRunTraceKey(), SIMULATOR_FRAME_UI::MULTI_RUN_STEP::overrides, recordMultiRunData(), SIM_PLOT_TAB::SetTraceData(), simulator(), SPT_AC_GAIN, SPT_AC_PHASE, SPT_POWER, SPT_SP_AMP, SPT_SP_SMITH, SPT_Y_AXIS_MASK, ST_AC, ST_DC, ST_FFT, ST_NOISE, ST_SP, ST_TRAN, SPICE_VALUE::ToDouble(), SPICE_VALUE::ToSpiceString(), ToStdString(), SIM_PLOT_TAB::UpdateSmithReferenceImpedance(), SIMULATOR_FRAME_UI::MULTI_RUN_TRACE::xRuns, SIMULATOR_FRAME_UI::MULTI_RUN_TRACE::xValues, and SIMULATOR_FRAME_UI::MULTI_RUN_TRACE::yValues.
Referenced by AddTrace(), onSignalsGridCellChanged(), OnSimRefresh(), and ToggleSmithChart().
| void SIMULATOR_FRAME_UI::UpdateTunerValue | ( | const SCH_SHEET_PATH & | aSheetPath, |
| const KIID & | aSymbol, | ||
| const wxString & | aRef, | ||
| const wxString & | aValue ) |
Safely update a field of the associated symbol without dereferencing the symbol.
| aSymbol | id of the symbol needing updating |
| aId | id of the symbol field |
| aValue | new value of the symbol field |
Definition at line 1722 of file simulator_frame_ui.cpp.
References _, LIB_SYMBOL::AppendParentEmbeddedFiles(), SIM_LIB_MGR::CreateModel(), DisplayErrorMessage(), SCH_SYMBOL::GetEmbeddedFiles(), SCH_SYMBOL::GetFields(), SCH_SYMBOL::GetLibSymbolRef(), SIM_MODEL::PARAM::info, m_schematicFrame, model, SIM_MODEL::PARAM::INFO::name, SCH_SHEET_PATH::ResolveItem(), and SIM_LIB_MGR::SetFilesStack().
|
inline |
Definition at line 82 of file simulator_frame_ui.h.
References m_userDefinedSignals.
|
private |
Get the simulator output vector name for a given signal name and type.
For user-defined signals we display the user-oriented signal name such as "V(out)-V(in)", but the simulator vector we actually have to plot will be "user0" or some-such.
Definition at line 1233 of file simulator_frame_ui.cpp.
References _, getNoiseSource(), SIM_TAB::GetSimType(), SIM_PLOT_TAB::IsSmithMode(), m_userDefinedSignals, name, SPT_AC_GAIN, SPT_AC_PHASE, SPT_CURRENT, SPT_POWER, SPT_SP_AMP, SPT_SP_MASK, SPT_SP_SMITH, SPT_VOLTAGE, ST_NOISE, ST_SP, and vectorNameFromSignalId().
Referenced by loadJsonWorkbook(), loadLegacyWorkbook(), onSignalsGridCellChanged(), OnSimRefresh(), rebuildSignalsGrid(), SetUserDefinedSignals(), signalsGridCursorUpdate(), and ToggleSmithChart().
|
private |
Definition at line 448 of file simulator_frame_ui.h.
Referenced by CustomCursorsInit(), onSignalsGridCellChanged(), and parseTraceParams().
|
private |
Definition at line 451 of file simulator_frame_ui.h.
Referenced by CreateNewCursor(), CustomCursorsInit(), DeleteCursor(), GetCursorFormat(), loadJsonWorkbook(), onSignalsGridCellChanged(), SaveCursorToWorkbook(), SaveWorkbook(), SetCursorFormat(), and updatePlotCursors().
|
protectedinherited |
Definition at line 57 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI::onCursorsGridCellChanged(), SIMULATOR_FRAME_UI::ShowChangedLanguage(), SIMULATOR_FRAME_UI::SIMULATOR_FRAME_UI(), SIMULATOR_FRAME_UI_BASE(), SIMULATOR_FRAME_UI::updatePlotCursors(), SIMULATOR_FRAME_UI::~SIMULATOR_FRAME_UI(), and ~SIMULATOR_FRAME_UI_BASE().
|
private |
Definition at line 465 of file simulator_frame_ui.h.
Referenced by CreateNewCursor(), CustomCursorsInit(), DeleteCursor(), loadJsonWorkbook(), onCursorsGridCellChanged(), rebuildSignalsGrid(), SaveWorkbook(), updatePlotCursors(), and updateSignalsGrid().
|
private |
Definition at line 459 of file simulator_frame_ui.h.
Referenced by DarkModePlots(), LoadSettings(), SaveSettings(), SIMULATOR_FRAME_UI(), and ToggleDarkModePlots().
|
protectedinherited |
Definition at line 52 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI::InitWorkbook(), SIMULATOR_FRAME_UI::LoadWorkbook(), SIMULATOR_FRAME_UI::OnFilterMouseMoved(), SIMULATOR_FRAME_UI::OnFilterText(), SIMULATOR_FRAME_UI::onPlotClosed(), SIMULATOR_FRAME_UI::OnPlotSettingsChanged(), SIMULATOR_FRAME_UI::SetUserDefinedSignals(), SIMULATOR_FRAME_UI::ShowChangedLanguage(), SIMULATOR_FRAME_UI::SIMULATOR_FRAME_UI(), SIMULATOR_FRAME_UI_BASE(), SIMULATOR_FRAME_UI::ToggleSmithChart(), and ~SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 61 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI::AddMeasurement(), SIMULATOR_FRAME_UI::DeleteMeasurement(), SIMULATOR_FRAME_UI::GetMeasureFormat(), SIMULATOR_FRAME_UI::onMeasurementsGridCellChanged(), SIMULATOR_FRAME_UI::onPlotChanging(), SIMULATOR_FRAME_UI::OnPlotSettingsChanged(), SIMULATOR_FRAME_UI::OnSimRefresh(), SIMULATOR_FRAME_UI::rebuildMeasurementsGrid(), SIMULATOR_FRAME_UI::SetMeasureFormat(), SIMULATOR_FRAME_UI::SIMULATOR_FRAME_UI(), SIMULATOR_FRAME_UI_BASE(), SIMULATOR_FRAME_UI::UpdateMeasurement(), SIMULATOR_FRAME_UI::updateMeasurementsFromGrid(), SIMULATOR_FRAME_UI::~SIMULATOR_FRAME_UI(), and ~SIMULATOR_FRAME_UI_BASE().
|
private |
SPICE expressions need quoted versions of the netnames since KiCad allows '-' and '/' in netnames.
Definition at line 442 of file simulator_frame_ui.h.
Referenced by clearMultiRunState(), hasMultiRunTrace(), OnSimRefresh(), prepareMultiRunState(), recordMultiRunData(), RemoveTuner(), and updateTrace().
|
private |
Definition at line 446 of file simulator_frame_ui.h.
Referenced by applyUserDefinedSignals(), and rebuildSignalsList().
|
protectedinherited |
Definition at line 54 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 45 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI::IsSimConsoleShown(), SIMULATOR_FRAME_UI_BASE(), and SIMULATOR_FRAME_UI::ToggleSimConsole().
|
protectedinherited |
Definition at line 56 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 39 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 60 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 58 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 51 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 62 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI::AddTuner(), SIMULATOR_FRAME_UI::RemoveTuner(), and SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 44 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI::ApplyPreferences(), SIMULATOR_FRAME_UI::DeleteCursor(), SIMULATOR_FRAME_UI::GetCurrentSimTab(), SIMULATOR_FRAME_UI::GetSimTab(), SIMULATOR_FRAME_UI::GetSimTabIndex(), SIMULATOR_FRAME_UI::IsPlotOwnedByOtherTab(), SIMULATOR_FRAME_UI::loadJsonWorkbook(), SIMULATOR_FRAME_UI::loadLegacyWorkbook(), SIMULATOR_FRAME_UI::LoadWorkbook(), SIMULATOR_FRAME_UI::NewSimTab(), SIMULATOR_FRAME_UI::SaveWorkbook(), SIMULATOR_FRAME_UI::SetUserDefinedSignals(), SIMULATOR_FRAME_UI::ShowChangedLanguage(), SIMULATOR_FRAME_UI::SIMULATOR_FRAME_UI(), SIMULATOR_FRAME_UI_BASE(), SIMULATOR_FRAME_UI::ToggleDarkModePlots(), and ~SIMULATOR_FRAME_UI_BASE().
|
private |
Definition at line 460 of file simulator_frame_ui.h.
Referenced by NewSimTab(), and SIMULATOR_FRAME_UI().
|
protectedinherited |
Definition at line 42 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI_BASE().
|
private |
Definition at line 462 of file simulator_frame_ui.h.
Referenced by ApplyPreferences(), LoadSettings(), and NewSimTab().
|
private |
Definition at line 461 of file simulator_frame_ui.h.
Referenced by OnSimRefresh(), OnSimUpdate(), and SIMULATOR_FRAME_UI().
|
private |
Definition at line 409 of file simulator_frame_ui.h.
Referenced by InitWorkbook(), LoadWorkbook(), onPlotClosed(), OnSimRefresh(), SaveWorkbook(), SIMULATOR_FRAME_UI(), and UpdateTunerValue().
|
protectedinherited |
Definition at line 48 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI::IsSimSidePanelShown(), SIMULATOR_FRAME_UI_BASE(), and SIMULATOR_FRAME_UI::ToggleSimSidePanel().
|
protectedinherited |
Definition at line 49 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI_BASE().
|
private |
Definition at line 411 of file simulator_frame_ui.h.
Referenced by OnSimRefresh(), rebuildSignalsGrid(), rebuildSignalsList(), and Signals().
|
protectedinherited |
Definition at line 53 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI::CreateNewCursor(), SIMULATOR_FRAME_UI::CustomCursorsInit(), SIMULATOR_FRAME_UI::DeleteCursor(), SIMULATOR_FRAME_UI::onSignalsGridCellChanged(), SIMULATOR_FRAME_UI::rebuildSignalsGrid(), SIMULATOR_FRAME_UI::ShowChangedLanguage(), SIMULATOR_FRAME_UI::signalsGridCursorUpdate(), SIMULATOR_FRAME_UI::SIMULATOR_FRAME_UI(), SIMULATOR_FRAME_UI_BASE(), SIMULATOR_FRAME_UI::updateSignalsGrid(), SIMULATOR_FRAME_UI::~SIMULATOR_FRAME_UI(), and ~SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 47 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI::AddTrace(), SIMULATOR_FRAME_UI::FlushSimConsole(), SIMULATOR_FRAME_UI::OnSimRefresh(), SIMULATOR_FRAME_UI::OnSimUpdate(), and SIMULATOR_FRAME_UI_BASE().
|
private |
Definition at line 408 of file simulator_frame_ui.h.
Referenced by circuitModel(), FlushSimConsole(), InitWorkbook(), loadJsonWorkbook(), loadLegacyWorkbook(), OnModify(), OnSimRefresh(), OnSimUpdate(), rebuildSignalsList(), SetUserDefinedSignals(), simulator(), SIMULATOR_FRAME_UI(), UpdateMeasurement(), updatePlotCursors(), and updateTrace().
|
protectedinherited |
Definition at line 40 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 46 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 43 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 63 of file simulator_frame_ui_base.h.
Referenced by SIMULATOR_FRAME_UI::AddTuner(), and SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 55 of file simulator_frame_ui_base.h.
Referenced by m_splitterCursorsOnIdle(), SIMULATOR_FRAME_UI::SaveSettings(), SIMULATOR_FRAME_UI::SetSubWindowsSashSize(), and SIMULATOR_FRAME_UI_BASE().
|
private |
Definition at line 457 of file simulator_frame_ui.h.
Referenced by LoadSettings(), and SetSubWindowsSashSize().
|
protectedinherited |
Definition at line 38 of file simulator_frame_ui_base.h.
Referenced by m_splitterLeftRightOnIdle(), SIMULATOR_FRAME_UI::SaveSettings(), SIMULATOR_FRAME_UI::SetSubWindowsSashSize(), SIMULATOR_FRAME_UI_BASE(), and SIMULATOR_FRAME_UI::ToggleSimSidePanel().
|
private |
Definition at line 454 of file simulator_frame_ui.h.
Referenced by LoadSettings(), SetSubWindowsSashSize(), and ToggleSimSidePanel().
|
protectedinherited |
Definition at line 59 of file simulator_frame_ui_base.h.
Referenced by m_splitterMeasurementsOnIdle(), SIMULATOR_FRAME_UI::SaveSettings(), SIMULATOR_FRAME_UI::SetSubWindowsSashSize(), and SIMULATOR_FRAME_UI_BASE().
|
protectedinherited |
Definition at line 41 of file simulator_frame_ui_base.h.
Referenced by m_splitterPlotAndConsoleOnIdle(), SIMULATOR_FRAME_UI::SaveSettings(), SIMULATOR_FRAME_UI::SetSubWindowsSashSize(), SIMULATOR_FRAME_UI_BASE(), and SIMULATOR_FRAME_UI::ToggleSimConsole().
|
private |
Definition at line 455 of file simulator_frame_ui.h.
Referenced by LoadSettings(), SetSubWindowsSashSize(), and ToggleSimConsole().
|
protectedinherited |
Definition at line 50 of file simulator_frame_ui_base.h.
Referenced by m_splitterSignalsOnIdle(), SIMULATOR_FRAME_UI::SaveSettings(), SIMULATOR_FRAME_UI::SetSubWindowsSashSize(), and SIMULATOR_FRAME_UI_BASE().
|
private |
Definition at line 456 of file simulator_frame_ui.h.
Referenced by LoadSettings(), and SetSubWindowsSashSize().
|
private |
Definition at line 458 of file simulator_frame_ui.h.
Referenced by LoadSettings(), and SetSubWindowsSashSize().
| int SIMULATOR_FRAME_UI::m_SuppressGridEvents |
Definition at line 405 of file simulator_frame_ui.h.
Referenced by onCursorsGridCellChanged(), onSignalsGridCellChanged(), and SIMULATOR_FRAME_UI().
|
private |
Definition at line 414 of file simulator_frame_ui.h.
Referenced by applyTuners(), clearMultiRunState(), OnSimRefresh(), prepareMultiRunState(), and RemoveTuner().
|
private |
Definition at line 413 of file simulator_frame_ui.h.
Referenced by AddTuner(), applyTuners(), prepareMultiRunState(), RemoveTuner(), and ShowChangedLanguage().
|
private |
Definition at line 412 of file simulator_frame_ui.h.
Referenced by applyUserDefinedSignals(), loadJsonWorkbook(), loadLegacyWorkbook(), LoadWorkbook(), OnSimRefresh(), rebuildSignalsGrid(), SaveWorkbook(), SetUserDefinedSignals(), Signals(), UserDefinedSignals(), and vectorNameFromSignalName().