KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DIALOG_SIM_MODEL< T > Class Template Reference

#include <dialog_sim_model.h>

Inheritance diagram for DIALOG_SIM_MODEL< T >:
DIALOG_SIM_MODEL_BASE DIALOG_SHIM KIWAY_HOLDER

Public Types

enum  PARAM_COLUMN {
  DESCRIPTION = 0 , VALUE , UNIT , DEFAULT ,
  TYPE , END_
}
 
enum  PIN_COLUMN { SYMBOL = 0 , MODEL }
 
enum  HOLDER_TYPE { DIALOG , FRAME , PANEL }
 

Public Member Functions

 DIALOG_SIM_MODEL (wxWindow *aParent, EDA_BASE_FRAME *aFrame, T &aSymbol, std::vector< SCH_FIELD > &aFields)
 
 ~DIALOG_SIM_MODEL ()
 
void SetInitialFocus (wxWindow *aWindow)
 Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.
 
int ShowModal () override
 
int ShowQuasiModal ()
 
void EndQuasiModal (int retCode)
 
bool IsQuasiModal () const
 
void PrepareForModalSubDialog ()
 
void CleanupAfterModalSubDialog ()
 
bool Show (bool show) override
 
bool Enable (bool enable) override
 
void OnPaint (wxPaintEvent &event)
 
void OnModify ()
 
void ClearModify ()
 
void SetPosition (const wxPoint &aNewPosition)
 Force the position of the dialog to a new position.
 
EDA_UNITS GetUserUnits () const
 
void SelectAllInTextCtrls (wxWindowList &children)
 
void SetupStandardButtons (std::map< int, wxString > aLabels={})
 
void LoadControlState ()
 Load persisted control values from the current project's local settings.
 
void SaveControlState ()
 Save control values and geometry to the current project's local settings.
 
void OptOut (wxWindow *aWindow)
 Opt out of control state saving.
 
void RegisterUnitBinder (UNIT_BINDER *aUnitBinder, wxWindow *aWindow)
 Register a UNIT_BINDER so that it can handle units in control-state save/restore.
 
HOLDER_TYPE GetType () const
 
KIWAYKiway () const
 Return a reference to the KIWAY that this object has an opportunity to participate in.
 
bool HasKiway () const
 Safety check before asking for the Kiway reference.
 
PROJECTPrj () const
 Return a reference to the PROJECT associated with this KIWAY.
 
void SetKiway (wxWindow *aDest, KIWAY *aKiway)
 It is only used for debugging, since "this" is not a wxWindow*.
 

Static Public Member Functions

static bool IsCtrl (int aChar, const wxKeyEvent &e)
 
static bool IsShiftCtrl (int aChar, const wxKeyEvent &e)
 

Protected Member Functions

virtual void onLibraryPathLabelUpdate (wxUpdateUIEvent &event)
 
virtual void onBrowseButtonUpdate (wxUpdateUIEvent &event)
 
virtual void onModelNameLabelUpdate (wxUpdateUIEvent &event)
 
virtual void onIbisPinLabelUpdate (wxUpdateUIEvent &event)
 
virtual void onModelNameComboboxKillFocus (wxFocusEvent &event)
 
virtual void onModelNameComboboxUpdate (wxUpdateUIEvent &event)
 
virtual void onOverrideCheckboxUpdate (wxUpdateUIEvent &event)
 
virtual void onIbisModelLabelUpdate (wxUpdateUIEvent &event)
 
virtual void onDeviceTypeLabelUpdate (wxUpdateUIEvent &event)
 
virtual void onDeviceTypeChoiceUpdate (wxUpdateUIEvent &event)
 
virtual void onTypeLabelUpdate (wxUpdateUIEvent &event)
 
void finishDialogSettings ()
 In all dialogs, we must call the same functions to fix minimal dlg size, the default position and perhaps some others to fix a few issues depending on Windows Managers this helper function does these calls.
 
void setSizeInDU (int x, int y)
 Set the dialog to the given dimensions in "dialog units".
 
int horizPixelsFromDU (int x) const
 Convert an integer number of dialog units to pixels, horizontally.
 
int vertPixelsFromDU (int y) const
 Convert an integer number of dialog units to pixels, vertically.
 
void resetSize ()
 Clear the existing dialog size and position.
 
virtual void OnCharHook (wxKeyEvent &aEvt)
 
virtual void TearDownQuasiModal ()
 Override this method to perform dialog tear down actions not suitable for object dtor.
 

Protected Attributes

WX_INFOBARm_infoBar
 
wxNotebook * m_notebook
 
wxPanel * m_modelPanel
 
wxRadioButton * m_rbLibraryModel
 
wxStaticText * m_pathLabel
 
wxTextCtrl * m_libraryPathText
 
STD_BITMAP_BUTTONm_browseButton
 
wxStaticText * m_modelNameLabel
 
wxSearchCtrl * m_modelFilter
 
wxListBox * m_modelListBox
 
wxStaticText * m_pinLabel
 
wxComboBox * m_pinCombobox
 
wxCheckBox * m_differentialCheckbox
 
wxStaticText * m_pinModelLabel
 
wxComboBox * m_pinModelCombobox
 
wxStaticText * m_waveformLabel
 
wxChoice * m_waveformChoice
 
wxRadioButton * m_rbBuiltinModel
 
wxStaticText * m_deviceLabel
 
wxChoice * m_deviceChoice
 
wxStaticText * m_deviceSubtypeLabel
 
wxChoice * m_deviceSubtypeChoice
 
wxNotebook * m_modelNotebook
 
wxPanel * m_parametersPanel
 
wxPropertyGridManager * m_paramGridMgr
 
wxPropertyGridPage * m_paramGrid
 
wxPanel * m_codePanel
 
wxStyledTextCtrl * m_codePreview
 
wxCheckBox * m_saveInValueCheckbox
 
wxPanel * m_pinAssignmentsPanel
 
WX_GRIDm_pinAssignmentsGrid
 
wxStaticText * m_subcktLabel
 
wxStyledTextCtrl * m_subckt
 
wxStdDialogButtonSizer * m_sdbSizer1
 
wxButton * m_sdbSizer1OK
 
wxButton * m_sdbSizer1Cancel
 
EDA_UNITS m_units
 
std::string m_hash_key
 
bool m_useCalculatedSize
 
bool m_firstPaintEvent
 
wxWindow * m_initialFocusTarget
 
bool m_isClosing
 
wxGUIEventLoop * m_qmodal_loop
 
bool m_qmodal_showing
 
WINDOW_DISABLERm_qmodal_parent_disabler
 
EDA_BASE_FRAMEm_parentFrame
 
std::vector< wxWindow * > m_tabOrder
 
wxSize m_initialSize
 
bool m_userPositioned
 
bool m_userResized
 
std::map< wxWindow *, wxString > m_beforeEditValues
 
std::map< wxWindow *, UNIT_BINDER * > m_unitBinders
 
std::vector< UNDO_STEPm_undoStack
 
std::vector< UNDO_STEPm_redoStack
 
std::map< wxWindow *, wxVariant > m_currentValues
 
bool m_handlingUndoRedo
 

Private Member Functions

bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
void updateWidgets ()
 
void updateIbisWidgets (SIM_MODEL *aModel)
 
void updateBuiltinModelWidgets (SIM_MODEL *aModel)
 
void updateModelParamsTab (SIM_MODEL *aModel)
 
void updateModelCodeTab (SIM_MODEL *aModel)
 
void updatePinAssignments (SIM_MODEL *aModel, bool aForceUpdatePins)
 
void removeOrphanedPinAssignments (SIM_MODEL *aModel)
 
bool loadLibrary (const wxString &aLibraryPath, REPORTER &aReporter, bool aForceReload=false)
 
void addParamPropertyIfRelevant (SIM_MODEL *aModel, int aParamIndex)
 
wxPGProperty * newParamProperty (SIM_MODEL *aModel, int aParamIndex) const
 
int findSymbolPinRow (const wxString &aSymbolPinNumber) const
 
SIM_MODELcurModel () const
 
const SIM_LIBRARYlibrary () const
 
wxString getSymbolPinString (int aSymbolPinNumber) const
 
wxString getModelPinString (SIM_MODEL *aModel, int aModelPinIndex) const
 
int getModelPinIndex (const wxString &aModelPinString) const
 
void onRadioButton (wxCommandEvent &aEvent) override
 
void onLibraryPathText (wxCommandEvent &aEvent) override
 
void onLibraryPathTextEnter (wxCommandEvent &aEvent) override
 
void onLibraryPathTextKillFocus (wxFocusEvent &aEvent) override
 
void onBrowseButtonClick (wxCommandEvent &aEvent) override
 
void onFilterCharHook (wxKeyEvent &aKeyStroke) override
 
void onModelFilter (wxCommandEvent &aEvent) override
 
void onModelNameChoice (wxCommandEvent &aEvent) override
 
void onPinCombobox (wxCommandEvent &event) override
 
void onPinComboboxTextEnter (wxCommandEvent &event) override
 
void onPinModelCombobox (wxCommandEvent &event) override
 
void onPinModelComboboxTextEnter (wxCommandEvent &event) override
 
void onDeviceTypeChoice (wxCommandEvent &aEvent) override
 
void onWaveformChoice (wxCommandEvent &aEvent) override
 
void onTypeChoice (wxCommandEvent &aEvent) override
 
void onPageChanging (wxNotebookEvent &event) override
 
void onPinAssignmentsGridCellChange (wxGridEvent &aEvent) override
 
void onPinAssignmentsGridSize (wxSizeEvent &aEvent) override
 
void onDifferentialCheckbox (wxCommandEvent &event) override
 
void onSizeParamGrid (wxSizeEvent &event) override
 
void onParamGridSetFocus (wxFocusEvent &aEvent)
 
void onParamGridSelectionChange (wxPropertyGridEvent &aEvent)
 
void onUpdateUI (wxUpdateUIEvent &aEvent)
 
void adjustParamGridColumns (int aWidth, bool aForce)
 
bool isIbisLoaded ()
 
void OnCloseWindow (wxCloseEvent &aEvent)
 Properly handle the wxCloseEvent when in the quasimodal mode when not calling EndQuasiModal which is possible with any dialog derived from DIALOG_SHIM.
 
void OnSize (wxSizeEvent &aEvent)
 
void OnMove (wxMoveEvent &aEvent)
 
void OnButton (wxCommandEvent &aEvent)
 Properly handle the default button events when in the quasimodal mode when not calling EndQuasiModal which is possible with any dialog derived from DIALOG_SHIM.
 
void onChildSetFocus (wxFocusEvent &aEvent)
 
void onInitDialog (wxInitDialogEvent &aEvent)
 
std::string generateKey (const wxWindow *aWin) const
 
void registerUndoRedoHandlers (wxWindowList &aChildren)
 
void recordControlChange (wxWindow *aCtrl)
 
void onCommandEvent (wxCommandEvent &aEvent)
 
void onSpinEvent (wxSpinEvent &aEvent)
 
void onSpinDoubleEvent (wxSpinDoubleEvent &aEvent)
 
void onStyledTextChanged (wxStyledTextEvent &aEvent)
 
void onGridCellChanged (wxGridEvent &aEvent)
 
void onPropertyGridChanged (wxPropertyGridEvent &aEvent)
 
void onDataViewListChanged (wxDataViewEvent &aEvent)
 
void doUndo ()
 
void doRedo ()
 
wxVariant getControlValue (wxWindow *aCtrl)
 
void setControlValue (wxWindow *aCtrl, const wxVariant &aValue)
 
 DECLARE_EVENT_TABLE ()
 

Private Attributes

EDA_BASE_FRAMEm_frame
 
Tm_symbol
 
std::vector< SCH_FIELD > & m_fields
 
std::vector< EMBEDDED_FILES * > m_filesStack
 
SIM_LIB_MGR m_libraryModelsMgr
 
SIM_LIB_MGR m_builtinModelsMgr
 
wxString m_prevLibrary
 
const SIM_MODELm_prevModel
 
std::map< wxString, int > m_modelListBoxEntryToLibraryIdx
 
std::vector< SCH_PIN * > m_sortedPartPins
 Pins of the current part.
 
std::map< SIM_MODEL::DEVICE_T, SIM_MODEL::TYPE > m_curModelTypeOfDeviceType
 
SIM_MODEL::TYPE m_curModelType
 
SCINTILLA_TRICKSm_scintillaTricksCode
 
SCINTILLA_TRICKSm_scintillaTricksSubckt
 
wxPGProperty * m_firstCategory
 
wxPGProperty * m_prevParamGridSelection
 
int m_lastParamGridWidth
 
KIWAYm_kiway
 
HOLDER_TYPE m_type
 

Detailed Description

template<typename T>
class DIALOG_SIM_MODEL< T >

Definition at line 46 of file dialog_sim_model.h.

Member Enumeration Documentation

◆ HOLDER_TYPE

enum KIWAY_HOLDER::HOLDER_TYPE
inherited
Enumerator
DIALOG 
FRAME 
PANEL 

Definition at line 41 of file kiway_holder.h.

◆ PARAM_COLUMN

template<typename T>
enum DIALOG_SIM_MODEL::PARAM_COLUMN
Enumerator
DESCRIPTION 
VALUE 
UNIT 
DEFAULT 
TYPE 
END_ 

Definition at line 49 of file dialog_sim_model.h.

◆ PIN_COLUMN

template<typename T>
enum DIALOG_SIM_MODEL::PIN_COLUMN
Enumerator
SYMBOL 
MODEL 

Definition at line 59 of file dialog_sim_model.h.

Constructor & Destructor Documentation

◆ DIALOG_SIM_MODEL()

◆ ~DIALOG_SIM_MODEL()

Member Function Documentation

◆ addParamPropertyIfRelevant()

◆ adjustParamGridColumns()

template<typename T>
void DIALOG_SIM_MODEL< T >::adjustParamGridColumns ( int aWidth,
bool aForce )
private

◆ CleanupAfterModalSubDialog()

void DIALOG_SHIM::CleanupAfterModalSubDialog ( )
inherited

Definition at line 1298 of file dialog_shim.cpp.

References m_qmodal_parent_disabler.

◆ ClearModify()

void DIALOG_SHIM::ClearModify ( )
inherited

◆ curModel()

◆ DECLARE_EVENT_TABLE()

DIALOG_SHIM::DECLARE_EVENT_TABLE ( )
privateinherited

◆ doRedo()

void DIALOG_SHIM::doRedo ( )
privateinherited

◆ doUndo()

void DIALOG_SHIM::doUndo ( )
privateinherited

◆ Enable()

bool DIALOG_SHIM::Enable ( bool enable)
overrideinherited

Definition at line 431 of file dialog_shim.cpp.

◆ EndQuasiModal()

◆ findSymbolPinRow()

template<typename T>
int DIALOG_SIM_MODEL< T >::findSymbolPinRow ( const wxString & aSymbolPinNumber) const
private

Definition at line 1104 of file dialog_sim_model.cpp.

References m_sortedPartPins, and pin.

Referenced by updatePinAssignments().

◆ finishDialogSettings()

void DIALOG_SHIM::finishDialogSettings ( )
protectedinherited

In all dialogs, we must call the same functions to fix minimal dlg size, the default position and perhaps some others to fix a few issues depending on Windows Managers this helper function does these calls.

finishDialogSettings must be called from derived classes after all widgets have been initialized, and therefore their size fixed. If TransferDataToWindow() is used to initialize widgets, at the end of TransferDataToWindow, or better yet, at end of a wxInitDialogEvent handler.

Definition at line 268 of file dialog_shim.cpp.

Referenced by CONVERT_SETTINGS_DIALOG::CONVERT_SETTINGS_DIALOG(), DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_ASSIGN_NETCLASS::DIALOG_ASSIGN_NETCLASS(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_BOARD_SETUP::DIALOG_BOARD_SETUP(), DIALOG_BOM::DIALOG_BOM(), DIALOG_BOOK_REPORTER::DIALOG_BOOK_REPORTER(), DIALOG_CHANGE_SYMBOLS::DIALOG_CHANGE_SYMBOLS(), DIALOG_CLEANUP_TRACKS_AND_VIAS::DIALOG_CLEANUP_TRACKS_AND_VIAS(), DIALOG_COPPER_ZONE::DIALOG_COPPER_ZONE(), DIALOG_DATABASE_LIB_SETTINGS::DIALOG_DATABASE_LIB_SETTINGS(), DIALOG_DIMENSION_PROPERTIES::DIALOG_DIMENSION_PROPERTIES(), DIALOG_DRAW_LAYERS_SETTINGS::DIALOG_DRAW_LAYERS_SETTINGS(), DIALOG_DRC::DIALOG_DRC(), DIALOG_EDIT_SYMBOLS_LIBID::DIALOG_EDIT_SYMBOLS_LIBID(), DIALOG_ENUM_PADS::DIALOG_ENUM_PADS(), DIALOG_ERC::DIALOG_ERC(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_EXECUTECOMMAND_JOB_SETTINGS::DIALOG_EXECUTECOMMAND_JOB_SETTINGS(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_IDF3::DIALOG_EXPORT_IDF3(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_EXPORT_VRML::DIALOG_EXPORT_VRML(), DIALOG_FOOTPRINT_CHECKER::DIALOG_FOOTPRINT_CHECKER(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_FP_EDIT_PAD_TABLE::DIALOG_FP_EDIT_PAD_TABLE(), DIALOG_GENCAD_EXPORT_OPTIONS::DIALOG_GENCAD_EXPORT_OPTIONS(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GIT_REPOSITORY::DIALOG_GIT_REPOSITORY(), DIALOG_GIT_SWITCH::DIALOG_GIT_SWITCH(), DIALOG_GLOBAL_EDIT_TEARDROPS::DIALOG_GLOBAL_EDIT_TEARDROPS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS(), DIALOG_GLOBAL_LIB_TABLE_CONFIG::DIALOG_GLOBAL_LIB_TABLE_CONFIG(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_IBIS_PARSER_REPORTER::DIALOG_IBIS_PARSER_REPORTER(), DIALOG_IMAGE_PROPERTIES::DIALOG_IMAGE_PROPERTIES(), DIALOG_IMPORT_CHOOSE_PROJECT::DIALOG_IMPORT_CHOOSE_PROJECT(), DIALOG_IMPORT_NETLIST::DIALOG_IMPORT_NETLIST(), DIALOG_INSPECTOR::DIALOG_INSPECTOR(), DIALOG_JOBSET_RUN_LOG::DIALOG_JOBSET_RUN_LOG(), DIALOG_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), DIALOG_LIB_NEW_SYMBOL::DIALOG_LIB_NEW_SYMBOL(), DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_LIST_HOTKEYS::DIALOG_LIST_HOTKEYS(), DIALOG_MANAGE_REPOSITORIES::DIALOG_MANAGE_REPOSITORIES(), DIALOG_MAP_LAYERS::DIALOG_MAP_LAYERS(), DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT(), DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS::DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS(), DIALOG_MULTICHANNEL_REPEAT_LAYOUT::DIALOG_MULTICHANNEL_REPEAT_LAYOUT(), DIALOG_NON_COPPER_ZONES_EDITOR::DIALOG_NON_COPPER_ZONES_EDITOR(), DIALOG_OUTSET_ITEMS::DIALOG_OUTSET_ITEMS(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PASTE_SPECIAL::DIALOG_PASTE_SPECIAL(), DIALOG_PCM::DIALOG_PCM(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_PNS_SETTINGS::DIALOG_PNS_SETTINGS(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_PRINT::DIALOG_PRINT(), DIALOG_PRINT_GENERIC::DIALOG_PRINT_GENERIC(), DIALOG_PRINT_PCBNEW::DIALOG_PRINT_PCBNEW(), DIALOG_PUSH_PAD_PROPERTIES::DIALOG_PUSH_PAD_PROPERTIES(), DIALOG_REFERENCE_IMAGE_PROPERTIES::DIALOG_REFERENCE_IMAGE_PROPERTIES(), DIALOG_REGULATOR_FORM::DIALOG_REGULATOR_FORM(), DIALOG_RULE_AREA_PROPERTIES::DIALOG_RULE_AREA_PROPERTIES(), DIALOG_SCH_IMPORT_SETTINGS::DIALOG_SCH_IMPORT_SETTINGS(), DIALOG_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP(), DIALOG_SELECT_3DMODEL::DIALOG_SELECT_3DMODEL(), DIALOG_SET_OFFSET::DIALOG_SET_OFFSET(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SHEET_PROPERTIES::DIALOG_SHEET_PROPERTIES(), DIALOG_SIM_MODEL< T >::DIALOG_SIM_MODEL(), DIALOG_SWAP_LAYERS::DIALOG_SWAP_LAYERS(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_SYMBOL_PROPERTIES::DIALOG_SYMBOL_PROPERTIES(), DIALOG_SYNC_SHEET_PINS::DIALOG_SYNC_SHEET_PINS(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), DIALOG_TRACK_VIA_SIZE::DIALOG_TRACK_VIA_SIZE(), DIALOG_UNUSED_PAD_LAYERS::DIALOG_UNUSED_PAD_LAYERS(), DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), DIALOG_UPDATE_SYMBOL_FIELDS::DIALOG_UPDATE_SYMBOL_FIELDS(), DIALOG_USER_DEFINED_SIGNALS::DIALOG_USER_DEFINED_SIGNALS(), DIALOG_WIRE_BUS_PROPERTIES::DIALOG_WIRE_BUS_PROPERTIES(), PAGED_DIALOG::finishInitialization(), DIALOG_PASTE_SPECIAL::HideClearNets(), DIALOG_FIELD_PROPERTIES::init(), DIALOG_EDIT_LIBRARY_TABLES::InstallPanel(), NETLIST_DIALOG_ADD_GENERATOR::NETLIST_DIALOG_ADD_GENERATOR(), NETLIST_VIEW_DIALOG::NETLIST_VIEW_DIALOG(), DIALOG_SYMBOL_PROPERTIES::OnInitDlg(), DIALOG_SIM_COMMAND::onInitDlg(), DIALOG_BOARD_STATISTICS::TransferDataToWindow(), DIALOG_COLOR_PICKER::TransferDataToWindow(), DIALOG_FOOTPRINT_ASSOCIATIONS::TransferDataToWindow(), DIALOG_PIN_PROPERTIES::TransferDataToWindow(), DIALOG_TRACK_VIA_PROPERTIES::TransferDataToWindow(), WX_MULTI_ENTRY_DIALOG::WX_MULTI_ENTRY_DIALOG(), and WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG().

◆ generateKey()

std::string DIALOG_SHIM::generateKey ( const wxWindow * aWin) const
privateinherited

Definition at line 438 of file dialog_shim.cpp.

References makeKey().

Referenced by LoadControlState(), and SaveControlState().

◆ getControlValue()

wxVariant DIALOG_SHIM::getControlValue ( wxWindow * aCtrl)
privateinherited

Definition at line 962 of file dialog_shim.cpp.

References grid.

Referenced by recordControlChange(), and registerUndoRedoHandlers().

◆ getModelPinIndex()

template<typename T>
int DIALOG_SIM_MODEL< T >::getModelPinIndex ( const wxString & aModelPinString) const
private

◆ getModelPinString()

template<typename T>
wxString DIALOG_SIM_MODEL< T >::getModelPinString ( SIM_MODEL * aModel,
int aModelPinIndex ) const
private

Definition at line 1169 of file dialog_sim_model.cpp.

References SIM_MODEL::GetPin(), and SIM_MODEL_PIN::modelPinName.

Referenced by updatePinAssignments().

◆ getSymbolPinString()

template<typename T>
wxString DIALOG_SIM_MODEL< T >::getSymbolPinString ( int aSymbolPinNumber) const
private

Definition at line 1149 of file dialog_sim_model.cpp.

References m_sortedPartPins, and pin.

Referenced by updatePinAssignments().

◆ GetType()

HOLDER_TYPE KIWAY_HOLDER::GetType ( ) const
inlineinherited

◆ GetUserUnits()

◆ HasKiway()

bool KIWAY_HOLDER::HasKiway ( ) const
inlineinherited

Safety check before asking for the Kiway reference.

Returns
true if kiway is non-null

Definition at line 65 of file kiway_holder.h.

References m_kiway.

Referenced by DIALOG_SHIM::DIALOG_SHIM(), and DIALOG_SHIM::~DIALOG_SHIM().

◆ horizPixelsFromDU()

int DIALOG_SHIM::horizPixelsFromDU ( int x) const
protectedinherited

Convert an integer number of dialog units to pixels, horizontally.

See SetSizeInDU or wxDialog documentation for more information.

Definition at line 286 of file dialog_shim.cpp.

Referenced by DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), and DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE().

◆ IsCtrl()

static bool DIALOG_SHIM::IsCtrl ( int aChar,
const wxKeyEvent & e )
inlinestaticinherited

Definition at line 127 of file dialog_shim.h.

◆ isIbisLoaded()

template<typename T>
bool DIALOG_SIM_MODEL< T >::isIbisLoaded ( )
inlineprivate

◆ IsQuasiModal()

◆ IsShiftCtrl()

static bool DIALOG_SHIM::IsShiftCtrl ( int aChar,
const wxKeyEvent & e )
inlinestaticinherited

Definition at line 133 of file dialog_shim.h.

◆ Kiway()

KIWAY & KIWAY_HOLDER::Kiway ( ) const
inlineinherited

Return a reference to the KIWAY that this object has an opportunity to participate in.

A KIWAY_HOLDER is not necessarily a KIWAY_PLAYER.

Definition at line 55 of file kiway_holder.h.

References m_kiway.

Referenced by PROJECT_TREE_ITEM::Activate(), FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), IMPORT_PROJ_HELPER::addLocalLibraries(), SYMBOL_EDITOR_CONTROL::AddSymbolToSchematic(), CVPCB_MAINFRAME::BuildLibrariesList(), KICAD_MANAGER_FRAME::CloseProject(), CVPCB_MAINFRAME::CVPCB_MAINFRAME(), KIWAY_PLAYER::Destroy(), DIALOG_LIST_HOTKEYS::DIALOG_LIST_HOTKEYS(), DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH(), DIALOG_SHIM::DIALOG_SHIM(), BOARD_EDITOR_CONTROL::EditFpInFpEditor(), SCH_EDITOR_CONTROL::EditWithSymbolEditor(), EDA_DRAW_FRAME::IsScriptingConsoleVisible(), KICAD_MANAGER_FRAME::language_change(), KIWAY_PLAYER::language_change(), DIALOG_CHANGE_SYMBOLS::launchMatchIdSymbolBrowser(), DIALOG_CHANGE_SYMBOLS::launchNewIdSymbolBrowser(), PGM_SINGLE_TOP::MacOpenFile(), PCB_CALCULATOR_FRAME::OnExit(), SIMULATOR_FRAME::onExit(), EDA_3D_CANVAS::OnLeftDown(), KIGFX::WX_VIEW_CONTROLS::onMotion(), DIALOG_SYMBOL_REMAP::OnRemapSymbols(), DIALOG_FIELD_PROPERTIES::OnTextValueSelectButtonClick(), PCB_DESIGN_BLOCK_PREVIEW_WIDGET::PCB_DESIGN_BLOCK_PREVIEW_WIDGET(), Prj(), SCH_INSPECTION_TOOL::RunSimulation(), CVPCB_MAINFRAME::SaveFootprintAssociation(), EDA_DRAW_FRAME::ScriptingConsoleEnableDisable(), CVPCB_MAINFRAME::SendComponentSelectionToSch(), BOARD_EDITOR_CONTROL::ShowEeschema(), CVPCB_CONTROL::ShowFootprintViewer(), showFrame(), EDA_BASE_FRAME::ShowPreferences(), SCH_EDITOR_CONTROL::SimProbe(), SCH_EDITOR_CONTROL::SimTune(), KICAD_MANAGER_FRAME::UnarchiveFiles(), DIALOG_EXCHANGE_FOOTPRINTS::ViewAndSelectFootprint(), and DIALOG_SHIM::~DIALOG_SHIM().

◆ library()

template<typename T>
const SIM_LIBRARY * DIALOG_SIM_MODEL< T >::library ( ) const
private

Definition at line 1139 of file dialog_sim_model.cpp.

References m_libraryModelsMgr.

Referenced by isIbisLoaded().

◆ LoadControlState()

void DIALOG_SHIM::LoadControlState ( )
inherited

Load persisted control values from the current project's local settings.

Controls may opt out by setting the boolean window property "persist" to false. Dialog geometry is stored under the special key "__geometry".

Definition at line 579 of file dialog_shim.cpp.

References generateKey(), PGM_BASE::GetCommonSettings(), COMMON_SETTINGS::m_dialogControlValues, m_hash_key, m_unitBinders, Pgm(), and PROPERTY_HOLDER::SafeCast().

Referenced by onInitDialog().

◆ loadLibrary()

◆ newParamProperty()

◆ onBrowseButtonClick()

◆ onBrowseButtonUpdate()

virtual void DIALOG_SIM_MODEL_BASE::onBrowseButtonUpdate ( wxUpdateUIEvent & event)
inlineprotectedvirtualinherited

Definition at line 102 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE(), and ~DIALOG_SIM_MODEL_BASE().

◆ OnButton()

void DIALOG_SHIM::OnButton ( wxCommandEvent & aEvent)
privateinherited

Properly handle the default button events when in the quasimodal mode when not calling EndQuasiModal which is possible with any dialog derived from DIALOG_SHIM.

Definition at line 1354 of file dialog_shim.cpp.

References EndQuasiModal(), ignore_unused(), and IsQuasiModal().

Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().

◆ OnCharHook()

◆ onChildSetFocus()

void DIALOG_SHIM::onChildSetFocus ( wxFocusEvent & aEvent)
privateinherited

Definition at line 1392 of file dialog_shim.cpp.

References m_beforeEditValues, and m_isClosing.

Referenced by SelectAllInTextCtrls(), and ~DIALOG_SHIM().

◆ OnCloseWindow()

void DIALOG_SHIM::OnCloseWindow ( wxCloseEvent & aEvent)
privateinherited

Properly handle the wxCloseEvent when in the quasimodal mode when not calling EndQuasiModal which is possible with any dialog derived from DIALOG_SHIM.

Definition at line 1338 of file dialog_shim.cpp.

References APP_MONITOR::AddNavigationBreadcrumb(), EndQuasiModal(), and IsQuasiModal().

Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().

◆ onCommandEvent()

void DIALOG_SHIM::onCommandEvent ( wxCommandEvent & aEvent)
privateinherited

Definition at line 902 of file dialog_shim.cpp.

References m_handlingUndoRedo, and recordControlChange().

Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().

◆ onDataViewListChanged()

void DIALOG_SHIM::onDataViewListChanged ( wxDataViewEvent & aEvent)
privateinherited

Definition at line 954 of file dialog_shim.cpp.

References m_handlingUndoRedo, and recordControlChange().

Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().

◆ onDeviceTypeChoice()

template<typename T>
void DIALOG_SIM_MODEL< T >::onDeviceTypeChoice ( wxCommandEvent & aEvent)
overrideprivatevirtual

◆ onDeviceTypeChoiceUpdate()

virtual void DIALOG_SIM_MODEL_BASE::onDeviceTypeChoiceUpdate ( wxUpdateUIEvent & event)
inlineprotectedvirtualinherited

Definition at line 120 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE(), and ~DIALOG_SIM_MODEL_BASE().

◆ onDeviceTypeLabelUpdate()

virtual void DIALOG_SIM_MODEL_BASE::onDeviceTypeLabelUpdate ( wxUpdateUIEvent & event)
inlineprotectedvirtualinherited

Definition at line 118 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE(), and ~DIALOG_SIM_MODEL_BASE().

◆ onDifferentialCheckbox()

template<typename T>
void DIALOG_SIM_MODEL< T >::onDifferentialCheckbox ( wxCommandEvent & event)
overrideprivatevirtual

◆ onFilterCharHook()

template<typename T>
void DIALOG_SIM_MODEL< T >::onFilterCharHook ( wxKeyEvent & aKeyStroke)
overrideprivatevirtual

Reimplemented from DIALOG_SIM_MODEL_BASE.

Definition at line 1295 of file dialog_sim_model.cpp.

References DIALOG_SIM_MODEL_BASE::m_modelListBox.

◆ onGridCellChanged()

void DIALOG_SHIM::onGridCellChanged ( wxGridEvent & aEvent)
privateinherited

Definition at line 938 of file dialog_shim.cpp.

References m_handlingUndoRedo, and recordControlChange().

Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().

◆ onIbisModelLabelUpdate()

virtual void DIALOG_SIM_MODEL_BASE::onIbisModelLabelUpdate ( wxUpdateUIEvent & event)
inlineprotectedvirtualinherited

Definition at line 114 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE(), and ~DIALOG_SIM_MODEL_BASE().

◆ onIbisPinLabelUpdate()

virtual void DIALOG_SIM_MODEL_BASE::onIbisPinLabelUpdate ( wxUpdateUIEvent & event)
inlineprotectedvirtualinherited

Definition at line 107 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE(), and ~DIALOG_SIM_MODEL_BASE().

◆ onInitDialog()

void DIALOG_SHIM::onInitDialog ( wxInitDialogEvent & aEvent)
privateinherited

Definition at line 261 of file dialog_shim.cpp.

References LoadControlState().

Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().

◆ onLibraryPathLabelUpdate()

virtual void DIALOG_SIM_MODEL_BASE::onLibraryPathLabelUpdate ( wxUpdateUIEvent & event)
inlineprotectedvirtualinherited

Definition at line 97 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE(), and ~DIALOG_SIM_MODEL_BASE().

◆ onLibraryPathText()

template<typename T>
void DIALOG_SIM_MODEL< T >::onLibraryPathText ( wxCommandEvent & aEvent)
overrideprivatevirtual

Reimplemented from DIALOG_SIM_MODEL_BASE.

Definition at line 1212 of file dialog_sim_model.cpp.

References DIALOG_SIM_MODEL_BASE::m_rbLibraryModel.

◆ onLibraryPathTextEnter()

template<typename T>
void DIALOG_SIM_MODEL< T >::onLibraryPathTextEnter ( wxCommandEvent & aEvent)
overrideprivatevirtual

◆ onLibraryPathTextKillFocus()

template<typename T>
void DIALOG_SIM_MODEL< T >::onLibraryPathTextKillFocus ( wxFocusEvent & aEvent)
overrideprivatevirtual

Reimplemented from DIALOG_SIM_MODEL_BASE.

Definition at line 1236 of file dialog_sim_model.cpp.

References dummy, and onLibraryPathTextEnter().

◆ onModelFilter()

template<typename T>
void DIALOG_SIM_MODEL< T >::onModelFilter ( wxCommandEvent & aEvent)
overrideprivatevirtual

◆ onModelNameChoice()

◆ onModelNameComboboxKillFocus()

virtual void DIALOG_SIM_MODEL_BASE::onModelNameComboboxKillFocus ( wxFocusEvent & event)
inlineprotectedvirtualinherited

Definition at line 109 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE(), and ~DIALOG_SIM_MODEL_BASE().

◆ onModelNameComboboxUpdate()

virtual void DIALOG_SIM_MODEL_BASE::onModelNameComboboxUpdate ( wxUpdateUIEvent & event)
inlineprotectedvirtualinherited

Definition at line 111 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE(), and ~DIALOG_SIM_MODEL_BASE().

◆ onModelNameLabelUpdate()

virtual void DIALOG_SIM_MODEL_BASE::onModelNameLabelUpdate ( wxUpdateUIEvent & event)
inlineprotectedvirtualinherited

Definition at line 103 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE(), and ~DIALOG_SIM_MODEL_BASE().

◆ OnModify()

void DIALOG_SHIM::OnModify ( )
inherited

Definition at line 1196 of file dialog_shim.cpp.

Referenced by DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddBodyStyle(), DIALOG_FOOTPRINT_PROPERTIES::OnAddField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnAddField(), DIALOG_LIB_FIELDS_TABLE::OnAddField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddField(), DIALOG_SYMBOL_FIELDS_TABLE::OnAddField(), DIALOG_SYMBOL_PROPERTIES::OnAddField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddFootprintFilter(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::onAddGroup(), DIALOG_LIB_SYMBOL_PROPERTIES::OnBodyStyleMoveDown(), DIALOG_LIB_SYMBOL_PROPERTIES::OnBodyStyleMoveUp(), DIALOG_FOOTPRINT_PROPERTIES::OnCheckBox(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnCheckBox(), DIALOG_LIB_SYMBOL_PROPERTIES::OnCheckBox(), DIALOG_SYMBOL_PROPERTIES::OnCheckBox(), DIALOG_FOOTPRINT_PROPERTIES::OnChoice(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnChoice(), DIALOG_FOOTPRINT_PROPERTIES::OnCombobox(), DIALOG_LIB_SYMBOL_PROPERTIES::OnCombobox(), DIALOG_PAD_PROPERTIES::onCornerRadiusChange(), DIALOG_PAD_PROPERTIES::onCornerSizePercentChange(), DIALOG_LIB_SYMBOL_PROPERTIES::OnDeleteBodyStyle(), DIALOG_FOOTPRINT_PROPERTIES::OnDeleteField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnDeleteField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnDeleteField(), DIALOG_SYMBOL_PROPERTIES::OnDeleteField(), DIALOG_PAD_PROPERTIES::OnDrillShapeSelected(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditFootprintFilter(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_LIB_SYMBOL_PROPERTIES::OnGridCellChanged(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::onLayerGridRowAddUserLayer(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::onLayerGridRowDelete(), DIALOG_PAD_PROPERTIES::onModify(), DIALOG_PAD_PROPERTIES::onModify(), DIALOG_LIB_SYMBOL_PROPERTIES::OnMoveDown(), DIALOG_SYMBOL_PROPERTIES::OnMoveDown(), DIALOG_LIB_SYMBOL_PROPERTIES::OnMoveUp(), DIALOG_SYMBOL_PROPERTIES::OnMoveUp(), DIALOG_PAD_PROPERTIES::OnPadShapeSelection(), DIALOG_SYMBOL_PROPERTIES::OnPinTableCellEdited(), DIALOG_LIB_SYMBOL_PROPERTIES::onPowerCheckBox(), DIALOG_LIB_FIELDS_TABLE::OnRemoveField(), DIALOG_SYMBOL_FIELDS_TABLE::OnRemoveField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::onRemoveGroup(), DIALOG_LIB_FIELDS_TABLE::OnRenameField(), DIALOG_SYMBOL_FIELDS_TABLE::OnRenameField(), DIALOG_PAD_PROPERTIES::OnSetCopperLayers(), DIALOG_PAD_PROPERTIES::OnSetLayers(), DIALOG_LIB_SYMBOL_PROPERTIES::OnSymbolNameText(), DIALOG_LIB_FIELDS_TABLE::OnTableValueChanged(), DIALOG_SYMBOL_FIELDS_TABLE::OnTableValueChanged(), DIALOG_FOOTPRINT_PROPERTIES::OnText(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnText(), DIALOG_LIB_SYMBOL_PROPERTIES::OnText(), DIALOG_SYMBOL_PROPERTIES::OnUnitChoice(), DIALOG_LIB_SYMBOL_PROPERTIES::OnUnitSpinCtrl(), DIALOG_LIB_SYMBOL_PROPERTIES::OnUnitSpinCtrlEnter(), DIALOG_LIB_SYMBOL_PROPERTIES::OnUnitSpinCtrlKillFocus(), DIALOG_PAD_PROPERTIES::OnValuesChanged(), DIALOG_LIB_FIELDS_TABLE::OnViewControlsCellChanged(), DIALOG_SYMBOL_FIELDS_TABLE::OnViewControlsCellChanged(), DIALOG_PAD_PROPERTIES::PadOrientEvent(), DIALOG_PAD_PROPERTIES::PadTypeSelected(), DIALOG_LIB_FIELDS_TABLE::ShowHideColumn(), and DIALOG_SYMBOL_FIELDS_TABLE::ShowHideColumn().

◆ OnMove()

void DIALOG_SHIM::OnMove ( wxMoveEvent & aEvent)
privateinherited

Definition at line 424 of file dialog_shim.cpp.

References m_userPositioned.

Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().

◆ onOverrideCheckboxUpdate()

virtual void DIALOG_SIM_MODEL_BASE::onOverrideCheckboxUpdate ( wxUpdateUIEvent & event)
inlineprotectedvirtualinherited

Definition at line 113 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE(), and ~DIALOG_SIM_MODEL_BASE().

◆ onPageChanging()

template<typename T>
void DIALOG_SIM_MODEL< T >::onPageChanging ( wxNotebookEvent & event)
overrideprivatevirtual

Reimplemented from DIALOG_SIM_MODEL_BASE.

Definition at line 1563 of file dialog_sim_model.cpp.

References curModel(), and updateModelCodeTab().

◆ OnPaint()

void DIALOG_SHIM::OnPaint ( wxPaintEvent & event)
inherited

◆ onParamGridSelectionChange()

template<typename T>
void DIALOG_SIM_MODEL< T >::onParamGridSelectionChange ( wxPropertyGridEvent & aEvent)
private

◆ onParamGridSetFocus()

template<typename T>
void DIALOG_SIM_MODEL< T >::onParamGridSetFocus ( wxFocusEvent & aEvent)
private

Definition at line 1609 of file dialog_sim_model.cpp.

References grid, and DIALOG_SIM_MODEL_BASE::m_paramGrid.

Referenced by DIALOG_SIM_MODEL().

◆ onPinAssignmentsGridCellChange()

template<typename T>
void DIALOG_SIM_MODEL< T >::onPinAssignmentsGridCellChange ( wxGridEvent & aEvent)
overrideprivatevirtual

◆ onPinAssignmentsGridSize()

template<typename T>
void DIALOG_SIM_MODEL< T >::onPinAssignmentsGridSize ( wxSizeEvent & aEvent)
overrideprivatevirtual

◆ onPinCombobox()

◆ onPinComboboxTextEnter()

template<typename T>
void DIALOG_SIM_MODEL< T >::onPinComboboxTextEnter ( wxCommandEvent & event)
overrideprivatevirtual

Reimplemented from DIALOG_SIM_MODEL_BASE.

Definition at line 1445 of file dialog_sim_model.cpp.

References DIALOG_SIM_MODEL_BASE::m_pinCombobox, and onPinModelCombobox().

◆ onPinModelCombobox()

template<typename T>
void DIALOG_SIM_MODEL< T >::onPinModelCombobox ( wxCommandEvent & event)
overrideprivatevirtual

Reimplemented from DIALOG_SIM_MODEL_BASE.

Definition at line 1454 of file dialog_sim_model.cpp.

References updateWidgets().

Referenced by onPinComboboxTextEnter().

◆ onPinModelComboboxTextEnter()

template<typename T>
void DIALOG_SIM_MODEL< T >::onPinModelComboboxTextEnter ( wxCommandEvent & event)
overrideprivatevirtual

Reimplemented from DIALOG_SIM_MODEL_BASE.

Definition at line 1461 of file dialog_sim_model.cpp.

References DIALOG_SIM_MODEL_BASE::m_pinModelCombobox.

◆ onPropertyGridChanged()

void DIALOG_SHIM::onPropertyGridChanged ( wxPropertyGridEvent & aEvent)
privateinherited

Definition at line 946 of file dialog_shim.cpp.

References m_handlingUndoRedo, and recordControlChange().

Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().

◆ onRadioButton()

template<typename T>
void DIALOG_SIM_MODEL< T >::onRadioButton ( wxCommandEvent & aEvent)
overrideprivatevirtual

Reimplemented from DIALOG_SIM_MODEL_BASE.

Definition at line 1204 of file dialog_sim_model.cpp.

References m_prevModel, and updateWidgets().

Referenced by TransferDataToWindow().

◆ OnSize()

void DIALOG_SHIM::OnSize ( wxSizeEvent & aEvent)
privateinherited

Definition at line 417 of file dialog_shim.cpp.

References m_userResized.

Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().

◆ onSizeParamGrid()

template<typename T>
void DIALOG_SIM_MODEL< T >::onSizeParamGrid ( wxSizeEvent & event)
overrideprivatevirtual

Reimplemented from DIALOG_SIM_MODEL_BASE.

Definition at line 1758 of file dialog_sim_model.cpp.

References adjustParamGridColumns().

◆ onSpinDoubleEvent()

void DIALOG_SHIM::onSpinDoubleEvent ( wxSpinDoubleEvent & aEvent)
privateinherited

Definition at line 920 of file dialog_shim.cpp.

References m_handlingUndoRedo, and recordControlChange().

Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().

◆ onSpinEvent()

void DIALOG_SHIM::onSpinEvent ( wxSpinEvent & aEvent)
privateinherited

Definition at line 911 of file dialog_shim.cpp.

References m_handlingUndoRedo, and recordControlChange().

Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().

◆ onStyledTextChanged()

void DIALOG_SHIM::onStyledTextChanged ( wxStyledTextEvent & aEvent)
privateinherited

Definition at line 929 of file dialog_shim.cpp.

References m_handlingUndoRedo, and recordControlChange().

Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().

◆ onTypeChoice()

template<typename T>
void DIALOG_SIM_MODEL< T >::onTypeChoice ( wxCommandEvent & aEvent)
overrideprivatevirtual

◆ onTypeLabelUpdate()

virtual void DIALOG_SIM_MODEL_BASE::onTypeLabelUpdate ( wxUpdateUIEvent & event)
inlineprotectedvirtualinherited

Definition at line 121 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE(), and ~DIALOG_SIM_MODEL_BASE().

◆ onUpdateUI()

template<typename T>
void DIALOG_SIM_MODEL< T >::onUpdateUI ( wxUpdateUIEvent & aEvent)
private

Definition at line 1696 of file dialog_sim_model.cpp.

References grid, and DIALOG_SIM_MODEL_BASE::m_paramGrid.

Referenced by DIALOG_SIM_MODEL().

◆ onWaveformChoice()

◆ OptOut()

void DIALOG_SHIM::OptOut ( wxWindow * aWindow)
inherited

◆ PrepareForModalSubDialog()

void DIALOG_SHIM::PrepareForModalSubDialog ( )
inherited

Definition at line 1291 of file dialog_shim.cpp.

References m_qmodal_parent_disabler.

◆ Prj()

PROJECT & KIWAY_HOLDER::Prj ( ) const
inherited

Return a reference to the PROJECT associated with this KIWAY.

Definition at line 36 of file kiway_holder.cpp.

References Kiway(), and KIWAY::Prj().

Referenced by DESIGN_BLOCK_TREE_MODEL_ADAPTER::AddLibraries(), FP_TREE_MODEL_ADAPTER::AddLibraries(), SYMBOL_TREE_MODEL_ADAPTER::AddLibraries(), AskSaveBoardFileName(), DIALOG_SYMBOL_REMAP::backupProject(), CVPCB_MAINFRAME::buildEquivalenceList(), CVPCB_MAINFRAME::BuildLibrariesList(), PCB_BASE_FRAME::canCloseWindow(), SIMULATOR_FRAME::canCloseWindow(), KICAD_MANAGER_FRAME::CloseProject(), PCB_BASE_FRAME::CreateNewFootprint(), DIALOG_SYMBOL_REMAP::createProjectSymbolLibTable(), DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_BOARD_SETUP::DIALOG_BOARD_SETUP(), DIALOG_BOARD_STATISTICS::DIALOG_BOARD_STATISTICS(), DIALOG_CHANGE_SYMBOLS::DIALOG_CHANGE_SYMBOLS(), DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_IBIS_PARSER_REPORTER::DIALOG_IBIS_PARSER_REPORTER(), DIALOG_IMPORT_NETLIST::DIALOG_IMPORT_NETLIST(), DIALOG_PAGES_SETTINGS::DIALOG_PAGES_SETTINGS(), DIALOG_PLOT::DIALOG_PLOT(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP(), DIALOG_SIM_MODEL< T >::DIALOG_SIM_MODEL(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_SYMBOL_REMAP::DIALOG_SYMBOL_REMAP(), DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), FOOTPRINT_PREVIEW_PANEL::DisplayFootprint(), CVPCB_MAINFRAME::DisplayStatus(), DIALOG_TABLE_PROPERTIES::getContextualTextVars(), DIALOG_TABLECELL_PROPERTIES::getContextualTextVars(), DIALOG_TEXT_PROPERTIES::getContextualTextVars(), EDA_3D_VIEWER_FRAME::getExportFileName(), PCB_BASE_FRAME::GetLibraryItemsForListDialog(), SCH_BASE_FRAME::GetLibraryItemsForListDialog(), DIALOG_SYMBOL_REMAP::getLibsNotInGlobalSymbolLibTable(), SCH_BASE_FRAME::GetLibSymbol(), DIALOG_PLOT_SCHEMATIC::getOutputPath(), KICAD_MANAGER_FRAME::GetProjectFileName(), API_HANDLER_PCB::handleRevertDocument(), FIELDS_GRID_TABLE::initGrid(), PCB_BASE_FRAME::loadFootprint(), CVPCB_MAINFRAME::LoadFootprintFiles(), KICAD_MANAGER_FRAME::LoadProject(), SIMULATOR_FRAME::LoadSettings(), SIMULATOR_FRAME::LoadSimulator(), EDA_BASE_FRAME::LoadWindowState(), EDA_3D_VIEWER_FRAME::NewDisplay(), DIALOG_SIM_MODEL< T >::onBrowseButtonClick(), DIALOG_EXPORT_2581::onBrowseClicked(), DIALOG_EXPORT_ODBPP::onBrowseClicked(), DIALOG_EXPORT_STEP::onBrowseClicked(), DIALOG_GENCAD_EXPORT_OPTIONS::onBrowseClicked(), DIALOG_IMPORT_NETLIST::onBrowseNetlistFiles(), DIALOG_EDIT_SYMBOLS_LIBID::onClickOrphansButton(), DIALOG_SYMBOL_FIELDS_TABLE::OnExport(), DIALOG_EXPORT_STEP::onExportButton(), PCB_BASE_FRAME::OnFpChangeDebounceTimer(), DIALOG_GENDRILL::onGenReportFile(), KICAD_MANAGER_FRAME::OnIdle(), DIALOG_CONFIG_EQUFILES::OnOkClick(), KICAD_MANAGER_FRAME::OnOpenFileInTextEditor(), DIALOG_PLOT::onOpenOutputDirectory(), DIALOG_GEN_FOOTPRINT_POSITION::onOutputDirectoryBrowseClicked(), DIALOG_GENDRILL::onOutputDirectoryBrowseClicked(), DIALOG_PLOT::onOutputDirectoryBrowseClicked(), DIALOG_PLOT_SCHEMATIC::onOutputDirectoryBrowseClicked(), DIALOG_SYMBOL_FIELDS_TABLE::OnOutputFileBrowseClicked(), DIALOG_BOARD_SETUP::onPageChanged(), DIALOG_SCHEMATIC_SETUP::onPageChanged(), DIALOG_SYMBOL_REMAP::OnRemapSymbols(), DIALOG_DRC::OnSaveReport(), DIALOG_ERC::OnSaveReport(), SCH_BASE_FRAME::OnSymChange(), PANEL_FOOTPRINT_CHOOSER::PANEL_FOOTPRINT_CHOOSER(), PANEL_PREVIEW_3D_MODEL::PANEL_PREVIEW_3D_MODEL(), EDA_DRAW_FRAME::PrintDrawingSheet(), KICAD_MANAGER_FRAME::PrintPrjInfo(), KICAD_MANAGER_FRAME::ProjectChanged(), CVPCB_MAINFRAME::readNetListAndFpFiles(), EDA_3D_VIEWER_FRAME::ReloadRequest(), SIMULATOR_FRAME::ReloadSimulator(), DIALOG_SYMBOL_REMAP::remapSymbolToLibTable(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), SAVE_SYMBOL_AS_DIALOG::SAVE_SYMBOL_AS_DIALOG(), KICAD_MANAGER_FRAME::SaveOpenJobSetsToLocalSettings(), DIALOG_BOARD_STATISTICS::saveReportClicked(), EDA_BASE_FRAME::SaveSettings(), SIMULATOR_FRAME::SaveSettings(), SCH_BASE_FRAME::saveSymbolLibTables(), SCH_BASE_FRAME::SelectLibrary(), PCB_BASE_FRAME::setFPWatcher(), GERBVIEW_FRAME::SetPageSettings(), SCH_BASE_FRAME::setSymWatcher(), DIALOG_LIB_FIELDS_TABLE::SetupColumnProperties(), DIALOG_SYMBOL_FIELDS_TABLE::SetupColumnProperties(), BOARD_EDITOR_CONTROL::ShowEeschema(), DIALOG_EDIT_SYMBOLS_LIBID::TransferDataFromWindow(), DIALOG_EXPORT_2581::TransferDataFromWindow(), DIALOG_EXPORT_NETLIST::TransferDataFromWindow(), DIALOG_SIM_MODEL< T >::TransferDataFromWindow(), DIALOG_EXPORT_2581::TransferDataToWindow(), KICAD_MANAGER_FRAME::UnarchiveFiles(), DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample(), SIMULATOR_FRAME::UpdateTitle(), DIALOG_FOOTPRINT_PROPERTIES::~DIALOG_FOOTPRINT_PROPERTIES(), and EDA_3D_VIEWER_FRAME::~EDA_3D_VIEWER_FRAME().

◆ recordControlChange()

void DIALOG_SHIM::recordControlChange ( wxWindow * aCtrl)
privateinherited

◆ registerUndoRedoHandlers()

void DIALOG_SHIM::registerUndoRedoHandlers ( wxWindowList & aChildren)
privateinherited

◆ RegisterUnitBinder()

void DIALOG_SHIM::RegisterUnitBinder ( UNIT_BINDER * aUnitBinder,
wxWindow * aWindow )
inherited

Register a UNIT_BINDER so that it can handle units in control-state save/restore.

Parameters
aUnitBinder
aWindowthe control window

Definition at line 728 of file dialog_shim.cpp.

References m_unitBinders.

◆ removeOrphanedPinAssignments()

template<typename T>
void DIALOG_SIM_MODEL< T >::removeOrphanedPinAssignments ( SIM_MODEL * aModel)
private

◆ resetSize()

void DIALOG_SHIM::resetSize ( )
protectedinherited

Clear the existing dialog size and position.

This will cause the dialog size to be clear so the next time the dialog is shown the sizers will layout the dialog accordingly. This useful when there are dialog windows that size changes due to layout dependency hidden controls.

Definition at line 401 of file dialog_shim.cpp.

References m_hash_key, and Pgm().

Referenced by DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES(), and DIALOG_PAD_PROPERTIES::updatePadSizeControls().

◆ SaveControlState()

void DIALOG_SHIM::SaveControlState ( )
inherited

Save control values and geometry to the current project's local settings.

Definition at line 480 of file dialog_shim.cpp.

References generateKey(), PGM_BASE::GetCommonSettings(), COMMON_SETTINGS::m_dialogControlValues, m_hash_key, m_unitBinders, Pgm(), and PROPERTY_HOLDER::SafeCast().

Referenced by Show().

◆ SelectAllInTextCtrls()

void DIALOG_SHIM::SelectAllInTextCtrls ( wxWindowList & children)
inherited

◆ setControlValue()

void DIALOG_SHIM::setControlValue ( wxWindow * aCtrl,
const wxVariant & aValue )
privateinherited

Definition at line 1052 of file dialog_shim.cpp.

References grid.

Referenced by doRedo(), and doUndo().

◆ SetInitialFocus()

void DIALOG_SHIM::SetInitialFocus ( wxWindow * aWindow)
inlineinherited

Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.

Definition at line 82 of file dialog_shim.h.

References m_initialFocusTarget.

Referenced by DIALOG_BOM::DIALOG_BOM(), DIALOG_CONFIGURE_PATHS::DIALOG_CONFIGURE_PATHS(), DIALOG_ENUM_PADS::DIALOG_ENUM_PADS(), DIALOG_FIND::DIALOG_FIND(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_GET_FOOTPRINT_BY_NAME::DIALOG_GET_FOOTPRINT_BY_NAME(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_IMPORT_GFX_SCH::DIALOG_IMPORT_GFX_SCH(), DIALOG_IMPORT_GRAPHICS::DIALOG_IMPORT_GRAPHICS(), DIALOG_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_PLUGIN_OPTIONS::DIALOG_PLUGIN_OPTIONS(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_SCH_FIND::DIALOG_SCH_FIND(), DIALOG_SET_OFFSET::DIALOG_SET_OFFSET(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SYMBOL_CHOOSER::DIALOG_SYMBOL_CHOOSER(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), DIALOG_TUNING_PATTERN_PROPERTIES::DIALOG_TUNING_PATTERN_PROPERTIES(), DIALOG_WIRE_BUS_PROPERTIES::DIALOG_WIRE_BUS_PROPERTIES(), EDA_VIEW_SWITCHER::EDA_VIEW_SWITCHER(), HK_PROMPT_DIALOG::HK_PROMPT_DIALOG(), SCH_EDITOR_CONTROL::IncrementAnnotations(), DIALOG_FIELD_PROPERTIES::init(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchAllClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchIDClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchRefClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchSelectedClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchValueClicked(), DIALOG_LABEL_PROPERTIES::onMultiLabelCheck(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), SAVE_SYMBOL_AS_DIALOG::SAVE_SYMBOL_AS_DIALOG(), DIALOG_COPPER_ZONE::TransferDataToWindow(), DIALOG_NON_COPPER_ZONES_EDITOR::TransferDataToWindow(), DIALOG_RULE_AREA_PROPERTIES::TransferDataToWindow(), DIALOG_TRACK_VIA_PROPERTIES::TransferDataToWindow(), WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG(), WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG(), and WX_UNIT_ENTRY_DIALOG::WX_UNIT_ENTRY_DIALOG().

◆ SetKiway()

void KIWAY_HOLDER::SetKiway ( wxWindow * aDest,
KIWAY * aKiway )
inherited

It is only used for debugging, since "this" is not a wxWindow*.

"this" is a KIWAY_HOLDER mix-in.

Parameters
aDestis the recipient of aKiway pointer.
aKiwayis often from a parent window or from KIFACE::CreateKiWindow().

Definition at line 43 of file kiway_holder.cpp.

References ignore_unused(), m_kiway, and name.

Referenced by PCB::IFACE::CreateKiWindow(), DIALOG_SHIM::DIALOG_SHIM(), InvokePcbLibTableEditor(), and InvokeSchEditSymbolLibTable().

◆ SetPosition()

void DIALOG_SHIM::SetPosition ( const wxPoint & aNewPosition)
inherited

Force the position of the dialog to a new position.

Parameters
aNewPositionis the new forced position

Definition at line 306 of file dialog_shim.cpp.

Referenced by PCB_BASE_FRAME::SelectOneLayer().

◆ setSizeInDU()

void DIALOG_SHIM::setSizeInDU ( int x,
int y )
protectedinherited

Set the dialog to the given dimensions in "dialog units".

These are units equivalent to 4* the average character width and 8* the average character height, allowing a dialog to be sized in a way that scales it with the system font.

Definition at line 279 of file dialog_shim.cpp.

Referenced by HTML_MESSAGE_BOX::HTML_MESSAGE_BOX(), and HTML_MESSAGE_BOX::SetDialogSizeInDU().

◆ SetupStandardButtons()

void DIALOG_SHIM::SetupStandardButtons ( std::map< int, wxString > aLabels = {})
inherited

Definition at line 1618 of file dialog_shim.cpp.

References recursiveDescent().

Referenced by CONVERT_SETTINGS_DIALOG::CONVERT_SETTINGS_DIALOG(), DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_ASSIGN_NETCLASS::DIALOG_ASSIGN_NETCLASS(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_BOM::DIALOG_BOM(), DIALOG_BOOK_REPORTER::DIALOG_BOOK_REPORTER(), DIALOG_CHANGE_SYMBOLS::DIALOG_CHANGE_SYMBOLS(), DIALOG_CLEANUP_GRAPHICS::DIALOG_CLEANUP_GRAPHICS(), DIALOG_COLOR_PICKER::DIALOG_COLOR_PICKER(), DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES(), DIALOG_CONFIGURE_PATHS::DIALOG_CONFIGURE_PATHS(), DIALOG_COPPER_ZONE::DIALOG_COPPER_ZONE(), DIALOG_COPYFILES_JOB_SETTINGS::DIALOG_COPYFILES_JOB_SETTINGS(), DIALOG_CREATE_ARRAY::DIALOG_CREATE_ARRAY(), DIALOG_DATABASE_LIB_SETTINGS::DIALOG_DATABASE_LIB_SETTINGS(), DIALOG_DESIGN_BLOCK_PROPERTIES::DIALOG_DESIGN_BLOCK_PROPERTIES(), DIALOG_DESTINATION::DIALOG_DESTINATION(), DIALOG_DIELECTRIC_MATERIAL::DIALOG_DIELECTRIC_MATERIAL(), DIALOG_DIMENSION_PROPERTIES::DIALOG_DIMENSION_PROPERTIES(), DIALOG_DRAW_LAYERS_SETTINGS::DIALOG_DRAW_LAYERS_SETTINGS(), DIALOG_DRC::DIALOG_DRC(), DIALOG_ERC::DIALOG_ERC(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_EXECUTECOMMAND_JOB_SETTINGS::DIALOG_EXECUTECOMMAND_JOB_SETTINGS(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_IDF3::DIALOG_EXPORT_IDF3(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_EXPORT_VRML::DIALOG_EXPORT_VRML(), DIALOG_FILTER_SELECTION::DIALOG_FILTER_SELECTION(), DIALOG_FOOTPRINT_CHECKER::DIALOG_FOOTPRINT_CHECKER(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GENERATE_DATABASE_CONNECTION::DIALOG_GENERATE_DATABASE_CONNECTION(), DIALOG_GET_FOOTPRINT_BY_NAME::DIALOG_GET_FOOTPRINT_BY_NAME(), DIALOG_GIT_COMMIT::DIALOG_GIT_COMMIT(), DIALOG_GIT_REPOSITORY::DIALOG_GIT_REPOSITORY(), DIALOG_GLOBAL_DELETION::DIALOG_GLOBAL_DELETION(), DIALOG_GLOBAL_EDIT_TEARDROPS::DIALOG_GLOBAL_EDIT_TEARDROPS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS(), DIALOG_GLOBAL_LIB_TABLE_CONFIG::DIALOG_GLOBAL_LIB_TABLE_CONFIG(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_IBIS_PARSER_REPORTER::DIALOG_IBIS_PARSER_REPORTER(), DIALOG_IMAGE_PROPERTIES::DIALOG_IMAGE_PROPERTIES(), DIALOG_IMPORT_CHOOSE_PROJECT::DIALOG_IMPORT_CHOOSE_PROJECT(), DIALOG_IMPORT_GFX_SCH::DIALOG_IMPORT_GFX_SCH(), DIALOG_IMPORT_GRAPHICS::DIALOG_IMPORT_GRAPHICS(), DIALOG_IMPORT_NETLIST::DIALOG_IMPORT_NETLIST(), DIALOG_IMPORT_SETTINGS::DIALOG_IMPORT_SETTINGS(), DIALOG_JOBSET_RUN_LOG::DIALOG_JOBSET_RUN_LOG(), DIALOG_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), DIALOG_LIB_NEW_SYMBOL::DIALOG_LIB_NEW_SYMBOL(), DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_MAP_LAYERS::DIALOG_MAP_LAYERS(), DIALOG_MIGRATE_SETTINGS::DIALOG_MIGRATE_SETTINGS(), DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT(), DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS::DIALOG_MULTICHANNEL_GENERATE_RULE_AREAS(), DIALOG_MULTICHANNEL_REPEAT_LAYOUT::DIALOG_MULTICHANNEL_REPEAT_LAYOUT(), DIALOG_NON_COPPER_ZONES_EDITOR::DIALOG_NON_COPPER_ZONES_EDITOR(), DIALOG_OUTSET_ITEMS::DIALOG_OUTSET_ITEMS(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PAGES_SETTINGS::DIALOG_PAGES_SETTINGS(), DIALOG_PCM::DIALOG_PCM(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_PLOT::DIALOG_PLOT(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_PLUGIN_OPTIONS::DIALOG_PLUGIN_OPTIONS(), DIALOG_PNS_DIFF_PAIR_DIMENSIONS::DIALOG_PNS_DIFF_PAIR_DIMENSIONS(), DIALOG_PNS_SETTINGS::DIALOG_PNS_SETTINGS(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_PRINT::DIALOG_PRINT(), DIALOG_PRINT_GENERIC::DIALOG_PRINT_GENERIC(), DIALOG_PUSH_PAD_PROPERTIES::DIALOG_PUSH_PAD_PROPERTIES(), DIALOG_RC_JOB::DIALOG_RC_JOB(), DIALOG_REFERENCE_IMAGE_PROPERTIES::DIALOG_REFERENCE_IMAGE_PROPERTIES(), DIALOG_REGULATOR_FORM::DIALOG_REGULATOR_FORM(), DIALOG_RENDER_JOB::DIALOG_RENDER_JOB(), DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH(), DIALOG_RULE_AREA_PROPERTIES::DIALOG_RULE_AREA_PROPERTIES(), DIALOG_SCH_IMPORT_SETTINGS::DIALOG_SCH_IMPORT_SETTINGS(), DIALOG_SET_OFFSET::DIALOG_SET_OFFSET(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SHEET_PROPERTIES::DIALOG_SHEET_PROPERTIES(), DIALOG_SIM_COMMAND::DIALOG_SIM_COMMAND(), DIALOG_SWAP_LAYERS::DIALOG_SWAP_LAYERS(), DIALOG_SYMBOL_CHOOSER::DIALOG_SYMBOL_CHOOSER(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_SYMBOL_PROPERTIES::DIALOG_SYMBOL_PROPERTIES(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES(), DIALOG_TRACK_VIA_SIZE::DIALOG_TRACK_VIA_SIZE(), DIALOG_TUNING_PATTERN_PROPERTIES::DIALOG_TUNING_PATTERN_PROPERTIES(), DIALOG_UNUSED_PAD_LAYERS::DIALOG_UNUSED_PAD_LAYERS(), DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), DIALOG_UPDATE_SYMBOL_FIELDS::DIALOG_UPDATE_SYMBOL_FIELDS(), DIALOG_USER_DEFINED_SIGNALS::DIALOG_USER_DEFINED_SIGNALS(), DIALOG_WIRE_BUS_PROPERTIES::DIALOG_WIRE_BUS_PROPERTIES(), EDA_LIST_DIALOG::EDA_LIST_DIALOG(), EDA_REORDERABLE_LIST_DIALOG::EDA_REORDERABLE_LIST_DIALOG(), HTML_MESSAGE_BOX::HTML_MESSAGE_BOX(), DIALOG_FIELD_PROPERTIES::init(), DIALOG_EDIT_LIBRARY_TABLES::InstallPanel(), NETLIST_DIALOG_ADD_GENERATOR::NETLIST_DIALOG_ADD_GENERATOR(), PAGED_DIALOG::PAGED_DIALOG(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), SAVE_SYMBOL_AS_DIALOG::SAVE_SYMBOL_AS_DIALOG(), DIALOG_CLEANUP_TRACKS_AND_VIAS::setupOKButtonLabel(), WX_MULTI_ENTRY_DIALOG::WX_MULTI_ENTRY_DIALOG(), WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG(), WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG(), and WX_UNIT_ENTRY_DIALOG::WX_UNIT_ENTRY_DIALOG().

◆ Show()

◆ ShowModal()

int DIALOG_SHIM::ShowModal ( )
overrideinherited

Definition at line 1209 of file dialog_shim.cpp.

References KIPLATFORM::UI::ReparentModal().

Referenced by SYMBOL_TREE_MODEL_ADAPTER::AddLibraries(), PANEL_SETUP_LAYERS::addUserDefinedLayer(), MULTICHANNEL_TOOL::AutogenerateRuleAreas(), GRID_CELL_COLOR_SELECTOR::BeginEdit(), SCH_INSPECTION_TOOL::CheckSymbol(), FOOTPRINT_EDITOR_CONTROL::CleanupGraphics(), GLOBAL_EDIT_TOOL::CleanupGraphics(), GLOBAL_EDIT_TOOL::CleanupTracksAndVias(), COMMON_CONTROL::ConfigurePaths(), DIALOG_PLOT::CreateDrillFile(), CONVERT_TOOL::CreateLines(), SYMBOL_EDIT_FRAME::CreateNewSymbol(), MICROWAVE_TOOL::createPolygonShape(), CONVERT_TOOL::CreatePolys(), ROUTER_TOOL::CustomTrackWidthDialog(), FOOTPRINT_LIST::DisplayErrors(), PANEL_DESIGN_BLOCK_CHOOSER::displayErrors(), DisplayHotkeyList(), CURSORS_GRID_TRICKS::doPopupSelection(), LIB_FIELDS_EDITOR_GRID_TRICKS::doPopupSelection(), MEASUREMENTS_GRID_TRICKS::doPopupSelection(), SIGNALS_GRID_TRICKS::doPopupSelection(), ROUTER_TOOL::DpDimensionsDialog(), SIMULATOR_FRAME::EditAnalysis(), DESIGN_BLOCK_PANE::EditDesignBlockProperties(), SYMBOL_EDITOR_PIN_TOOL::EditPinProperties(), SYMBOL_EDITOR_EDIT_TOOL::editShapeProperties(), SCH_EDIT_FRAME::EditSheetProperties(), FOOTPRINT_EDITOR_CONTROL::EditTextAndGraphics(), GLOBAL_EDIT_TOOL::EditTextAndGraphics(), SYMBOL_EDITOR_EDIT_TOOL::editTextBoxProperties(), SYMBOL_EDITOR_EDIT_TOOL::editTextProperties(), EESCHEMA_JOBS_HANDLER::EESCHEMA_JOBS_HANDLER(), VIA_SIZE_MENU::eventHandler(), BOARD_EDITOR_CONTROL::ExportGenCAD(), BOARD_EDITOR_CONTROL::ExportIDF(), EDA_3D_CONTROLLER::ExportImage(), BOARD_EDITOR_CONTROL::ExportSTEP(), GERBVIEW_CONTROL::ExportToPcbnew(), BOARD_EDITOR_CONTROL::ExportVRML(), EDIT_TOOL::FilletTracks(), PCB_SELECTION_TOOL::filterSelection(), BOARD_EDITOR_CONTROL::GenerateDrillFiles(), BOARD_EDITOR_CONTROL::GenerateODBPPFiles(), BOARD_EDITOR_CONTROL::GeneratePosFile(), BOARD_EDITOR_CONTROL::GenIPC2581File(), GetChamferParams(), GetDogboneParams(), GetFootprintFromBoardByReference(), COLOR_SWATCH::GetNewSwatchColor(), GetRadiusParams(), GetSequentialPadNumberingParams(), GLOBAL_EDIT_TOOL::GlobalDeletions(), SCH_EDIT_TOOL::GlobalEdit(), COMMON_TOOLS::GridOrigin(), EDIT_TOOL::HealShapes(), SCH_EDIT_FRAME::importFile(), SCH_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), SCH_EDITOR_CONTROL::IncrementAnnotations(), PCB_EDIT_FRAME::InstallNetlistFrame(), InvokeDialogNetList(), InvokeEditDesignBlockLibTable(), InvokePcbLibTableEditor(), InvokeRuleAreaEditor(), InvokeSchEditSymbolLibTable(), SYMBOL_VIEWER_FRAME::loadAllLibraries(), GERBVIEW_FRAME::LoadGerberJobFile(), PCB::IFACE::loadGlobalLibTable(), SCH::IFACE::loadGlobalLibTable(), GERBVIEW_FRAME::LoadListOfGerberAndDrillFiles(), GERBVIEW_FRAME::LoadZipArchiveFile(), SETTINGS_MANAGER::MigrateIfNeeded(), SCH_EDIT_FRAME::ModalAnnotate(), EDIT_TOOL::MoveExact(), PCB_POINT_EDITOR::movePoint(), SIMULATOR_CONTROL::NewAnalysisTab(), KICAD_MANAGER_CONTROL::NewFromRepository(), KICAD_MANAGER_CONTROL::NewProject(), PANEL_JOBSET::OnAddDestinationClick(), PANEL_SETUP_BOARD_STACKUP::onAddDielectricLayer(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddFootprintFilter(), DIALOG_EXPORT_NETLIST::OnAddGenerator(), PANEL_GRID_SETTINGS::OnAddGrid(), PCB_NET_INSPECTOR_PANEL::onAddGroup(), PANEL_JOBSET::OnAddJobClick(), PCB_NET_INSPECTOR_PANEL::onAddNet(), PANEL_REGULATOR::OnAddRegulator(), DIALOG_BOARD_SETUP::onAuxiliaryAction(), DIALOG_SCHEMATIC_SETUP::onAuxiliaryAction(), DIALOG_SYMBOL_FIELDS_TABLE::onBomFmtPresetChanged(), DIALOG_SYMBOL_FIELDS_TABLE::onBomPresetChanged(), PANEL_SETUP_BOARD_STACKUP::onColorSelected(), DIALOG_DRC::OnDRCItemRClick(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditFootprintFilter(), PANEL_GRID_SETTINGS::onEditGrid(), PANEL_REGULATOR::OnEditRegulator(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_ERC::OnERCItemRClick(), DIALOG_EXPORT_STEP::onExportButton(), PROJECT_TREE_PANE::onGitCommit(), PROJECT_TREE_PANE::onGitInitializeProject(), PROJECT_TREE_PANE::onGitSwitchBranch(), LIB_TREE::onHeaderContextMenu(), PROPERTIES_FRAME::onHelp(), PANEL_DESTINATION::OnLastStatusClick(), APPEARANCE_CONTROLS::onLayerPresetChanged(), APPEARANCE_CONTROLS_3D::onLayerPresetChanged(), DIALOG_PCM::OnManageRepositoriesClicked(), PANEL_SETUP_BOARD_STACKUP::onMaterialChange(), PANEL_FP_LIB_TABLE::onMigrateLibraries(), PANEL_DESTINATION::OnProperties(), PANEL_SETUP_BOARD_STACKUP::onRemoveDielectricLayer(), PCB_NET_INSPECTOR_PANEL::onRenameSelectedNet(), PANEL_FP_LIB_TABLE::onReset(), PANEL_SYM_LIB_TABLE::onReset(), PANEL_PCBNEW_ACTION_PLUGINS::OnShowErrorsButtonClick(), DIALOG_FOOTPRINT_WIZARD_LIST::onShowTrace(), APPEARANCE_CONTROLS::onViewportChanged(), APPEARANCE_CONTROLS_3D::onViewportChanged(), PANEL_JOBSET::OpenJobOptionsForListItem(), PCB_EDIT_FRAME::OpenProjectFiles(), DESIGN_BLOCK_GRID_TRICKS::optionsEditor(), FP_GRID_TRICKS::optionsEditor(), SYMBOL_GRID_TRICKS::optionsEditor(), CONVERT_TOOL::OutsetItems(), DIALOG_PAD_PROPERTIES::padValuesOK(), BOARD_EDITOR_CONTROL::PageSettings(), PL_EDITOR_CONTROL::PageSetup(), SCH_EDITOR_CONTROL::PageSetup(), PCB_CONTROL::Paste(), SCH_EDITOR_CONTROL::Paste(), PCBNEW_JOBS_HANDLER::PCBNEW_JOBS_HANDLER(), SCH_BASE_FRAME::PickSymbolFromLibrary(), SYMBOL_EDITOR_EDIT_TOOL::PinTable(), DRAWING_TOOL::PlaceImportedGraphics(), DRAWING_TOOL::PlaceTuningPattern(), SCH_EDITOR_CONTROL::Plot(), POSITION_RELATIVE_TOOL::PositionRelativeInteractively(), SYMBOL_LIBRARY_MANAGER::Preload(), GERBVIEW_CONTROL::Print(), PCB_CONTROL::Print(), SCH_EDITOR_CONTROL::Print(), HK_PROMPT_DIALOG::PromptForKey(), EDIT_TOOL::Properties(), SCH_EDIT_TOOL::Properties(), PAD_TOOL::pushPadSettings(), GERBVIEW_FRAME::Read_EXCELLON_File(), GERBVIEW_FRAME::Read_GERBER_File(), CVPCB_MAINFRAME::readNetListAndFpFiles(), GLOBAL_EDIT_TOOL::RemoveUnusedPads(), MULTICHANNEL_TOOL::repeatLayout(), DIALOG_IMPORT_CHOOSE_PROJECT::RunModal(), DIALOG_MAP_LAYERS::RunModal(), PCB_EDIT_FRAME::SaveBoardAsDesignBlock(), FOOTPRINT_EDIT_FRAME::SaveFootprintAs(), PCB_EDIT_FRAME::SaveSelectionAsDesignBlock(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), SCH_EDIT_FRAME::SaveSheetAsDesignBlock(), SCH_EDIT_FRAME::SaveSheetToDesignBlock(), SYMBOL_EDIT_FRAME::saveSymbolCopyAs(), PROJECT_SCH::SchLibs(), ROUTER_TOOL::SelectCopperLayerPair(), FOOTPRINT_EDIT_FRAME::SelectFootprintFromBoard(), FOOTPRINT_WIZARD_FRAME::SelectFootprintWizard(), PCB_BASE_EDIT_FRAME::SelectLibrary(), SCH_BASE_FRAME::SelectLibrary(), PCB_BASE_FRAME::SelectOneLayer(), GERBVIEW_FRAME::SelectPCBLayer(), GERBVIEW_FRAME::SetLayerDrawPrms(), ROUTER_TOOL::SettingsDialog(), BOARD_INSPECTION_TOOL::ShowBoardStatistics(), PL_EDITOR_FRAME::ShowDesignInspector(), CVPCB_CONTROL::ShowEquFileTable(), BOARD_INSPECTION_TOOL::ShowFootprintLinks(), SYMBOL_EDITOR_CONTROL::ShowLibraryTable(), SIMULATOR_CONTROL::ShowNetlist(), KICAD_MANAGER_CONTROL::ShowPluginManager(), EDA_BASE_FRAME::ShowPreferences(), PCB_TUNING_PATTERN::ShowPropertiesDialog(), BOARD_REANNOTATE_TOOL::ShowReannotateDialog(), PCB_BASE_EDIT_FRAME::ShowReferenceImagePropertiesDialog(), SYMBOL_LIB_TABLE_ROW::ShowSettingsDialog(), PCB_EDIT_FRAME::ShowTargetOptionsDialog(), EDIT_TOOL::SimplifyPolygons(), SCH_DRAWING_TOOLS::SingleClickPlace(), GLOBAL_EDIT_TOOL::SwapLayers(), DIALOG_IMPORT_GFX_SCH::TransferDataFromWindow(), DIALOG_IMPORT_GRAPHICS::TransferDataFromWindow(), EDA_3D_VIEWER_FRAME::TryBefore(), PCB_BASE_EDIT_FRAME::TryBefore(), SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace(), SCH_EDITOR_CONTROL::UpdateFromPCB(), BOARD_EDITOR_CONTROL::UpdatePCBFromSchematic(), SYMBOL_EDITOR_EDIT_TOOL::UpdateSymbolFields(), DIALOG_SHAPE_PROPERTIES::Validate(), and PANEL_PREVIEW_3D_MODEL::View3DSettings().

◆ ShowQuasiModal()

int DIALOG_SHIM::ShowQuasiModal ( )
inherited

Definition at line 1247 of file dialog_shim.cpp.

References m_qmodal_loop, m_qmodal_parent_disabler, m_qmodal_showing, KIPLATFORM::UI::ReparentModal(), and Show().

Referenced by PANEL_FP_PROPERTIES_3D_MODEL::Cfg3DPath(), DIALOG_SELECT_3DMODEL::Cfg3DPaths(), SCH_EDIT_TOOL::ChangeSymbols(), MICROWAVE_TOOL::createFootprint(), PCB::IFACE::CreateKiWindow(), MICROWAVE_TOOL::createMicrowaveInductor(), SCH_DRAWING_TOOLS::createNewLabel(), SCH_DRAWING_TOOLS::createNewText(), SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SCH_DRAWING_TOOLS::DrawShape(), DRAWING_TOOL::DrawTable(), SCH_DRAWING_TOOLS::DrawTable(), SYMBOL_EDITOR_EDIT_TOOL::editFieldProperties(), SCH_EDIT_TOOL::editFieldText(), FOOTPRINT_EDIT_FRAME::editFootprintProperties(), SYMBOL_EDITOR_EDIT_TOOL::editSymbolProperties(), PCB_EDIT_TABLE_TOOL::EditTable(), SCH_EDIT_TABLE_TOOL::EditTable(), GLOBAL_EDIT_TOOL::EditTeardrops(), GLOBAL_EDIT_TOOL::EditTracksAndVias(), SIMULATOR_CONTROL::EditUserDefinedSignals(), GLOBAL_EDIT_TOOL::ExchangeFootprints(), BOARD_EDITOR_CONTROL::GenerateGerbers(), InvokeCopperZonesEditor(), InvokeDialogCreateBOM(), InvokeDialogEditSymbolsLibId(), InvokeDialogRescueEach(), InvokeNonCopperZonesEditor(), PANEL_FP_PROPERTIES_3D_MODEL::OnAdd3DModel(), FOOTPRINT_EDIT_FRAME::OnEditItemRequest(), PCB_EDIT_FRAME::OnEditItemRequest(), PANEL_JOBSET::OpenJobOptionsForListItem(), SCH_EDIT_FRAME::OpenProjectFiles(), PAD_TOOL::PadTable(), DRAWING_TOOL::PlaceText(), BOARD_EDITOR_CONTROL::Plot(), EDIT_TOOL::Properties(), SCH_EDIT_TOOL::Properties(), SCH_EDITOR_CONTROL::RemapSymbols(), PCB_EDIT_FRAME::ShowBoardSetupDialog(), PCB_EDIT_FRAME::ShowExchangeFootprintsDialog(), PCB_EDIT_FRAME::ShowFootprintPropertiesDialog(), PCB_BASE_EDIT_FRAME::ShowGraphicItemPropertiesDialog(), PCB_BASE_FRAME::ShowPadPropertiesDialog(), SCH_EDIT_FRAME::ShowSchematicSetupDialog(), PCB_BASE_EDIT_FRAME::ShowTextBoxPropertiesDialog(), PCB_BASE_EDIT_FRAME::ShowTextPropertiesDialog(), and GLOBAL_EDIT_TOOL::ZonesManager().

◆ TearDownQuasiModal()

virtual void DIALOG_SHIM::TearDownQuasiModal ( )
inlineprotectedvirtualinherited

Override this method to perform dialog tear down actions not suitable for object dtor.

Warning
This only gets called for dialogs that are shown in the quasimodal mode. If you need to perform tear down actions in modal or modeless dialogs, create a close window event handler.

Definition at line 215 of file dialog_shim.h.

Referenced by EndQuasiModal().

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

◆ updateBuiltinModelWidgets()

◆ updateIbisWidgets()

◆ updateModelCodeTab()

◆ updateModelParamsTab()

◆ updatePinAssignments()

◆ updateWidgets()

template<typename T>
void DIALOG_SIM_MODEL< T >::updateWidgets ( )
private

◆ vertPixelsFromDU()

int DIALOG_SHIM::vertPixelsFromDU ( int y) const
protectedinherited

Convert an integer number of dialog units to pixels, vertically.

See SetSizeInDU or wxDialog documentation for more information.

Definition at line 293 of file dialog_shim.cpp.

Referenced by DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), and DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE().

Member Data Documentation

◆ m_beforeEditValues

std::map<wxWindow*, wxString> DIALOG_SHIM::m_beforeEditValues
protectedinherited

Definition at line 285 of file dialog_shim.h.

Referenced by OnCharHook(), onChildSetFocus(), and SelectAllInTextCtrls().

◆ m_browseButton

STD_BITMAP_BUTTON* DIALOG_SIM_MODEL_BASE::m_browseButton
protectedinherited

◆ m_builtinModelsMgr

template<typename T>
SIM_LIB_MGR DIALOG_SIM_MODEL< T >::m_builtinModelsMgr
private

Definition at line 134 of file dialog_sim_model.h.

Referenced by curModel(), DIALOG_SIM_MODEL(), and TransferDataToWindow().

◆ m_codePanel

wxPanel* DIALOG_SIM_MODEL_BASE::m_codePanel
protectedinherited

◆ m_codePreview

wxStyledTextCtrl* DIALOG_SIM_MODEL_BASE::m_codePreview
protectedinherited

◆ m_curModelType

template<typename T>
SIM_MODEL::TYPE DIALOG_SIM_MODEL< T >::m_curModelType
private

◆ m_curModelTypeOfDeviceType

template<typename T>
std::map<SIM_MODEL::DEVICE_T, SIM_MODEL::TYPE> DIALOG_SIM_MODEL< T >::m_curModelTypeOfDeviceType
private

◆ m_currentValues

std::map<wxWindow*, wxVariant> DIALOG_SHIM::m_currentValues
protectedinherited

Definition at line 297 of file dialog_shim.h.

Referenced by doRedo(), doUndo(), recordControlChange(), and registerUndoRedoHandlers().

◆ m_deviceChoice

◆ m_deviceLabel

wxStaticText* DIALOG_SIM_MODEL_BASE::m_deviceLabel
protectedinherited

◆ m_deviceSubtypeChoice

◆ m_deviceSubtypeLabel

wxStaticText* DIALOG_SIM_MODEL_BASE::m_deviceSubtypeLabel
protectedinherited

◆ m_differentialCheckbox

◆ m_fields

template<typename T>
std::vector<SCH_FIELD>& DIALOG_SIM_MODEL< T >::m_fields
private

◆ m_filesStack

template<typename T>
std::vector<EMBEDDED_FILES*> DIALOG_SIM_MODEL< T >::m_filesStack
private

Definition at line 132 of file dialog_sim_model.h.

Referenced by DIALOG_SIM_MODEL(), and onBrowseButtonClick().

◆ m_firstCategory

template<typename T>
wxPGProperty* DIALOG_SIM_MODEL< T >::m_firstCategory
private

◆ m_firstPaintEvent

bool DIALOG_SHIM::m_firstPaintEvent
protectedinherited

Definition at line 266 of file dialog_shim.h.

Referenced by DIALOG_SHIM(), and OnPaint().

◆ m_frame

template<typename T>
EDA_BASE_FRAME* DIALOG_SIM_MODEL< T >::m_frame
private

Definition at line 128 of file dialog_sim_model.h.

Referenced by DIALOG_SIM_MODEL(), and newParamProperty().

◆ m_handlingUndoRedo

bool DIALOG_SHIM::m_handlingUndoRedo
protectedinherited

◆ m_hash_key

◆ m_infoBar

◆ m_initialFocusTarget

wxWindow* DIALOG_SHIM::m_initialFocusTarget
protectedinherited

◆ m_initialSize

wxSize DIALOG_SHIM::m_initialSize
protectedinherited

Definition at line 280 of file dialog_shim.h.

Referenced by DIALOG_SHIM(), and Show().

◆ m_isClosing

bool DIALOG_SHIM::m_isClosing
protectedinherited

Definition at line 268 of file dialog_shim.h.

Referenced by DIALOG_SHIM(), onChildSetFocus(), and ~DIALOG_SHIM().

◆ m_kiway

KIWAY* KIWAY_HOLDER::m_kiway
privateinherited

Definition at line 86 of file kiway_holder.h.

Referenced by HasKiway(), Kiway(), KIWAY_HOLDER(), and SetKiway().

◆ m_lastParamGridWidth

template<typename T>
int DIALOG_SIM_MODEL< T >::m_lastParamGridWidth
private

Definition at line 150 of file dialog_sim_model.h.

Referenced by adjustParamGridColumns(), and DIALOG_SIM_MODEL().

◆ m_libraryModelsMgr

template<typename T>
SIM_LIB_MGR DIALOG_SIM_MODEL< T >::m_libraryModelsMgr
private

◆ m_libraryPathText

◆ m_modelFilter

wxSearchCtrl* DIALOG_SIM_MODEL_BASE::m_modelFilter
protectedinherited

◆ m_modelListBox

◆ m_modelListBoxEntryToLibraryIdx

template<typename T>
std::map<wxString, int> DIALOG_SIM_MODEL< T >::m_modelListBoxEntryToLibraryIdx
private

◆ m_modelNameLabel

wxStaticText* DIALOG_SIM_MODEL_BASE::m_modelNameLabel
protectedinherited

◆ m_modelNotebook

wxNotebook* DIALOG_SIM_MODEL_BASE::m_modelNotebook
protectedinherited

◆ m_modelPanel

wxPanel* DIALOG_SIM_MODEL_BASE::m_modelPanel
protectedinherited

◆ m_notebook

wxNotebook* DIALOG_SIM_MODEL_BASE::m_notebook
protectedinherited

Definition at line 59 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE().

◆ m_parametersPanel

wxPanel* DIALOG_SIM_MODEL_BASE::m_parametersPanel
protectedinherited

◆ m_paramGrid

◆ m_paramGridMgr

wxPropertyGridManager* DIALOG_SIM_MODEL_BASE::m_paramGridMgr
protectedinherited

◆ m_parentFrame

◆ m_pathLabel

wxStaticText* DIALOG_SIM_MODEL_BASE::m_pathLabel
protectedinherited

◆ m_pinAssignmentsGrid

◆ m_pinAssignmentsPanel

wxPanel* DIALOG_SIM_MODEL_BASE::m_pinAssignmentsPanel
protectedinherited

◆ m_pinCombobox

◆ m_pinLabel

wxStaticText* DIALOG_SIM_MODEL_BASE::m_pinLabel
protectedinherited

◆ m_pinModelCombobox

◆ m_pinModelLabel

wxStaticText* DIALOG_SIM_MODEL_BASE::m_pinModelLabel
protectedinherited

◆ m_prevLibrary

template<typename T>
wxString DIALOG_SIM_MODEL< T >::m_prevLibrary
private

Definition at line 135 of file dialog_sim_model.h.

Referenced by loadLibrary().

◆ m_prevModel

template<typename T>
const SIM_MODEL* DIALOG_SIM_MODEL< T >::m_prevModel
private

◆ m_prevParamGridSelection

template<typename T>
wxPGProperty* DIALOG_SIM_MODEL< T >::m_prevParamGridSelection
private

Definition at line 148 of file dialog_sim_model.h.

Referenced by DIALOG_SIM_MODEL(), and onParamGridSelectionChange().

◆ m_qmodal_loop

wxGUIEventLoop* DIALOG_SHIM::m_qmodal_loop
protectedinherited

Definition at line 270 of file dialog_shim.h.

Referenced by DIALOG_SHIM(), EndQuasiModal(), and ShowQuasiModal().

◆ m_qmodal_parent_disabler

WINDOW_DISABLER* DIALOG_SHIM::m_qmodal_parent_disabler
protectedinherited

◆ m_qmodal_showing

bool DIALOG_SHIM::m_qmodal_showing
protectedinherited

Definition at line 272 of file dialog_shim.h.

Referenced by DIALOG_SHIM(), IsQuasiModal(), and ShowQuasiModal().

◆ m_rbBuiltinModel

◆ m_rbLibraryModel

◆ m_redoStack

std::vector<UNDO_STEP> DIALOG_SHIM::m_redoStack
protectedinherited

Definition at line 296 of file dialog_shim.h.

Referenced by doRedo(), doUndo(), and recordControlChange().

◆ m_saveInValueCheckbox

wxCheckBox* DIALOG_SIM_MODEL_BASE::m_saveInValueCheckbox
protectedinherited

◆ m_scintillaTricksCode

template<typename T>
SCINTILLA_TRICKS* DIALOG_SIM_MODEL< T >::m_scintillaTricksCode
private

Definition at line 144 of file dialog_sim_model.h.

Referenced by DIALOG_SIM_MODEL(), and ~DIALOG_SIM_MODEL().

◆ m_scintillaTricksSubckt

template<typename T>
SCINTILLA_TRICKS* DIALOG_SIM_MODEL< T >::m_scintillaTricksSubckt
private

Definition at line 145 of file dialog_sim_model.h.

Referenced by DIALOG_SIM_MODEL(), and ~DIALOG_SIM_MODEL().

◆ m_sdbSizer1

wxStdDialogButtonSizer* DIALOG_SIM_MODEL_BASE::m_sdbSizer1
protectedinherited

Definition at line 91 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE().

◆ m_sdbSizer1Cancel

wxButton* DIALOG_SIM_MODEL_BASE::m_sdbSizer1Cancel
protectedinherited

Definition at line 93 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE().

◆ m_sdbSizer1OK

wxButton* DIALOG_SIM_MODEL_BASE::m_sdbSizer1OK
protectedinherited

Definition at line 92 of file dialog_sim_model_base.h.

Referenced by DIALOG_SIM_MODEL_BASE().

◆ m_sortedPartPins

template<typename T>
std::vector<SCH_PIN*> DIALOG_SIM_MODEL< T >::m_sortedPartPins
private

◆ m_subckt

wxStyledTextCtrl* DIALOG_SIM_MODEL_BASE::m_subckt
protectedinherited

◆ m_subcktLabel

wxStaticText* DIALOG_SIM_MODEL_BASE::m_subcktLabel
protectedinherited

◆ m_symbol

template<typename T>
T& DIALOG_SIM_MODEL< T >::m_symbol
private

◆ m_tabOrder

◆ m_type

HOLDER_TYPE KIWAY_HOLDER::m_type
privateinherited

Definition at line 87 of file kiway_holder.h.

Referenced by GetType(), and KIWAY_HOLDER().

◆ m_undoStack

std::vector<UNDO_STEP> DIALOG_SHIM::m_undoStack
protectedinherited

Definition at line 295 of file dialog_shim.h.

Referenced by doRedo(), doUndo(), and recordControlChange().

◆ m_unitBinders

std::map<wxWindow*, UNIT_BINDER*> DIALOG_SHIM::m_unitBinders
protectedinherited

Definition at line 286 of file dialog_shim.h.

Referenced by LoadControlState(), RegisterUnitBinder(), and SaveControlState().

◆ m_units

◆ m_useCalculatedSize

bool DIALOG_SHIM::m_useCalculatedSize
protectedinherited

◆ m_userPositioned

bool DIALOG_SHIM::m_userPositioned
protectedinherited

Definition at line 281 of file dialog_shim.h.

Referenced by DIALOG_SHIM(), OnMove(), and Show().

◆ m_userResized

bool DIALOG_SHIM::m_userResized
protectedinherited

Definition at line 282 of file dialog_shim.h.

Referenced by DIALOG_SHIM(), OnSize(), and Show().

◆ m_waveformChoice

◆ m_waveformLabel

wxStaticText* DIALOG_SIM_MODEL_BASE::m_waveformLabel
protectedinherited

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