KiCad PCB EDA Suite
Loading...
Searching...
No Matches
DIALOG_DIMENSION_PROPERTIES Class Reference

#include <dialog_dimension_properties.h>

Inheritance diagram for DIALOG_DIMENSION_PROPERTIES:
DIALOG_DIMENSION_PROPERTIES_BASE DIALOG_SHIM KIWAY_HOLDER

Public Types

enum  HOLDER_TYPE { DIALOG , FRAME , PANEL }
 

Public Member Functions

 DIALOG_DIMENSION_PROPERTIES (PCB_BASE_EDIT_FRAME *aParent, BOARD_ITEM *aItem)
 
 ~DIALOG_DIMENSION_PROPERTIES ()
 
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
 
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={})
 
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

bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
virtual void OnInitDlg (wxInitDialogEvent &event)
 
virtual void OnDimensionUnitsChange (wxCommandEvent &event)
 
virtual void OnOkClick (wxCommandEvent &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

wxBoxSizer * m_mainSizer
 
wxStaticBoxSizer * m_sizerLeader
 
wxStaticText * m_lblLeaderValue
 
wxTextCtrl * m_txtLeaderValue
 
wxStaticText * m_lblTextFrame
 
wxChoice * m_cbTextFrame
 
wxStaticText * m_lblLeaderLayer
 
PCB_LAYER_BOX_SELECTORm_cbLeaderLayer
 
wxStaticBoxSizer * m_sizerCenter
 
wxStaticText * m_lblCenterLayer
 
PCB_LAYER_BOX_SELECTORm_cbCenterLayer
 
wxStaticBoxSizer * m_sizerFormat
 
wxStaticText * m_lblValue
 
wxTextCtrl * m_txtValue
 
wxCheckBox * m_cbOverrideValue
 
wxStaticText * m_lblUnits
 
wxChoice * m_cbUnits
 
wxStaticText * m_lblPrefix
 
wxTextCtrl * m_txtPrefix
 
wxStaticText * m_txtUnitsFormat
 
wxChoice * m_cbUnitsFormat
 
wxStaticText * m_lblSuffix
 
wxTextCtrl * m_txtSuffix
 
wxStaticText * m_lblPrecision
 
wxStaticText * m_lblArrowDirection
 
wxChoice * m_cbPrecision
 
wxChoice * m_cbArrowDirection
 
PCB_LAYER_BOX_SELECTORm_cbLayer
 
wxStaticText * m_lblLayer
 
wxCheckBox * m_cbSuppressZeroes
 
wxStaticText * m_lblPreview
 
wxStaticText * m_staticTextPreview
 
wxStaticBoxSizer * m_sizerText
 
wxStaticText * m_fontLabel
 
FONT_CHOICEm_fontCtrl
 
BITMAP_BUTTONm_separator0
 
BITMAP_BUTTONm_bold
 
BITMAP_BUTTONm_italic
 
BITMAP_BUTTONm_separator1
 
BITMAP_BUTTONm_alignLeft
 
BITMAP_BUTTONm_alignCenter
 
BITMAP_BUTTONm_alignRight
 
BITMAP_BUTTONm_separator2
 
BITMAP_BUTTONm_mirrored
 
BITMAP_BUTTONm_separator3
 
wxStaticText * m_lblTextWidth
 
wxTextCtrl * m_txtTextWidth
 
wxStaticText * m_lblTextWidthUnits
 
wxStaticText * m_lblTextPosX
 
wxTextCtrl * m_txtTextPosX
 
wxStaticText * m_lblTextPosXUnits
 
wxStaticText * m_lblTextHeight
 
wxTextCtrl * m_txtTextHeight
 
wxStaticText * m_lblTextHeightUnits
 
wxStaticText * m_lblTextPosY
 
wxTextCtrl * m_txtTextPosY
 
wxStaticText * m_lblTextPosYUnits
 
wxStaticText * m_lblTextThickness
 
wxTextCtrl * m_txtTextThickness
 
wxStaticText * m_lblTextThicknessUnits
 
wxStaticText * m_lblTextOrientation
 
wxComboBox * m_cbTextOrientation
 
wxStaticText * m_lblTextPositionMode
 
wxChoice * m_cbTextPositionMode
 
wxCheckBox * m_cbKeepAligned
 
wxStaticText * m_lblLineThickness
 
wxTextCtrl * m_txtLineThickness
 
wxStaticText * m_lblLineThicknessUnits
 
wxStaticText * m_lblArrowLength
 
wxTextCtrl * m_txtArrowLength
 
wxStaticText * m_lblArrowLengthUnits
 
wxStaticText * m_lblExtensionOffset
 
wxTextCtrl * m_txtExtensionOffset
 
wxStaticText * m_lblExtensionOffsetUnits
 
wxStaticText * m_lblExtensionOvershoot
 
wxTextCtrl * m_txtExtensionOvershoot
 
wxStaticText * m_lblExtensionOvershootUnits
 
wxStdDialogButtonSizer * m_sdbSizer
 
wxButton * m_sdbSizerOK
 
wxButton * m_sdbSizerCancel
 
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
 
WDO_ENABLE_DISABLEm_qmodal_parent_disabler
 
EDA_BASE_FRAMEm_parentFrame
 
std::vector< wxWindow * > m_tabOrder
 
wxSize m_initialSize
 
std::map< wxWindow *, wxString > m_beforeEditValues
 

Private Member Functions

void onFontSelected (wxCommandEvent &aEvent) override
 
void onBoldToggle (wxCommandEvent &aEvent) override
 
void onAlignButton (wxCommandEvent &aEvent) override
 
void onThickness (wxCommandEvent &aEvent) override
 
void updateDimensionFromDialog (PCB_DIMENSION_BASE *aTarget)
 
void updatePreviewText ()
 
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 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)
 
 DECLARE_EVENT_TABLE ()
 

Private Attributes

PCB_BASE_EDIT_FRAMEm_frame
 
PCB_DIMENSION_BASEm_dimension
 
PCB_DIMENSION_BASEm_previewDimension
 
PCB_LAYER_BOX_SELECTORm_cbLayerActual
 
wxTextCtrl * m_txtValueActual
 
UNIT_BINDER m_textWidth
 
UNIT_BINDER m_textHeight
 
UNIT_BINDER m_textThickness
 
UNIT_BINDER m_textPosX
 
UNIT_BINDER m_textPosY
 
UNIT_BINDER m_orientation
 
UNIT_BINDER m_lineThickness
 
UNIT_BINDER m_arrowLength
 
UNIT_BINDER m_extensionOffset
 
UNIT_BINDER m_extensionOvershoot
 
KIWAYm_kiway
 
HOLDER_TYPE m_type
 

Detailed Description

Definition at line 35 of file dialog_dimension_properties.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.

Constructor & Destructor Documentation

◆ DIALOG_DIMENSION_PROPERTIES()

DIALOG_DIMENSION_PROPERTIES::DIALOG_DIMENSION_PROPERTIES ( PCB_BASE_EDIT_FRAME aParent,
BOARD_ITEM aItem 
)

Definition at line 35 of file dialog_dimension_properties.cpp.

References ORIGIN_TRANSFORMS::ABS_X_COORD, ORIGIN_TRANSFORMS::ABS_Y_COORD, BaseType(), PCB_TEXT::Clone(), DIALOG_SHIM::finishDialogSettings(), PCB_BASE_FRAME::GetBoard(), BOARD_ITEM::GetLayer(), PCB_DIMENSION_BASE::GetValueText(), BOARD::IsLayerEnabled(), KiBitmapBundle(), DIALOG_DIMENSION_PROPERTIES_BASE::m_alignCenter, DIALOG_DIMENSION_PROPERTIES_BASE::m_alignLeft, DIALOG_DIMENSION_PROPERTIES_BASE::m_alignRight, DIALOG_DIMENSION_PROPERTIES_BASE::m_bold, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbCenterLayer, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbKeepAligned, m_cbLayerActual, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbLeaderLayer, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbOverrideValue, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbPrecision, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbSuppressZeroes, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbTextOrientation, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbTextPositionMode, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbUnits, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbUnitsFormat, m_dimension, m_frame, DIALOG_DIMENSION_PROPERTIES_BASE::m_italic, DIALOG_DIMENSION_PROPERTIES_BASE::m_lblArrowLength, DIALOG_DIMENSION_PROPERTIES_BASE::m_lblArrowLengthUnits, DIALOG_DIMENSION_PROPERTIES_BASE::m_lblExtensionOffset, DIALOG_DIMENSION_PROPERTIES_BASE::m_lblExtensionOffsetUnits, DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextPositionMode, DIALOG_DIMENSION_PROPERTIES_BASE::m_mirrored, m_orientation, m_previewDimension, DIALOG_DIMENSION_PROPERTIES_BASE::m_separator0, DIALOG_DIMENSION_PROPERTIES_BASE::m_separator1, DIALOG_DIMENSION_PROPERTIES_BASE::m_separator2, DIALOG_DIMENSION_PROPERTIES_BASE::m_separator3, DIALOG_DIMENSION_PROPERTIES_BASE::m_sizerCenter, DIALOG_DIMENSION_PROPERTIES_BASE::m_sizerFormat, DIALOG_DIMENSION_PROPERTIES_BASE::m_sizerLeader, DIALOG_DIMENSION_PROPERTIES_BASE::m_sizerText, m_textPosX, m_textPosY, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtArrowLength, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtExtensionOffset, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtLeaderValue, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtPrefix, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtSuffix, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtTextPosX, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtTextPosY, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtValue, m_txtValueActual, PCB_DIM_CENTER_T, PCB_DIM_LEADER_T, PCB_DIMENSION_T, PCB_LAYER_BOX_SELECTOR::Resync(), BITMAP_BUTTON::SetBitmap(), PCB_LAYER_BOX_SELECTOR::SetBoardFrame(), UNIT_BINDER::SetCoordType(), BITMAP_BUTTON::SetIsCheckButton(), BITMAP_BUTTON::SetIsRadioButton(), BITMAP_BUTTON::SetIsSeparator(), LAYER_SELECTOR::SetLayersHotkeys(), EDA_ITEM::SetParent(), UNIT_BINDER::SetPrecision(), UNIT_BINDER::SetUnits(), DIALOG_SHIM::SetupStandardButtons(), PCB_LAYER_BOX_SELECTOR::ShowNonActivatedLayers(), EDA_ITEM::Type(), and updatePreviewText().

◆ ~DIALOG_DIMENSION_PROPERTIES()

DIALOG_DIMENSION_PROPERTIES::~DIALOG_DIMENSION_PROPERTIES ( )

Definition at line 193 of file dialog_dimension_properties.cpp.

References m_previewDimension.

Member Function Documentation

◆ ClearModify()

void DIALOG_SHIM::ClearModify ( )
inherited

Definition at line 468 of file dialog_shim.cpp.

Referenced by DIALOG_SYMBOL_FIELDS_TABLE::OnSaveAndContinue().

◆ DECLARE_EVENT_TABLE()

DIALOG_SHIM::DECLARE_EVENT_TABLE ( )
privateinherited

◆ Enable()

bool DIALOG_SHIM::Enable ( bool  enable)
overrideinherited

Definition at line 361 of file dialog_shim.cpp.

◆ EndQuasiModal()

◆ 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 186 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_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_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_STEP::DIALOG_EXPORT_STEP(), DIALOG_EXPORT_SVG::DIALOG_EXPORT_SVG(), 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_GENCAD_EXPORT_OPTIONS::DIALOG_GENCAD_EXPORT_OPTIONS(), 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_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_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES(), 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_LOCKED_ITEMS_QUERY::DIALOG_LOCKED_ITEMS_QUERY(), 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_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_PNS_SETTINGS::DIALOG_PNS_SETTINGS(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_PRINT_GENERIC::DIALOG_PRINT_GENERIC(), DIALOG_PRINT_PCBNEW::DIALOG_PRINT_PCBNEW(), DIALOG_PRINT_USING_PRINTER::DIALOG_PRINT_USING_PRINTER(), 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_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP(), DIALOG_SELECT_3DMODEL::DIALOG_SELECT_3DMODEL(), DIALOG_SET_OFFSET::DIALOG_SET_OFFSET(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_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_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEMPLATE_SELECTOR::DIALOG_TEMPLATE_SELECTOR(), 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_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(), DIALOG_EMBED_FILES::InstallPanel(), NETLIST_VIEW_DIALOG::NETLIST_VIEW_DIALOG(), DIALOG_SHEET_PROPERTIES::OnInitDlg(), DIALOG_SIM_COMMAND::onInitDlg(), DIALOG_SYMBOL_PROPERTIES::OnInitDlg(), DIALOG_COLOR_PICKER::TransferDataToWindow(), DIALOG_BOARD_STATISTICS::TransferDataToWindow(), DIALOG_FOOTPRINT_ASSOCIATIONS::TransferDataToWindow(), and WX_MULTI_ENTRY_DIALOG::WX_MULTI_ENTRY_DIALOG().

◆ 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.

Referenced by 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 204 of file dialog_shim.cpp.

Referenced by DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE().

◆ IsCtrl()

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

Definition at line 139 of file dialog_shim.h.

◆ IsQuasiModal()

◆ IsShiftCtrl()

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

Definition at line 145 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.

Referenced by PROJECT_TREE_ITEM::Activate(), FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), SYMBOL_EDITOR_CONTROL::AddSymbolToSchematic(), CVPCB_MAINFRAME::BuildLibrariesList(), KICAD_MANAGER_FRAME::CloseProject(), COMMON_CONTROL::ConfigurePaths(), BOARD_INSPECTION_TOOL::constructDiffPanel(), PANEL_SYMBOL_CHOOSER::constructRightPanel(), FOOTPRINT_EDITOR_CONTROL::CreateFootprint(), CVPCB_MAINFRAME::CVPCB_MAINFRAME(), KIWAY_PLAYER::Destroy(), DIALOG_LIST_HOTKEYS::DIALOG_LIST_HOTKEYS(), DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH(), DIALOG_SHIM::DIALOG_SHIM(), FIELDS_EDITOR_GRID_TRICKS::doPopupSelection(), FIELDS_GRID_TRICKS::doPopupSelection(), BOARD_EDITOR_CONTROL::EditFpInFpEditor(), SCH_EDITOR_CONTROL::EditWithSymbolEditor(), PANEL_JOBS::EnsurePcbSchFramesOpen(), SIMULATOR_CONTROL::ExportPlotToSchematic(), BACK_ANNOTATE::FetchNetlistFromPCB(), PANEL_SYMBOL_CHOOSER::FinishSetup(), IMPORT_PROJ_HELPER::ImportIndividualFile(), EDA_DRAW_FRAME::IsScriptingConsoleVisible(), KIWAY_PLAYER::language_change(), KICAD_MANAGER_FRAME::language_change(), DIALOG_CHANGE_SYMBOLS::launchMatchIdSymbolBrowser(), DIALOG_CHANGE_SYMBOLS::launchNewIdSymbolBrowser(), PGM_SINGLE_TOP::MacOpenFile(), TEXT_BUTTON_SYMBOL_CHOOSER::OnButtonClick(), TEXT_BUTTON_FP_CHOOSER::OnButtonClick(), PCB_CALCULATOR_FRAME::OnExit(), SIMULATOR_FRAME::onExit(), SAVE_AS_TRAVERSER::OnFile(), KIGFX::WX_VIEW_CONTROLS::onMotion(), PANEL_JOB_OUTPUT::OnOutputRunClick(), DIALOG_SYMBOL_REMAP::OnRemapSymbols(), PANEL_JOBS::OnRunAllJobsClick(), DIALOG_FIELD_PROPERTIES::OnTextValueSelectButtonClick(), KICAD_MANAGER_FRAME::OnUnarchiveFiles(), PANEL_JOBS::openJobOptionsForListItem(), PANEL_FOOTPRINT_CHOOSER::PANEL_FOOTPRINT_CHOOSER(), PCB_FIELDS_GRID_TABLE::PCB_FIELDS_GRID_TABLE(), KIWAY_HOLDER::Prj(), SIMULATOR_CONTROL::Probe(), SCH_EDIT_TOOL::Properties(), BACK_ANNOTATE::PushNewLinksToPCB(), SCH_EDITOR_CONTROL::rescueProject(), EE_INSPECTION_TOOL::RunSimulation(), CVPCB_MAINFRAME::SaveFootprintAssociation(), EDA_DRAW_FRAME::ScriptingConsoleEnableDisable(), CVPCB_MAINFRAME::SendComponentSelectionToSch(), CVPCB_CONTROL::ShowFootprintViewer(), showFrame(), COMMON_CONTROL::ShowLibraryTable(), COMMON_CONTROL::ShowPlayer(), KICAD_MANAGER_CONTROL::ShowPlayer(), KICAD_MANAGER_CONTROL::ShowPluginManager(), EDA_BASE_FRAME::ShowPreferences(), SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview(), FP_TREE_SYNCHRONIZING_ADAPTER::ShowPreview(), COMMON_CONTROL::ShowProjectManager(), SCH_EDITOR_CONTROL::SimProbe(), SCH_EDITOR_CONTROL::SimTune(), DIALOG_ERC::testErc(), DIALOG_FOOTPRINT_ASSOCIATIONS::TransferDataToWindow(), SIMULATOR_CONTROL::Tune(), BOARD_EDITOR_CONTROL::UpdateSchematicFromPCB(), DIALOG_EXCHANGE_FOOTPRINTS::ViewAndSelectFootprint(), and DIALOG_SHIM::~DIALOG_SHIM().

◆ onAlignButton()

void DIALOG_DIMENSION_PROPERTIES::onAlignButton ( wxCommandEvent &  aEvent)
overrideprivatevirtual

◆ onBoldToggle()

void DIALOG_DIMENSION_PROPERTIES::onBoldToggle ( wxCommandEvent &  aEvent)
overrideprivatevirtual

◆ 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 610 of file dialog_shim.cpp.

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

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

◆ OnCharHook()

◆ onChildSetFocus()

void DIALOG_SHIM::onChildSetFocus ( wxFocusEvent &  aEvent)
privateinherited

◆ 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 597 of file dialog_shim.cpp.

References DIALOG_SHIM::EndQuasiModal(), and DIALOG_SHIM::IsQuasiModal().

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

◆ OnDimensionUnitsChange()

virtual void DIALOG_DIMENSION_PROPERTIES_BASE::OnDimensionUnitsChange ( wxCommandEvent &  event)
inlineprotectedvirtualinherited

◆ onFontSelected()

void DIALOG_DIMENSION_PROPERTIES::onFontSelected ( wxCommandEvent &  aEvent)
overrideprivatevirtual

◆ OnInitDlg()

virtual void DIALOG_DIMENSION_PROPERTIES_BASE::OnInitDlg ( wxInitDialogEvent &  event)
inlineprotectedvirtualinherited

◆ OnModify()

void DIALOG_SHIM::OnModify ( )
inherited

Definition at line 461 of file dialog_shim.cpp.

Referenced by DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES::OnAddField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddField(), DIALOG_SYMBOL_FIELDS_TABLE::OnAddField(), DIALOG_SYMBOL_PROPERTIES::OnAddField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnAddField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddFootprintFilter(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnAddLayer(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnAddPadGroup(), DIALOG_LIB_SYMBOL_PROPERTIES::OnCheckBox(), DIALOG_SYMBOL_PROPERTIES::OnCheckBox(), DIALOG_FOOTPRINT_PROPERTIES::OnCheckBox(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnCheckBox(), DIALOG_FOOTPRINT_PROPERTIES::OnChoice(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnChoice(), DIALOG_LIB_SYMBOL_PROPERTIES::OnCombobox(), DIALOG_FOOTPRINT_PROPERTIES::OnCombobox(), DIALOG_PAD_PROPERTIES::onCornerRadiusChange(), DIALOG_PAD_PROPERTIES::onCornerSizePercentChange(), DIALOG_FOOTPRINT_PROPERTIES::OnDeleteField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnDeleteField(), DIALOG_SYMBOL_PROPERTIES::OnDeleteField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnDeleteField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnDeleteLayer(), DIALOG_PAD_PROPERTIES::OnDrillShapeSelected(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditFootprintFilter(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_SYMBOL_PROPERTIES::OnEditSpiceModel(), PANEL_PREVIEW_3D_MODEL::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_SYMBOL_FIELDS_TABLE::OnRemoveField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnRemovePadGroup(), DIALOG_SYMBOL_FIELDS_TABLE::OnRenameField(), DIALOG_PAD_PROPERTIES::OnSetCopperLayers(), DIALOG_PAD_PROPERTIES::OnSetLayers(), DIALOG_LIB_SYMBOL_PROPERTIES::OnSpinCtrl(), DIALOG_LIB_SYMBOL_PROPERTIES::OnSpinCtrlText(), DIALOG_LIB_SYMBOL_PROPERTIES::OnSymbolNameText(), DIALOG_SYMBOL_FIELDS_TABLE::OnTableValueChanged(), DIALOG_LIB_SYMBOL_PROPERTIES::OnText(), DIALOG_FOOTPRINT_PROPERTIES::OnText(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnText(), DIALOG_SYMBOL_PROPERTIES::OnUnitChoice(), DIALOG_PAD_PROPERTIES::OnValuesChanged(), DIALOG_PAD_PROPERTIES::PadOrientEvent(), DIALOG_PAD_PROPERTIES::PadTypeSelected(), FIELDS_GRID_TABLE::SetValue(), PCB_FIELDS_GRID_TABLE::SetValue(), FIELDS_GRID_TABLE::SetValueAsBool(), PCB_FIELDS_GRID_TABLE::SetValueAsBool(), and PCB_FIELDS_GRID_TABLE::SetValueAsLong().

◆ OnOkClick()

virtual void DIALOG_DIMENSION_PROPERTIES_BASE::OnOkClick ( wxCommandEvent &  event)
inlineprotectedvirtualinherited

◆ OnPaint()

◆ onThickness()

void DIALOG_DIMENSION_PROPERTIES::onThickness ( wxCommandEvent &  aEvent)
overrideprivatevirtual

◆ 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_HOLDER::Kiway(), and KIWAY::Prj().

Referenced by SYMBOL_TREE_MODEL_ADAPTER::AddLibraries(), DESIGN_BLOCK_TREE_MODEL_ADAPTER::AddLibraries(), FP_TREE_MODEL_ADAPTER::AddLibraries(), SYMBOL_LIBRARY_MANAGER::addLibrary(), DIALOG_PLOT::applyPlotSettings(), AskSaveBoardFileName(), DIALOG_SYMBOL_REMAP::backupProject(), DIALOG_FOOTPRINT_CHOOSER::build3DCanvas(), CVPCB_MAINFRAME::buildEquivalenceList(), CVPCB_MAINFRAME::BuildLibrariesList(), PCB_BASE_FRAME::canCloseWindow(), SIMULATOR_FRAME::canCloseWindow(), PANEL_SETUP_NETCLASSES::checkReload(), KICAD_MANAGER_FRAME::CloseProject(), PCB_BASE_FRAME::CreateNewFootprint(), DIALOG_SYMBOL_REMAP::createProjectSymbolLibTable(), DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_ASSIGN_NETCLASS::DIALOG_ASSIGN_NETCLASS(), 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_EXPORT_SVG::DIALOG_EXPORT_SVG(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_IBIS_PARSER_REPORTER::DIALOG_IBIS_PARSER_REPORTER(), DIALOG_IMPORT_NETLIST::DIALOG_IMPORT_NETLIST(), DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES(), DIALOG_PAGES_SETTINGS::DIALOG_PAGES_SETTINGS(), DIALOG_PLOT::DIALOG_PLOT(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP(), DIALOG_SYMBOL_REMAP::DIALOG_SYMBOL_REMAP(), DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), EE_INSPECTION_TOOL::DiffSymbol(), PL_DRAW_PANEL_GAL::DisplayDrawingSheet(), FOOTPRINT_PREVIEW_PANEL::DisplayFootprint(), CVPCB_MAINFRAME::DisplayStatus(), FIELDS_EDITOR_GRID_TRICKS::doPopupSelection(), FIELDS_GRID_TRICKS::doPopupSelection(), KICAD_MANAGER_CONTROL::Execute(), BOARD_EDITOR_CONTROL::ExportNetlist(), SYMBOL_EDITOR_CONTROL::ExportSymbolAsSVG(), SCH_EDITOR_CONTROL::ExportSymbolsToLibrary(), SYMBOL_EDITOR_CONTROL::ExportView(), BACK_ANNOTATE::FetchNetlistFromPCB(), PANEL_SYMBOL_CHOOSER::FinishSetup(), FIELDS_GRID_TABLE::GetAttr(), DIALOG_TABLE_PROPERTIES::getContextualTextVars(), DIALOG_TEXT_PROPERTIES::getContextualTextVars(), SIMULATOR_CONTROL::getDefaultFilename(), SIMULATOR_CONTROL::getDefaultPath(), DIALOG_SYMBOL_REMAP::getLibsNotInGlobalSymbolLibTable(), SCH_BASE_FRAME::GetLibSymbol(), DIALOG_PLOT_SCHEMATIC::getOutputPath(), KICAD_MANAGER_FRAME::GetProjectFileName(), SCH_NAVIGATE_TOOL::HypertextCommand(), SCH_EDITOR_CONTROL::ImportFPAssignments(), PANEL_SETUP_RULES::ImportSettingsFrom(), SCH_DRAWING_TOOLS::ImportSheet(), DIALOG_EXPORT_2581::Init(), DIALOG_PLOT::init_Dialog(), DIALOG_EXPORT_SVG::initDialog(), DIALOG_GEN_FOOTPRINT_POSITION::initDialog(), FIELDS_GRID_TABLE::initGrid(), SIMULATOR_FRAME_UI::InitWorkbook(), EDA_DRAW_FRAME::LibraryFileBrowser(), PCB_BASE_FRAME::loadFootprint(), CVPCB_MAINFRAME::LoadFootprintFiles(), KICAD_MANAGER_FRAME::LoadProject(), EDA_3D_VIEWER_FRAME::LoadSettings(), SIMULATOR_FRAME::LoadSettings(), SIMULATOR_FRAME::LoadSimulator(), EDA_BASE_FRAME::LoadWindowState(), SIMULATOR_FRAME_UI::LoadWorkbook(), EDA_3D_VIEWER_FRAME::NewDisplay(), PANEL_FP_PROPERTIES_3D_MODEL::On3DModelCellChanged(), PANEL_FP_PROPERTIES_3D_MODEL::OnAdd3DModel(), DIALOG_BOARD_SETUP::onAuxiliaryAction(), DIALOG_EXPORT_STEP::onBrowseClicked(), DIALOG_EXPORT_2581::onBrowseClicked(), DIALOG_EXPORT_ODBPP::onBrowseClicked(), KICAD_MANAGER_FRAME::OnBrowseInFileExplorer(), DIALOG_IMPORT_NETLIST::onBrowseNetlistFiles(), TEXT_BUTTON_URL::OnButtonClick(), TEXT_BUTTON_FILE_BROWSER::OnButtonClick(), DIALOG_EDIT_SYMBOLS_LIBID::onClickOrphansButton(), DIALOG_SYMBOL_FIELDS_TABLE::OnExport(), DIALOG_EXPORT_STEP::onExportButton(), PCB_BASE_FRAME::OnFpChangeDebounceTimer(), DIALOG_GEN_FOOTPRINT_POSITION::OnGenerate(), DIALOG_GENDRILL::OnGenReportFile(), KICAD_MANAGER_FRAME::OnIdle(), DIALOG_CONFIG_EQUFILES::OnOkClick(), KICAD_MANAGER_FRAME::OnOpenFileInTextEditor(), DIALOG_PLOT::onOpenOutputDirectory(), DIALOG_PLOT_SCHEMATIC::OnOutputDirectoryBrowseClicked(), DIALOG_EXPORT_SVG::OnOutputDirectoryBrowseClicked(), DIALOG_GEN_FOOTPRINT_POSITION::OnOutputDirectoryBrowseClicked(), DIALOG_GENDRILL::OnOutputDirectoryBrowseClicked(), DIALOG_PLOT::OnOutputDirectoryBrowseClicked(), DIALOG_SYMBOL_FIELDS_TABLE::OnOutputFileBrowseClicked(), DIALOG_SCHEMATIC_SETUP::onPageChanged(), DIALOG_BOARD_SETUP::onPageChanged(), DIALOG_SYMBOL_REMAP::OnRemapSymbols(), DIALOG_ERC::OnSaveReport(), DIALOG_DRC::OnSaveReport(), PROPERTIES_FRAME::onScintillaCharAdded(), DIALOG_SHEET_PROPERTIES::onSheetFilenameChanged(), SCH_BASE_FRAME::OnSymChange(), KICAD_MANAGER_FRAME::OnUnarchiveFiles(), DIALOG_PAGES_SETTINGS::OnWksFileSelection(), FOOTPRINT_EDITOR_CONTROL::OpenDirectory(), FOOTPRINT_EDITOR_CONTROL::OpenWithTextEditor(), PANEL_DESIGN_BLOCK_CHOOSER::PANEL_DESIGN_BLOCK_CHOOSER(), PANEL_FOOTPRINT_CHOOSER::PANEL_FOOTPRINT_CHOOSER(), PANEL_FP_PROPERTIES_3D_MODEL::PANEL_FP_PROPERTIES_3D_MODEL(), PANEL_PREVIEW_3D_MODEL::PANEL_PREVIEW_3D_MODEL(), PANEL_SETUP_NETCLASSES::PANEL_SETUP_NETCLASSES(), PANEL_SYMBOL_CHOOSER::PANEL_SYMBOL_CHOOSER(), SCH_EDITOR_CONTROL::Paste(), FOOTPRINT_EDITOR_CONTROL::PasteFootprint(), LIBRARY_EDITOR_CONTROL::PinLibrary(), SCH_DESIGN_BLOCK_CONTROL::PinLibrary(), LIB_TREE_MODEL_ADAPTER::PinLibrary(), SCH_DRAWING_TOOLS::PlaceSymbol(), PANEL_SYMBOL_CHOOSER::populateFootprintSelector(), EDA_DRAW_FRAME::PrintDrawingSheet(), KICAD_MANAGER_FRAME::PrintPrjInfo(), SCH_EDITOR_CONTROL::prunePastedSymbolInstances(), CVPCB_MAINFRAME::readNetListAndFpFiles(), APPEARANCE_CONTROLS::rebuildNets(), PANEL_DESIGN_BLOCK_CHOOSER::RefreshLibs(), PANEL_FP_PROPERTIES_3D_MODEL::ReloadModelsFromFootprint(), EDA_3D_VIEWER_FRAME::ReloadRequest(), SIMULATOR_FRAME::ReloadSimulator(), DIALOG_SYMBOL_REMAP::remapSymbolToLibTable(), FOOTPRINT_EDITOR_CONTROL::RenameFootprint(), SCH_EDITOR_CONTROL::RescueLegacyProject(), SCH_EDITOR_CONTROL::RescueSymbolLibTableProject(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), FOOTPRINT_EDITOR_CONTROL::SaveAs(), DIALOG_BOARD_STATISTICS::saveReportClicked(), EDA_BASE_FRAME::SaveSettings(), SIMULATOR_FRAME::SaveSettings(), SCH_BASE_FRAME::saveSymbolLibTables(), SIMULATOR_CONTROL::SaveWorkbook(), SIMULATOR_FRAME_UI::SaveWorkbook(), PCB_BASE_FRAME::SelectLibrary(), SCH_BASE_FRAME::SelectLibraryFromList(), SCH_BASE_FRAME::SelectSymLibTable(), PCB_BASE_FRAME::setFPWatcher(), GERBVIEW_FRAME::SetPageSettings(), SCH_BASE_FRAME::setSymWatcher(), DIALOG_SYMBOL_FIELDS_TABLE::SetupColumnProperties(), EE_INSPECTION_TOOL::ShowDatasheet(), FOOTPRINT_EDITOR_CONTROL::ShowDatasheet(), PANEL_SYMBOL_CHOOSER::showFootprintFor(), COMMON_CONTROL::ShowHelp(), APPEARANCE_CONTROLS::showNetclass(), SCH_EDITOR_CONTROL::SimProbe(), SYMBOL_LIBRARY_MANAGER::symTable(), SYMBOL_TREE_SYNCHRONIZING_ADAPTER::Sync(), FP_TREE_SYNCHRONIZING_ADAPTER::Sync(), EDA_3D_VIEWER_FRAME::takeScreenshot(), DIALOG_ERC::testErc(), DIALOG_EDIT_SYMBOLS_LIBID::TransferDataFromWindow(), DIALOG_EXPORT_NETLIST::TransferDataFromWindow(), DIALOG_SHEET_PROPERTIES::TransferDataFromWindow(), DIALOG_ASSIGN_NETCLASS::TransferDataFromWindow(), DIALOG_EXPORT_2581::TransferDataFromWindow(), PANEL_SETUP_RULES::TransferDataFromWindow(), PANEL_SETUP_NETCLASSES::TransferDataToWindow(), PANEL_SETUP_RULES::TransferDataToWindow(), FOOTPRINT_EDITOR_CONTROL::tryToSaveFootprintInLibrary(), LIBRARY_EDITOR_CONTROL::UnpinLibrary(), SCH_DESIGN_BLOCK_CONTROL::UnpinLibrary(), LIB_TREE_MODEL_ADAPTER::UnpinLibrary(), DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample(), SCH_EDITOR_CONTROL::updatePastedSymbol(), SIMULATOR_FRAME::UpdateTitle(), SIMULATOR_FRAME_UI::UpdateTunerValue(), PANEL_FP_PROPERTIES_3D_MODEL::validateModelExists(), DIALOG_EXPORT_SVG::~DIALOG_EXPORT_SVG(), DIALOG_FOOTPRINT_PROPERTIES::~DIALOG_FOOTPRINT_PROPERTIES(), EDA_3D_VIEWER_FRAME::~EDA_3D_VIEWER_FRAME(), and PANEL_FP_PROPERTIES_3D_MODEL::~PANEL_FP_PROPERTIES_3D_MODEL().

◆ 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 336 of file dialog_shim.cpp.

References class_map, and DIALOG_SHIM::m_hash_key.

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

◆ SelectAllInTextCtrls()

void DIALOG_SHIM::SelectAllInTextCtrls ( wxWindowList &  children)
inherited

◆ 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 102 of file dialog_shim.h.

Referenced by DIALOG_BOM::DIALOG_BOM(), DIALOG_CONFIGURE_PATHS::DIALOG_CONFIGURE_PATHS(), DIALOG_ENUM_PADS::DIALOG_ENUM_PADS(), DIALOG_FIND::DIALOG_FIND(), DIALOG_FOOTPRINT_CHOOSER::DIALOG_FOOTPRINT_CHOOSER(), 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_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_LOCKED_ITEMS_QUERY::DIALOG_LOCKED_ITEMS_QUERY(), 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_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_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(), PANEL_DESIGN_BLOCK_LIB_TABLE::PANEL_DESIGN_BLOCK_LIB_TABLE(), PANEL_FP_LIB_TABLE::PANEL_FP_LIB_TABLE(), PANEL_SYM_LIB_TABLE::PANEL_SYM_LIB_TABLE(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), DIALOG_COPPER_ZONE::TransferDataToWindow(), DIALOG_NON_COPPER_ZONES_EDITOR::TransferDataToWindow(), DIALOG_RULE_AREA_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(), KIWAY_HOLDER::m_kiway, and name.

Referenced by PCB::IFACE::CreateKiWindow(), 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 225 of file dialog_shim.cpp.

References class_map, and DIALOG_SHIM::m_hash_key.

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 197 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 809 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_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_CREATE_ARRAY::DIALOG_CREATE_ARRAY(), DIALOG_DATABASE_LIB_SETTINGS::DIALOG_DATABASE_LIB_SETTINGS(), DIALOG_DESIGN_BLOCK_PROPERTIES::DIALOG_DESIGN_BLOCK_PROPERTIES(), DIALOG_DIELECTRIC_MATERIAL::DIALOG_DIELECTRIC_MATERIAL(), 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_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_STEP::DIALOG_EXPORT_STEP(), DIALOG_EXPORT_SVG::DIALOG_EXPORT_SVG(), DIALOG_EXPORT_VRML::DIALOG_EXPORT_VRML(), DIALOG_FILTER_SELECTION::DIALOG_FILTER_SELECTION(), DIALOG_FOOTPRINT_CHECKER::DIALOG_FOOTPRINT_CHECKER(), DIALOG_FOOTPRINT_CHOOSER::DIALOG_FOOTPRINT_CHOOSER(), 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_GENDRILL::DIALOG_GENDRILL(), 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_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_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES(), DIALOG_LIB_EDIT_PIN_TABLE::DIALOG_LIB_EDIT_PIN_TABLE(), DIALOG_LIB_NEW_SYMBOL::DIALOG_LIB_NEW_SYMBOL(), DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_LOCKED_ITEMS_QUERY::DIALOG_LOCKED_ITEMS_QUERY(), 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_GENERIC::DIALOG_PRINT_GENERIC(), DIALOG_PRINT_USING_PRINTER::DIALOG_PRINT_USING_PRINTER(), DIALOG_PUSH_PAD_PROPERTIES::DIALOG_PUSH_PAD_PROPERTIES(), DIALOG_REFERENCE_IMAGE_PROPERTIES::DIALOG_REFERENCE_IMAGE_PROPERTIES(), DIALOG_REGULATOR_FORM::DIALOG_REGULATOR_FORM(), 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_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_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(), DIALOG_EMBED_FILES::InstallPanel(), NETLIST_DIALOG_ADD_GENERATOR::NETLIST_DIALOG_ADD_GENERATOR(), PAGED_DIALOG::PAGED_DIALOG(), SAVE_AS_DIALOG::SAVE_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()

bool DIALOG_SHIM::Show ( bool  show)
overrideinherited

Definition at line 254 of file dialog_shim.cpp.

References class_map, DIALOG_SHIM::m_hash_key, DIALOG_SHIM::m_initialSize, and DIALOG_SHIM::m_useCalculatedSize.

Referenced by FOOTPRINT_EDITOR_CONTROL::CheckFootprint(), ARRAY_TOOL::CreateArray(), FOOTPRINT_EDITOR_CONTROL::CrossProbe(), EE_INSPECTION_TOOL::CrossProbe(), BOARD_INSPECTION_TOOL::DiffFootprint(), EE_INSPECTION_TOOL::DiffSymbol(), SCH_EDITOR_CONTROL::EditSymbolFields(), DIALOG_SHIM::EndQuasiModal(), SCH_EDITOR_CONTROL::GenerateBOM(), GROUP_TOOL::GroupProperties(), HOTKEY_CYCLE_POPUP::HOTKEY_CYCLE_POPUP(), BOARD_INSPECTION_TOOL::InspectClearance(), BOARD_INSPECTION_TOOL::InspectConstraints(), BOARD_INSPECTION_TOOL::InspectDRCError(), EE_INSPECTION_TOOL::NextMarker(), DRC_TOOL::NextMarker(), SCH_EDIT_FRAME::OnAnnotate(), DIALOG_DRC::OnDRCItemDClick(), DIALOG_ERC::OnERCItemDClick(), DIALOG_CLEANUP_GRAPHICS::OnLeftDClickItem(), DIALOG_CLEANUP_TRACKS_AND_VIAS::OnLeftDClickItem(), DIALOG_FOOTPRINT_CHECKER::OnLeftDClickItem(), GROUP_TOOL::PickNewMember(), HOTKEY_CYCLE_POPUP::Popup(), POSITION_RELATIVE_TOOL::PositionRelative(), EE_INSPECTION_TOOL::PrevMarker(), DRC_TOOL::PrevMarker(), CVPCB_MAINFRAME::readNetListAndFpFiles(), DIALOG_PAD_PROPERTIES::Show(), EDA_VIEW_SWITCHER::Show(), EDA_LIST_DIALOG::Show(), DIALOG_FIND::Show(), EE_INSPECTION_TOOL::ShowBusSyntaxHelp(), DRC_TOOL::ShowDRCDialog(), EE_INSPECTION_TOOL::ShowERCDialog(), SCH_EDIT_FRAME::ShowFindReplaceDialog(), GENERATOR_TOOL::ShowGeneratorsManager(), HTML_MESSAGE_BOX::ShowModeless(), DIALOG_SHIM::ShowQuasiModal(), DIALOG_CREATE_ARRAY::UpdatePickedItem(), DIALOG_POSITION_RELATIVE::UpdatePickedItem(), DIALOG_CREATE_ARRAY::UpdatePickedPoint(), and DIALOG_POSITION_RELATIVE::UpdatePickedPoint().

◆ ShowModal()

int DIALOG_SHIM::ShowModal ( )
overrideinherited

Definition at line 474 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(), EE_INSPECTION_TOOL::CheckSymbol(), FOOTPRINT_EDITOR_CONTROL::CleanupGraphics(), GLOBAL_EDIT_TOOL::CleanupGraphics(), GLOBAL_EDIT_TOOL::CleanupTracksAndVias(), COMMON_CONTROL::ConfigurePaths(), DIALOG_PLOT::CreateDrillFile(), SYMBOL_EDIT_FRAME::CreateNewSymbol(), MICROWAVE_TOOL::createPolygonShape(), CONVERT_TOOL::CreatePolys(), ROUTER_TOOL::CustomTrackWidthDialog(), FOOTPRINT_LIST::DisplayErrors(), PANEL_DESIGN_BLOCK_CHOOSER::displayErrors(), DisplayHotkeyList(), SIGNALS_GRID_TRICKS::doPopupSelection(), CURSORS_GRID_TRICKS::doPopupSelection(), MEASUREMENTS_GRID_TRICKS::doPopupSelection(), ROUTER_TOOL::DpDimensionsDialog(), SIMULATOR_FRAME::EditAnalysis(), SCH_EDIT_FRAME::EditDesignBlockProperties(), FOOTPRINT_EDIT_FRAME::editFootprintProperties(), 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(), PCB_EDIT_FRAME::ExportToGenCAD(), GERBVIEW_CONTROL::ExportToPcbnew(), EDIT_TOOL::FilletTracks(), PCB_SELECTION_TOOL::filterSelection(), BOARD_EDITOR_CONTROL::GenerateDrillFiles(), BOARD_EDITOR_CONTROL::GeneratePosFile(), PCB_EDIT_FRAME::GenIPC2581File(), PCB_EDIT_FRAME::GenODBPPFiles(), GetChamferParams(), GetDogboneParams(), GetFootprintFromBoardByReference(), COLOR_SWATCH::GetNewSwatchColor(), GetRadiusParams(), GetSequentialPadNumberingParams(), GLOBAL_EDIT_TOOL::GlobalDeletions(), SCH_EDIT_TOOL::GlobalEdit(), COMMON_TOOLS::GridOrigin(), SCH_EDIT_FRAME::importFile(), SCH_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), SCH_EDITOR_CONTROL::IncrementAnnotations(), PCB_EDIT_FRAME::InstallNetlistFrame(), InvokeDialogNetList(), InvokeDialogPrintUsingPrinter(), InvokeEditDesignBlockLibTable(), InvokeExportSVG(), InvokePcbLibTableEditor(), InvokeRuleAreaEditor(), InvokeSchEditSymbolLibTable(), SYMBOL_VIEWER_FRAME::loadAllLibraries(), GERBVIEW_FRAME::LoadGerberJobFile(), SCH::IFACE::loadGlobalLibTable(), PCB::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(), PANEL_GIT_REPOS::onAddClick(), PANEL_SETUP_BOARD_STACKUP::onAddDielectricLayer(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddFootprintFilter(), DIALOG_EXPORT_NETLIST::OnAddGenerator(), PANEL_GRID_SETTINGS::OnAddGrid(), PCB_NET_INSPECTOR_PANEL::onAddGroup(), PANEL_JOBS::OnAddJobClick(), PCB_NET_INSPECTOR_PANEL::onAddNet(), PANEL_JOBS::OnAddOutputClick(), PANEL_REGULATOR::OnAddRegulator(), DIALOG_SCHEMATIC_SETUP::onAuxiliaryAction(), DIALOG_BOARD_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(), PCB_EDIT_FRAME::OnExportIDF3(), PCB_EDIT_FRAME::OnExportSTEP(), PCB_EDIT_FRAME::OnExportVRML(), PROJECT_TREE_PANE::onGitCommit(), PROJECT_TREE_PANE::onGitInitializeProject(), PROJECT_TREE_PANE::onGitSwitchBranch(), PANEL_GIT_REPOS::onGridDClick(), LIB_TREE::onHeaderContextMenu(), PROPERTIES_FRAME::onHelp(), PANEL_JOB_OUTPUT::OnLastStatusClick(), APPEARANCE_CONTROLS_3D::onLayerPresetChanged(), APPEARANCE_CONTROLS::onLayerPresetChanged(), DIALOG_PCM::OnManageRepositoriesClicked(), PANEL_SETUP_BOARD_STACKUP::onMaterialChange(), PANEL_JOB_OUTPUT::onMenu(), PANEL_FP_LIB_TABLE::onMigrateLibraries(), PANEL_SETUP_BOARD_STACKUP::onRemoveDielectricLayer(), PCB_NET_INSPECTOR_PANEL::onRenameSelectedNet(), PANEL_SYM_LIB_TABLE::onReset(), PANEL_FP_LIB_TABLE::onReset(), PANEL_PCBNEW_ACTION_PLUGINS::OnShowErrorsButtonClick(), DIALOG_FOOTPRINT_WIZARD_LIST::onShowTrace(), APPEARANCE_CONTROLS_3D::onViewportChanged(), APPEARANCE_CONTROLS::onViewportChanged(), PANEL_JOBS::openJobOptionsForListItem(), PCB_EDIT_FRAME::OpenProjectFiles(), DESIGN_BLOCK_GRID_TRICKS::optionsEditor(), SYMBOL_GRID_TRICKS::optionsEditor(), FP_GRID_TRICKS::optionsEditor(), DIALOG_PAD_PROPERTIES::padValuesOK(), BOARD_EDITOR_CONTROL::PageSettings(), SCH_EDITOR_CONTROL::PageSetup(), PL_EDITOR_CONTROL::PageSetup(), SCH_EDITOR_CONTROL::Paste(), PCB_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(), HK_PROMPT_DIALOG::PromptForKey(), SCH_EDIT_TOOL::Properties(), 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(), FOOTPRINT_EDIT_FRAME::SaveFootprintAs(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), SCH_EDIT_FRAME::SaveSheetAsDesignBlock(), SYMBOL_EDIT_FRAME::saveSymbolCopyAs(), PROJECT_SCH::SchLibs(), ROUTER_TOOL::SelectCopperLayerPair(), FOOTPRINT_EDIT_FRAME::SelectFootprintFromBoard(), FOOTPRINT_WIZARD_FRAME::SelectFootprintWizard(), PCB_BASE_FRAME::SelectLibrary(), SCH_BASE_FRAME::SelectLibraryFromList(), PCB_BASE_FRAME::SelectOneLayer(), GERBVIEW_FRAME::SelectPCBLayer(), GERBVIEW_FRAME::SetLayerDrawPrms(), ROUTER_TOOL::SettingsDialog(), BOARD_INSPECTION_TOOL::ShowBoardStatistics(), PL_EDITOR_FRAME::ShowDesignInspector(), DRC_TOOL::ShowDRCDialog(), CVPCB_CONTROL::ShowEquFileTable(), BOARD_INSPECTION_TOOL::ShowFootprintLinks(), PCB_EDIT_FRAME::ShowFootprintPropertiesDialog(), DIALOG_LOCKED_ITEMS_QUERY::ShowModal(), 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(), 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 509 of file dialog_shim.cpp.

References DIALOG_SHIM::m_qmodal_loop, DIALOG_SHIM::m_qmodal_parent_disabler, DIALOG_SHIM::m_qmodal_showing, KIPLATFORM::UI::ReparentModal(), and DIALOG_SHIM::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::createNewText(), SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SCH_DRAWING_TOOLS::DrawShape(), SCH_DRAWING_TOOLS::DrawTable(), DRAWING_TOOL::DrawTable(), SYMBOL_EDITOR_EDIT_TOOL::editFieldProperties(), SCH_EDIT_TOOL::editFieldText(), SYMBOL_EDITOR_EDIT_TOOL::editSymbolProperties(), SCH_EDIT_TABLE_TOOL::EditTable(), PCB_EDIT_TABLE_TOOL::EditTable(), GLOBAL_EDIT_TOOL::EditTeardrops(), GLOBAL_EDIT_TOOL::EditTracksAndVias(), SIMULATOR_CONTROL::EditUserDefinedSignals(), GLOBAL_EDIT_TOOL::ExchangeFootprints(), InvokeCopperZonesEditor(), InvokeDialogCreateBOM(), InvokeDialogEditSymbolsLibId(), InvokeDialogRescueEach(), InvokeNonCopperZonesEditor(), PANEL_FP_PROPERTIES_3D_MODEL::OnAdd3DModel(), FOOTPRINT_EDIT_FRAME::OnEditItemRequest(), PCB_EDIT_FRAME::OnEditItemRequest(), SCH_EDIT_FRAME::OpenProjectFiles(), DRAWING_TOOL::PlaceText(), SCH_EDIT_TOOL::Properties(), EDIT_TOOL::Properties(), SCH_EDITOR_CONTROL::RemapSymbols(), PCB_BASE_FRAME::SelectFootprintFromLibrary(), PCB_EDIT_FRAME::ShowBoardSetupDialog(), PCB_EDIT_FRAME::ShowExchangeFootprintsDialog(), PCB_BASE_EDIT_FRAME::ShowGraphicItemPropertiesDialog(), PCB_BASE_FRAME::ShowPadPropertiesDialog(), SCH_EDIT_FRAME::ShowSchematicSetupDialog(), PCB_BASE_EDIT_FRAME::ShowTextBoxPropertiesDialog(), PCB_BASE_EDIT_FRAME::ShowTextPropertiesDialog(), PCB_EDIT_FRAME::ToPlotter(), 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.

Reimplemented in DIALOG_FOOTPRINT_CHOOSER.

Definition at line 201 of file dialog_shim.h.

Referenced by DIALOG_SHIM::EndQuasiModal().

◆ TransferDataFromWindow()

bool DIALOG_DIMENSION_PROPERTIES::TransferDataFromWindow ( )
overrideprotected

◆ TransferDataToWindow()

bool DIALOG_DIMENSION_PROPERTIES::TransferDataToWindow ( )
overrideprotected

Definition at line 199 of file dialog_dimension_properties.cpp.

References _, BITMAP_BUTTON::Check(), BOARD::ConvertKIIDsToCrossReferences(), PCB_DIMENSION_BASE::GetArrowDirection(), PCB_DIMENSION_BASE::GetArrowLength(), PCB_BASE_FRAME::GetBoard(), PCB_DIMENSION_BASE::GetExtensionOffset(), EDA_TEXT::GetFont(), EDA_TEXT::GetHorizJustify(), PCB_DIMENSION_BASE::GetKeepTextAligned(), BOARD_ITEM::GetLayer(), PCB_DIMENSION_BASE::GetLineThickness(), PCB_DIMENSION_BASE::GetOverrideText(), PCB_DIMENSION_BASE::GetOverrideTextEnabled(), PCB_DIMENSION_BASE::GetPrecision(), PCB_DIMENSION_BASE::GetPrefix(), PCB_DIMENSION_BASE::GetSuffix(), PCB_DIMENSION_BASE::GetSuppressZeroes(), EDA_TEXT::GetTextAngle(), EDA_TEXT::GetTextPos(), PCB_DIMENSION_BASE::GetTextPositionMode(), EDA_TEXT::GetTextSize(), EDA_TEXT::GetTextThickness(), PCB_DIMENSION_BASE::GetUnitsFormat(), PCB_DIMENSION_BASE::GetUnitsMode(), PCB_DIMENSION_BASE::GetValueText(), GR_TEXT_H_ALIGN_CENTER, GR_TEXT_H_ALIGN_INDETERMINATE, GR_TEXT_H_ALIGN_LEFT, GR_TEXT_H_ALIGN_RIGHT, EDA_TEXT::IsBold(), EDA_TEXT::IsItalic(), EDA_TEXT::IsMirrored(), DIALOG_DIMENSION_PROPERTIES_BASE::m_alignCenter, DIALOG_DIMENSION_PROPERTIES_BASE::m_alignLeft, DIALOG_DIMENSION_PROPERTIES_BASE::m_alignRight, m_arrowLength, DIALOG_DIMENSION_PROPERTIES_BASE::m_bold, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbArrowDirection, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbKeepAligned, m_cbLayerActual, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbOverrideValue, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbPrecision, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbSuppressZeroes, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbTextFrame, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbTextOrientation, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbTextPositionMode, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbUnits, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbUnitsFormat, m_dimension, m_extensionOffset, m_extensionOvershoot, DIALOG_DIMENSION_PROPERTIES_BASE::m_fontCtrl, m_frame, DIALOG_DIMENSION_PROPERTIES_BASE::m_italic, m_lineThickness, DIALOG_DIMENSION_PROPERTIES_BASE::m_mirrored, m_orientation, m_textHeight, m_textPosX, m_textPosY, m_textThickness, m_textWidth, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtPrefix, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtSuffix, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtTextPosX, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtTextPosY, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtValue, m_txtValueActual, EDA_ANGLE::Normalize180(), UNIT_BINDER::SetAngleValue(), FONT_CHOICE::SetFontSelection(), LAYER_BOX_SELECTOR::SetLayerSelection(), UNIT_BINDER::SetValue(), UNIT_BINDER::Show(), VECTOR2< T >::x, and VECTOR2< T >::y.

◆ updateDimensionFromDialog()

void DIALOG_DIMENSION_PROPERTIES::updateDimensionFromDialog ( PCB_DIMENSION_BASE aTarget)
private

Definition at line 376 of file dialog_dimension_properties.cpp.

References BOARD::ConvertCrossReferencesToKIIDs(), UNIT_BINDER::GetAngleValue(), PCB_BASE_FRAME::GetBoard(), FONT_CHOICE::GetFontSelection(), LAYER_BOX_SELECTOR::GetLayerSelection(), UNIT_BINDER::GetValue(), GR_TEXT_H_ALIGN_CENTER, GR_TEXT_H_ALIGN_LEFT, GR_TEXT_H_ALIGN_RIGHT, FONT_CHOICE::HaveFontSelection(), BITMAP_BUTTON::IsChecked(), DIALOG_DIMENSION_PROPERTIES_BASE::m_alignCenter, DIALOG_DIMENSION_PROPERTIES_BASE::m_alignLeft, m_arrowLength, DIALOG_DIMENSION_PROPERTIES_BASE::m_bold, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbArrowDirection, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbKeepAligned, m_cbLayerActual, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbOverrideValue, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbPrecision, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbSuppressZeroes, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbTextFrame, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbTextPositionMode, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbUnits, DIALOG_DIMENSION_PROPERTIES_BASE::m_cbUnitsFormat, m_extensionOffset, m_extensionOvershoot, DIALOG_DIMENSION_PROPERTIES_BASE::m_fontCtrl, m_frame, DIALOG_DIMENSION_PROPERTIES_BASE::m_italic, m_lineThickness, DIALOG_DIMENSION_PROPERTIES_BASE::m_mirrored, m_orientation, m_textHeight, m_textPosX, m_textPosY, m_textThickness, m_textWidth, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtPrefix, DIALOG_DIMENSION_PROPERTIES_BASE::m_txtSuffix, m_txtValueActual, EDA_ANGLE::Normalize(), PCB_DIMENSION_BASE::SetArrowDirection(), PCB_DIMENSION_BASE::SetArrowLength(), EDA_TEXT::SetBold(), PCB_DIMENSION_BASE::SetExtensionOffset(), EDA_TEXT::SetFont(), EDA_TEXT::SetHorizJustify(), EDA_TEXT::SetItalic(), PCB_DIMENSION_BASE::SetKeepTextAligned(), BOARD_ITEM::SetLayer(), PCB_DIMENSION_BASE::SetLineThickness(), EDA_TEXT::SetMirrored(), PCB_DIMENSION_BASE::SetOverrideText(), PCB_DIMENSION_BASE::SetOverrideTextEnabled(), PCB_DIMENSION_BASE::SetPrecision(), PCB_DIMENSION_BASE::SetPrefix(), PCB_DIMENSION_BASE::SetSuffix(), PCB_DIMENSION_BASE::SetSuppressZeroes(), EDA_TEXT::SetTextAngle(), EDA_TEXT::SetTextHeight(), EDA_TEXT::SetTextPos(), PCB_DIMENSION_BASE::SetTextPositionMode(), EDA_TEXT::SetTextThickness(), EDA_TEXT::SetTextWidth(), PCB_DIMENSION_BASE::SetUnitsFormat(), PCB_DIMENSION_BASE::SetUnitsMode(), and PCB_DIMENSION_BASE::Update().

Referenced by TransferDataFromWindow(), and updatePreviewText().

◆ updatePreviewText()

void DIALOG_DIMENSION_PROPERTIES::updatePreviewText ( )
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 211 of file dialog_shim.cpp.

Referenced by DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE().

Member Data Documentation

◆ m_alignCenter

◆ m_alignLeft

◆ m_alignRight

◆ m_arrowLength

UNIT_BINDER DIALOG_DIMENSION_PROPERTIES::m_arrowLength
private

◆ m_beforeEditValues

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

◆ m_bold

◆ m_cbArrowDirection

wxChoice* DIALOG_DIMENSION_PROPERTIES_BASE::m_cbArrowDirection
protectedinherited

◆ m_cbCenterLayer

PCB_LAYER_BOX_SELECTOR* DIALOG_DIMENSION_PROPERTIES_BASE::m_cbCenterLayer
protectedinherited

◆ m_cbKeepAligned

wxCheckBox* DIALOG_DIMENSION_PROPERTIES_BASE::m_cbKeepAligned
protectedinherited

◆ m_cbLayer

PCB_LAYER_BOX_SELECTOR* DIALOG_DIMENSION_PROPERTIES_BASE::m_cbLayer
protectedinherited

◆ m_cbLayerActual

PCB_LAYER_BOX_SELECTOR* DIALOG_DIMENSION_PROPERTIES::m_cbLayerActual
private

◆ m_cbLeaderLayer

PCB_LAYER_BOX_SELECTOR* DIALOG_DIMENSION_PROPERTIES_BASE::m_cbLeaderLayer
protectedinherited

◆ m_cbOverrideValue

wxCheckBox* DIALOG_DIMENSION_PROPERTIES_BASE::m_cbOverrideValue
protectedinherited

◆ m_cbPrecision

wxChoice* DIALOG_DIMENSION_PROPERTIES_BASE::m_cbPrecision
protectedinherited

◆ m_cbSuppressZeroes

wxCheckBox* DIALOG_DIMENSION_PROPERTIES_BASE::m_cbSuppressZeroes
protectedinherited

◆ m_cbTextFrame

wxChoice* DIALOG_DIMENSION_PROPERTIES_BASE::m_cbTextFrame
protectedinherited

◆ m_cbTextOrientation

◆ m_cbTextPositionMode

wxChoice* DIALOG_DIMENSION_PROPERTIES_BASE::m_cbTextPositionMode
protectedinherited

◆ m_cbUnits

◆ m_cbUnitsFormat

wxChoice* DIALOG_DIMENSION_PROPERTIES_BASE::m_cbUnitsFormat
protectedinherited

◆ m_dimension

PCB_DIMENSION_BASE* DIALOG_DIMENSION_PROPERTIES::m_dimension
private

◆ m_extensionOffset

UNIT_BINDER DIALOG_DIMENSION_PROPERTIES::m_extensionOffset
private

◆ m_extensionOvershoot

UNIT_BINDER DIALOG_DIMENSION_PROPERTIES::m_extensionOvershoot
private

◆ m_firstPaintEvent

bool DIALOG_SHIM::m_firstPaintEvent
protectedinherited

Definition at line 231 of file dialog_shim.h.

Referenced by DIALOG_SHIM::OnPaint().

◆ m_fontCtrl

◆ m_fontLabel

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_fontLabel
protectedinherited

◆ m_frame

PCB_BASE_EDIT_FRAME* DIALOG_DIMENSION_PROPERTIES::m_frame
private

◆ m_hash_key

◆ m_initialFocusTarget

wxWindow* DIALOG_SHIM::m_initialFocusTarget
protectedinherited

Definition at line 232 of file dialog_shim.h.

Referenced by DIALOG_SHIM::OnPaint().

◆ m_initialSize

wxSize DIALOG_SHIM::m_initialSize
protectedinherited

Definition at line 245 of file dialog_shim.h.

Referenced by DIALOG_SHIM::Show().

◆ m_isClosing

bool DIALOG_SHIM::m_isClosing
protectedinherited

Definition at line 233 of file dialog_shim.h.

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

◆ m_italic

◆ m_kiway

KIWAY* KIWAY_HOLDER::m_kiway
privateinherited

Definition at line 86 of file kiway_holder.h.

Referenced by KIWAY_HOLDER::SetKiway().

◆ m_lblArrowDirection

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblArrowDirection
protectedinherited

◆ m_lblArrowLength

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblArrowLength
protectedinherited

◆ m_lblArrowLengthUnits

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblArrowLengthUnits
protectedinherited

◆ m_lblCenterLayer

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblCenterLayer
protectedinherited

◆ m_lblExtensionOffset

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblExtensionOffset
protectedinherited

◆ m_lblExtensionOffsetUnits

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblExtensionOffsetUnits
protectedinherited

◆ m_lblExtensionOvershoot

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblExtensionOvershoot
protectedinherited

◆ m_lblExtensionOvershootUnits

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblExtensionOvershootUnits
protectedinherited

◆ m_lblLayer

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblLayer
protectedinherited

◆ m_lblLeaderLayer

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblLeaderLayer
protectedinherited

◆ m_lblLeaderValue

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblLeaderValue
protectedinherited

◆ m_lblLineThickness

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblLineThickness
protectedinherited

◆ m_lblLineThicknessUnits

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblLineThicknessUnits
protectedinherited

◆ m_lblPrecision

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblPrecision
protectedinherited

◆ m_lblPrefix

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblPrefix
protectedinherited

◆ m_lblPreview

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblPreview
protectedinherited

◆ m_lblSuffix

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblSuffix
protectedinherited

◆ m_lblTextFrame

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextFrame
protectedinherited

◆ m_lblTextHeight

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextHeight
protectedinherited

◆ m_lblTextHeightUnits

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextHeightUnits
protectedinherited

◆ m_lblTextOrientation

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextOrientation
protectedinherited

◆ m_lblTextPositionMode

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextPositionMode
protectedinherited

◆ m_lblTextPosX

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextPosX
protectedinherited

◆ m_lblTextPosXUnits

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextPosXUnits
protectedinherited

◆ m_lblTextPosY

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextPosY
protectedinherited

◆ m_lblTextPosYUnits

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextPosYUnits
protectedinherited

◆ m_lblTextThickness

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextThickness
protectedinherited

◆ m_lblTextThicknessUnits

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextThicknessUnits
protectedinherited

◆ m_lblTextWidth

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextWidth
protectedinherited

◆ m_lblTextWidthUnits

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblTextWidthUnits
protectedinherited

◆ m_lblUnits

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblUnits
protectedinherited

◆ m_lblValue

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_lblValue
protectedinherited

◆ m_lineThickness

UNIT_BINDER DIALOG_DIMENSION_PROPERTIES::m_lineThickness
private

◆ m_mainSizer

wxBoxSizer* DIALOG_DIMENSION_PROPERTIES_BASE::m_mainSizer
protectedinherited

◆ m_mirrored

◆ m_orientation

UNIT_BINDER DIALOG_DIMENSION_PROPERTIES::m_orientation
private

◆ m_parentFrame

◆ m_previewDimension

PCB_DIMENSION_BASE* DIALOG_DIMENSION_PROPERTIES::m_previewDimension
private

◆ m_qmodal_loop

wxGUIEventLoop* DIALOG_SHIM::m_qmodal_loop
protectedinherited

Definition at line 235 of file dialog_shim.h.

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

◆ m_qmodal_parent_disabler

WDO_ENABLE_DISABLE* DIALOG_SHIM::m_qmodal_parent_disabler
protectedinherited

◆ m_qmodal_showing

bool DIALOG_SHIM::m_qmodal_showing
protectedinherited

Definition at line 237 of file dialog_shim.h.

Referenced by DIALOG_SHIM::ShowQuasiModal().

◆ m_sdbSizer

wxStdDialogButtonSizer* DIALOG_DIMENSION_PROPERTIES_BASE::m_sdbSizer
protectedinherited

◆ m_sdbSizerCancel

wxButton* DIALOG_DIMENSION_PROPERTIES_BASE::m_sdbSizerCancel
protectedinherited

◆ m_sdbSizerOK

wxButton* DIALOG_DIMENSION_PROPERTIES_BASE::m_sdbSizerOK
protectedinherited

◆ m_separator0

BITMAP_BUTTON* DIALOG_DIMENSION_PROPERTIES_BASE::m_separator0
protectedinherited

◆ m_separator1

BITMAP_BUTTON* DIALOG_DIMENSION_PROPERTIES_BASE::m_separator1
protectedinherited

◆ m_separator2

BITMAP_BUTTON* DIALOG_DIMENSION_PROPERTIES_BASE::m_separator2
protectedinherited

◆ m_separator3

BITMAP_BUTTON* DIALOG_DIMENSION_PROPERTIES_BASE::m_separator3
protectedinherited

◆ m_sizerCenter

wxStaticBoxSizer* DIALOG_DIMENSION_PROPERTIES_BASE::m_sizerCenter
protectedinherited

◆ m_sizerFormat

wxStaticBoxSizer* DIALOG_DIMENSION_PROPERTIES_BASE::m_sizerFormat
protectedinherited

◆ m_sizerLeader

wxStaticBoxSizer* DIALOG_DIMENSION_PROPERTIES_BASE::m_sizerLeader
protectedinherited

◆ m_sizerText

wxStaticBoxSizer* DIALOG_DIMENSION_PROPERTIES_BASE::m_sizerText
protectedinherited

◆ m_staticTextPreview

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_staticTextPreview
protectedinherited

◆ m_tabOrder

◆ m_textHeight

UNIT_BINDER DIALOG_DIMENSION_PROPERTIES::m_textHeight
private

◆ m_textPosX

UNIT_BINDER DIALOG_DIMENSION_PROPERTIES::m_textPosX
private

◆ m_textPosY

UNIT_BINDER DIALOG_DIMENSION_PROPERTIES::m_textPosY
private

◆ m_textThickness

UNIT_BINDER DIALOG_DIMENSION_PROPERTIES::m_textThickness
private

◆ m_textWidth

UNIT_BINDER DIALOG_DIMENSION_PROPERTIES::m_textWidth
private

◆ m_txtArrowLength

wxTextCtrl* DIALOG_DIMENSION_PROPERTIES_BASE::m_txtArrowLength
protectedinherited

◆ m_txtExtensionOffset

wxTextCtrl* DIALOG_DIMENSION_PROPERTIES_BASE::m_txtExtensionOffset
protectedinherited

◆ m_txtExtensionOvershoot

wxTextCtrl* DIALOG_DIMENSION_PROPERTIES_BASE::m_txtExtensionOvershoot
protectedinherited

◆ m_txtLeaderValue

wxTextCtrl* DIALOG_DIMENSION_PROPERTIES_BASE::m_txtLeaderValue
protectedinherited

◆ m_txtLineThickness

wxTextCtrl* DIALOG_DIMENSION_PROPERTIES_BASE::m_txtLineThickness
protectedinherited

◆ m_txtPrefix

wxTextCtrl* DIALOG_DIMENSION_PROPERTIES_BASE::m_txtPrefix
protectedinherited

◆ m_txtSuffix

wxTextCtrl* DIALOG_DIMENSION_PROPERTIES_BASE::m_txtSuffix
protectedinherited

◆ m_txtTextHeight

wxTextCtrl* DIALOG_DIMENSION_PROPERTIES_BASE::m_txtTextHeight
protectedinherited

◆ m_txtTextPosX

◆ m_txtTextPosY

◆ m_txtTextThickness

wxTextCtrl* DIALOG_DIMENSION_PROPERTIES_BASE::m_txtTextThickness
protectedinherited

◆ m_txtTextWidth

wxTextCtrl* DIALOG_DIMENSION_PROPERTIES_BASE::m_txtTextWidth
protectedinherited

◆ m_txtUnitsFormat

wxStaticText* DIALOG_DIMENSION_PROPERTIES_BASE::m_txtUnitsFormat
protectedinherited

◆ m_txtValue

wxTextCtrl* DIALOG_DIMENSION_PROPERTIES_BASE::m_txtValue
protectedinherited

◆ m_txtValueActual

wxTextCtrl* DIALOG_DIMENSION_PROPERTIES::m_txtValueActual
private

◆ m_type

HOLDER_TYPE KIWAY_HOLDER::m_type
privateinherited

Definition at line 87 of file kiway_holder.h.

◆ m_units

◆ m_useCalculatedSize

bool DIALOG_SHIM::m_useCalculatedSize
protectedinherited

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