KiCad PCB EDA Suite
|
#include <dialog_position_relative.h>
Public Types | |
enum | HOLDER_TYPE { DIALOG , FRAME , PANEL } |
Public Member Functions | |
DIALOG_POSITION_RELATIVE (PCB_BASE_FRAME *aParent) | |
~DIALOG_POSITION_RELATIVE ()=default | |
void | UpdatePickedItem (const EDA_ITEM *aItem) override |
void | UpdatePickedPoint (const std::optional< VECTOR2I > &aPoint) override |
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 |
KIWAY & | Kiway () 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. | |
PROJECT & | Prj () 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 | OnClose (wxCloseEvent &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 | |
wxStaticText * | m_referenceInfo |
wxButton * | m_user_origin_button |
wxButton * | m_grid_origin_button |
wxButton * | m_select_anchor_button |
wxButton * | m_select_point_button |
wxStaticLine * | m_staticline2 |
wxStaticText * | m_xLabel |
wxTextCtrl * | m_xEntry |
wxStaticText * | m_xUnit |
wxButton * | m_clearX |
wxStaticText * | m_yLabel |
wxTextCtrl * | m_yEntry |
wxStaticText * | m_yUnit |
wxButton * | m_clearY |
wxCheckBox * | m_polarCoords |
wxStdDialogButtonSizer * | m_stdButtons |
wxButton * | m_stdButtonsOK |
wxButton * | m_stdButtonsCancel |
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_DISABLER * | m_qmodal_parent_disabler |
EDA_BASE_FRAME * | m_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 |
Private Types | |
enum | ANCHOR_TYPE { ANCHOR_GRID_ORIGIN , ANCHOR_USER_ORIGIN , ANCHOR_ITEM , ANCHOR_POINT } |
Persistent dialog options. More... | |
Private Member Functions | |
void | OnTextFocusLost (wxFocusEvent &event) override |
Reset a text field to be 0 if it was exited while blank. | |
void | OnPolarChanged (wxCommandEvent &event) override |
void | OnClear (wxCommandEvent &event) override |
void | OnSelectItemClick (wxCommandEvent &event) override |
void | OnSelectPointClick (wxCommandEvent &event) override |
void | OnUseGridOriginClick (wxCommandEvent &event) override |
void | OnUseUserOriginClick (wxCommandEvent &event) override |
void | OnOkClick (wxCommandEvent &event) override |
void | ToPolarDeg (double x, double y, double &r, EDA_ANGLE &q) |
Convert a given Cartesian point into a polar representation. | |
bool | getTranslationInIU (VECTOR2I &val, bool polar) |
Get the (Cartesian) translation described by the text entries. | |
void | updateDialogControls (bool aPolar) |
void | updateAnchorInfo (const BOARD_ITEM *aItem) |
VECTOR2I | getAnchorPos () |
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 |
DECLARE_EVENT_TABLE () | |
Private Attributes | |
TOOL_MANAGER * | m_toolMgr |
VECTOR2I | m_anchorItemPosition |
UNIT_BINDER | m_xOffset |
UNIT_BINDER | m_yOffset |
double | m_stateX |
double | m_stateY |
double | m_stateRadius |
EDA_ANGLE | m_stateTheta |
KIWAY * | m_kiway |
HOLDER_TYPE | m_type |
Static Private Attributes | |
static ANCHOR_TYPE | s_anchorType = DIALOG_POSITION_RELATIVE::ANCHOR_ITEM |
Definition at line 34 of file dialog_position_relative.h.
|
private |
Persistent dialog options.
Enumerator | |
---|---|
ANCHOR_GRID_ORIGIN | |
ANCHOR_USER_ORIGIN | |
ANCHOR_ITEM | |
ANCHOR_POINT |
Definition at line 90 of file dialog_position_relative.h.
|
inherited |
Enumerator | |
---|---|
DIALOG | |
FRAME | |
PANEL |
Definition at line 41 of file kiway_holder.h.
DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE | ( | PCB_BASE_FRAME * | aParent | ) |
Definition at line 39 of file dialog_position_relative.cpp.
References DIALOG_SHIM::finishDialogSettings(), DIALOG_POSITION_RELATIVE_BASE::m_polarCoords, DIALOG_POSITION_RELATIVE_BASE::m_stdButtonsCancel, DIALOG_POSITION_RELATIVE_BASE::m_stdButtonsOK, DIALOG_SHIM::m_tabOrder, DIALOG_POSITION_RELATIVE_BASE::m_xEntry, m_xOffset, DIALOG_POSITION_RELATIVE_BASE::m_yEntry, m_yOffset, ORIGIN_TRANSFORMS::REL_X_COORD, ORIGIN_TRANSFORMS::REL_Y_COORD, UNIT_BINDER::SetCoordType(), DIALOG_SHIM::SetInitialFocus(), DIALOG_SHIM::SetupStandardButtons(), and updateDialogControls().
|
default |
|
inherited |
Definition at line 809 of file dialog_shim.cpp.
References DIALOG_SHIM::m_qmodal_parent_disabler, and WINDOW_DISABLER::ResumeAfterTrueModal().
Referenced by TEXT_BUTTON_URL::OnButtonClick(), and TEXT_BUTTON_FILE_BROWSER::OnButtonClick().
|
inherited |
Definition at line 717 of file dialog_shim.cpp.
Referenced by DIALOG_SYMBOL_FIELDS_TABLE::OnSaveAndContinue().
|
privateinherited |
|
overrideinherited |
Definition at line 354 of file dialog_shim.cpp.
|
inherited |
Definition at line 816 of file dialog_shim.cpp.
References DIALOG_SHIM::IsQuasiModal(), DIALOG_SHIM::m_qmodal_loop, DIALOG_SHIM::m_qmodal_parent_disabler, DIALOG_SHIM::Show(), and DIALOG_SHIM::TearDownQuasiModal().
Referenced by EDA_3D_CONTROLLER::Main(), DIALOG_EXPORT_NETLIST::OnAddGenerator(), DIALOG_SHIM::OnButton(), DIALOG_EDIT_SYMBOLS_LIBID::onCancel(), DIALOG_LIB_SYMBOL_PROPERTIES::OnCancelButtonClick(), DIALOG_SYMBOL_PROPERTIES::OnCancelButtonClick(), DIALOG_LIB_EDIT_PIN_TABLE::OnClose(), DIALOG_SHIM::OnCloseWindow(), DIALOG_EXPORT_NETLIST::OnDelGenerator(), DIALOG_SYMBOL_PROPERTIES::OnEditLibrarySymbol(), DIALOG_SYMBOL_PROPERTIES::OnEditSymbol(), DIALOG_SYMBOL_PROPERTIES::OnExchangeSymbol(), PCB_ONE_LAYER_SELECTOR::OnLeftGridCellClick(), PCB_ONE_LAYER_SELECTOR::OnRightGridCellClick(), DIALOG_SYMBOL_PROPERTIES::OnUpdateSymbol(), DIALOG_PUSH_PAD_PROPERTIES::PadPropertiesAccept(), and DIALOG_SHIM::~DIALOG_SHIM().
|
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 195 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_IDF3::DIALOG_EXPORT_IDF3(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), 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_GENCAD_EXPORT_OPTIONS::DIALOG_GENCAD_EXPORT_OPTIONS(), 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_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_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_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_PNS_SETTINGS::DIALOG_PNS_SETTINGS(), 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_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_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(), NETLIST_DIALOG_ADD_GENERATOR::NETLIST_DIALOG_ADD_GENERATOR(), NETLIST_VIEW_DIALOG::NETLIST_VIEW_DIALOG(), DIALOG_SIM_COMMAND::onInitDlg(), DIALOG_SYMBOL_PROPERTIES::OnInitDlg(), DIALOG_PIN_PROPERTIES::TransferDataToWindow(), DIALOG_COLOR_PICKER::TransferDataToWindow(), DIALOG_BOARD_STATISTICS::TransferDataToWindow(), DIALOG_FOOTPRINT_ASSOCIATIONS::TransferDataToWindow(), WX_MULTI_ENTRY_DIALOG::WX_MULTI_ENTRY_DIALOG(), and WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG().
|
privateinherited |
Definition at line 361 of file dialog_shim.cpp.
References makeKey().
Referenced by DIALOG_SHIM::LoadControlState(), and DIALOG_SHIM::SaveControlState().
|
private |
Definition at line 270 of file dialog_position_relative.cpp.
References ANCHOR_GRID_ORIGIN, ANCHOR_ITEM, ANCHOR_POINT, ANCHOR_USER_ORIGIN, TOOL_MANAGER::GetModel(), TOOL_MANAGER::GetToolHolder(), m_anchorItemPosition, m_toolMgr, and s_anchorType.
Referenced by OnClear(), and OnOkClick().
|
private |
Get the (Cartesian) translation described by the text entries.
val | is the output translation vector. |
set | to true to interpret as polar coordinates. |
Definition at line 80 of file dialog_position_relative.cpp.
References EDA_ANGLE::Cos(), UNIT_BINDER::GetAngleValue(), UNIT_BINDER::GetDoubleValue(), KiROUND(), m_xOffset, m_yOffset, EDA_ANGLE::Sin(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by OnOkClick().
|
inlineinherited |
Definition at line 48 of file kiway_holder.h.
Referenced by DIALOG_SHIM::DIALOG_SHIM(), EDA_3D_CONTROLLER::Main(), and PANEL_PREVIEW_3D_MODEL::onModify().
|
inlineinherited |
Definition at line 111 of file dialog_shim.h.
Referenced by DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_SHIM::DIALOG_SHIM(), DIALOG_DRC::OnSaveReport(), POSITION_RELATIVE_TOOL::PositionRelative(), updateAnchorInfo(), DIALOG_MOVE_EXACT::updateDialogControls(), updateDialogControls(), and DIALOG_SET_OFFSET::updateDialogControls().
|
inlineinherited |
Safety check before asking for the Kiway reference.
Definition at line 65 of file kiway_holder.h.
Referenced by DIALOG_SHIM::~DIALOG_SHIM().
|
protectedinherited |
Convert an integer number of dialog units to pixels, horizontally.
See SetSizeInDU or wxDialog documentation for more information.
Definition at line 213 of file dialog_shim.cpp.
Referenced by DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE().
|
inlinestaticinherited |
Definition at line 120 of file dialog_shim.h.
|
inlineinherited |
Definition at line 86 of file dialog_shim.h.
Referenced by DIALOG_SHIM::EndQuasiModal(), EDA_3D_CONTROLLER::Main(), DIALOG_EXPORT_NETLIST::OnAddGenerator(), DIALOG_SHIM::OnButton(), DIALOG_EDIT_SYMBOLS_LIBID::onCancel(), DIALOG_BOOK_REPORTER::OnClose(), DIALOG_LIB_EDIT_PIN_TABLE::OnClose(), DIALOG_ERC::OnCloseErcDialog(), DIALOG_SHIM::OnCloseWindow(), DIALOG_EXPORT_NETLIST::OnDelGenerator(), PCB_ONE_LAYER_SELECTOR::OnLeftGridCellClick(), PCB_ONE_LAYER_SELECTOR::OnRightGridCellClick(), DIALOG_PUSH_PAD_PROPERTIES::PadPropertiesAccept(), and DIALOG_SHIM::~DIALOG_SHIM().
|
inlinestaticinherited |
Definition at line 126 of file dialog_shim.h.
|
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(), IMPORT_PROJ_HELPER::addLocalLibraries(), 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_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH(), DIALOG_SHIM::DIALOG_SHIM(), IMPORT_PROJ_HELPER::doImport(), FIELDS_EDITOR_GRID_TRICKS::doPopupSelection(), FIELDS_GRID_TRICKS::doPopupSelection(), BOARD_EDITOR_CONTROL::EditFpInFpEditor(), SCH_EDITOR_CONTROL::EditWithSymbolEditor(), PANEL_JOBSET::EnsurePcbSchFramesOpen(), SIMULATOR_CONTROL::ExportPlotToSchematic(), BACK_ANNOTATE::FetchNetlistFromPCB(), PANEL_SYMBOL_CHOOSER::FinishSetup(), 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(), PLUGIN_CONTENT_MANAGER::MarkInstalled(), DESIGN_BLOCK_CONTROL::notifyOtherFrames(), TEXT_BUTTON_SYMBOL_CHOOSER::OnButtonClick(), TEXT_BUTTON_FP_CHOOSER::OnButtonClick(), PCB_CALCULATOR_FRAME::OnExit(), SIMULATOR_FRAME::onExit(), SAVE_AS_TRAVERSER::OnFile(), PANEL_DESTINATION::OnGenerate(), PANEL_JOBSET::OnGenerateAllDestinationsClick(), KIGFX::WX_VIEW_CONTROLS::onMotion(), DIALOG_SYMBOL_REMAP::OnRemapSymbols(), PANEL_COMPONENT_CLASS_CONDITION_FOOTPRINT::OnShowLibraryClick(), DIALOG_FIELD_PROPERTIES::OnTextValueSelectButtonClick(), PANEL_JOBSET::OpenJobOptionsForListItem(), PANEL_FOOTPRINT_CHOOSER::PANEL_FOOTPRINT_CHOOSER(), PCB_DESIGN_BLOCK_PREVIEW_WIDGET::PCB_DESIGN_BLOCK_PREVIEW_WIDGET(), KIWAY_HOLDER::Prj(), SIMULATOR_CONTROL::Probe(), SCH_EDIT_TOOL::Properties(), BACK_ANNOTATE::PushNewLinksToPCB(), SCH_EDITOR_CONTROL::rescueProject(), SCH_INSPECTION_TOOL::RunSimulation(), CVPCB_MAINFRAME::SaveFootprintAssociation(), EDA_DRAW_FRAME::ScriptingConsoleEnableDisable(), CVPCB_MAINFRAME::SendComponentSelectionToSch(), BOARD_EDITOR_CONTROL::ShowEeschema(), 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(), KICAD_MANAGER_FRAME::UnarchiveFiles(), BOARD_EDITOR_CONTROL::UpdateSchematicFromPCB(), DIALOG_EXCHANGE_FOOTPRINTS::ViewAndSelectFootprint(), and DIALOG_SHIM::~DIALOG_SHIM().
|
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 471 of file dialog_shim.cpp.
References DIALOG_SHIM::generateKey(), SETTINGS_MANAGER::GetCommonSettings(), PGM_BASE::GetSettingsManager(), COMMON_SETTINGS::m_dialogControlValues, DIALOG_SHIM::m_hash_key, DIALOG_SHIM::m_unitBinders, Pgm(), and PROPERTY_HOLDER::SafeCast().
Referenced by DIALOG_SHIM::onInitDialog().
|
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 865 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().
|
protectedvirtualinherited |
Reimplemented in HK_PROMPT_DIALOG, and HTML_MESSAGE_BOX.
Definition at line 919 of file dialog_shim.cpp.
References delta, DIALOG_SHIM::m_beforeEditValues, DIALOG_SHIM::m_parentFrame, DIALOG_SHIM::m_tabOrder, and EDA_BASE_FRAME::ToggleUserUnits().
Referenced by DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), and DIALOG_TEXTBOX_PROPERTIES::~DIALOG_TEXTBOX_PROPERTIES().
|
privateinherited |
Definition at line 903 of file dialog_shim.cpp.
References DIALOG_SHIM::m_beforeEditValues, and DIALOG_SHIM::m_isClosing.
Referenced by DIALOG_SHIM::SelectAllInTextCtrls(), and DIALOG_SHIM::~DIALOG_SHIM().
|
overrideprivatevirtual |
Reimplemented from DIALOG_POSITION_RELATIVE_BASE.
Definition at line 172 of file dialog_position_relative.cpp.
References getAnchorPos(), UNIT_BINDER::GetAngleValue(), UNIT_BINDER::GetDoubleValue(), POSITION_RELATIVE_TOOL::GetSelectionAnchorPosition(), TOOL_MANAGER::GetTool(), DIALOG_POSITION_RELATIVE_BASE::m_clearX, DIALOG_POSITION_RELATIVE_BASE::m_clearY, DIALOG_POSITION_RELATIVE_BASE::m_polarCoords, m_stateRadius, m_stateTheta, m_stateX, m_stateY, m_toolMgr, m_xOffset, m_yOffset, UNIT_BINDER::SetAngleValue(), UNIT_BINDER::SetDoubleValue(), UNIT_BINDER::SetValue(), ToPolarDeg(), VECTOR2< T >::x, and VECTOR2< T >::y.
|
inlineprotectedvirtualinherited |
Definition at line 60 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE(), and DIALOG_POSITION_RELATIVE_BASE::~DIALOG_POSITION_RELATIVE_BASE().
|
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 849 of file dialog_shim.cpp.
References APP_MONITOR::AddNavigationBreadcrumb(), DIALOG_SHIM::EndQuasiModal(), and DIALOG_SHIM::IsQuasiModal().
Referenced by DIALOG_SHIM::DIALOG_SHIM(), and DIALOG_SHIM::~DIALOG_SHIM().
|
privateinherited |
Definition at line 188 of file dialog_shim.cpp.
References DIALOG_SHIM::LoadControlState().
Referenced by DIALOG_SHIM::DIALOG_SHIM(), and DIALOG_SHIM::~DIALOG_SHIM().
|
inherited |
Definition at line 710 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::onAddGroup(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnAddLayer(), 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(), DIALOG_LIB_SYMBOL_PROPERTIES::OnGridCellChanged(), 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::onRemoveGroup(), 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().
|
privateinherited |
Definition at line 347 of file dialog_shim.cpp.
References DIALOG_SHIM::m_userPositioned.
Referenced by DIALOG_SHIM::DIALOG_SHIM(), and DIALOG_SHIM::~DIALOG_SHIM().
|
overrideprivatevirtual |
Reimplemented from DIALOG_POSITION_RELATIVE_BASE.
Definition at line 334 of file dialog_position_relative.cpp.
References getAnchorPos(), TOOL_MANAGER::GetTool(), getTranslationInIU(), DIALOG_POSITION_RELATIVE_BASE::m_polarCoords, m_toolMgr, and POSITION_RELATIVE_TOOL::RelativeItemSelectionMove().
|
inherited |
Definition at line 690 of file dialog_shim.cpp.
References KIPLATFORM::UI::FixupCancelButtonCmdKeyCollision(), KIPLATFORM::UI::ForceFocus(), DIALOG_SHIM::m_firstPaintEvent, DIALOG_SHIM::m_initialFocusTarget, and DIALOG_SHIM::SelectAllInTextCtrls().
Referenced by DIALOG_SHIM::DIALOG_SHIM(), and DIALOG_SHIM::~DIALOG_SHIM().
|
overrideprivatevirtual |
Reimplemented from DIALOG_POSITION_RELATIVE_BASE.
Definition at line 102 of file dialog_position_relative.cpp.
References EDA_ANGLE::AsDegrees(), EDA_ANGLE::Cos(), DEGREES_T, UNIT_BINDER::GetAngleValue(), UNIT_BINDER::GetDoubleValue(), DIALOG_POSITION_RELATIVE_BASE::m_polarCoords, m_stateRadius, m_stateTheta, m_stateX, m_stateY, m_xOffset, m_yOffset, UNIT_BINDER::SetAngleValue(), UNIT_BINDER::SetDoubleValue(), EDA_ANGLE::Sin(), ToPolarDeg(), and updateDialogControls().
|
overrideprivatevirtual |
Reimplemented from DIALOG_POSITION_RELATIVE_BASE.
Definition at line 208 of file dialog_position_relative.cpp.
References _, TOOL_MANAGER::GetTool(), m_toolMgr, TOOL_MANAGER::RunAction(), and PCB_ACTIONS::selectItemInteractively.
|
overrideprivatevirtual |
Reimplemented from DIALOG_POSITION_RELATIVE_BASE.
Definition at line 222 of file dialog_position_relative.cpp.
References _, TOOL_MANAGER::GetTool(), m_toolMgr, TOOL_MANAGER::RunAction(), and PCB_ACTIONS::selectPointInteractively.
|
privateinherited |
Definition at line 340 of file dialog_shim.cpp.
References DIALOG_SHIM::m_userResized.
Referenced by DIALOG_SHIM::DIALOG_SHIM(), and DIALOG_SHIM::~DIALOG_SHIM().
|
overrideprivatevirtual |
Reset a text field to be 0 if it was exited while blank.
Reimplemented from DIALOG_POSITION_RELATIVE_BASE.
Definition at line 350 of file dialog_position_relative.cpp.
|
overrideprivatevirtual |
Reimplemented from DIALOG_POSITION_RELATIVE_BASE.
Definition at line 290 of file dialog_position_relative.cpp.
References ANCHOR_GRID_ORIGIN, s_anchorType, and updateAnchorInfo().
|
overrideprivatevirtual |
Reimplemented from DIALOG_POSITION_RELATIVE_BASE.
Definition at line 297 of file dialog_position_relative.cpp.
References ANCHOR_USER_ORIGIN, s_anchorType, and updateAnchorInfo().
|
inherited |
Opt out of control state saving.
aWindow | can be either a specific control, or the whole dialog |
Definition at line 602 of file dialog_shim.cpp.
References PROPERTY_HOLDER::SetProperty().
Referenced by DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_GLOBAL_DELETION::DIALOG_GLOBAL_DELETION(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_MIGRATE_BUSES::DIALOG_MIGRATE_BUSES(), and DIALOG_SIM_FORMAT_VALUE::DIALOG_SIM_FORMAT_VALUE().
|
inherited |
Definition at line 802 of file dialog_shim.cpp.
References DIALOG_SHIM::m_qmodal_parent_disabler, and WINDOW_DISABLER::SuspendForTrueModal().
Referenced by TEXT_BUTTON_URL::OnButtonClick(), and TEXT_BUTTON_FILE_BROWSER::OnButtonClick().
|
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 DESIGN_BLOCK_PANE::AddDesignBlockLibrary(), 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(), CVPCB_MAINFRAME::buildEquivalenceList(), CVPCB_MAINFRAME::BuildLibrariesList(), PCB_BASE_FRAME::canCloseWindow(), SIMULATOR_FRAME::canCloseWindow(), LIBRARY_EDITOR_CONTROL::changeSelectedPinStatus(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::checkFootprintName(), PANEL_SETUP_NETCLASSES::checkReload(), KICAD_MANAGER_FRAME::CloseProject(), PCB_CONTROL::CollectAndEmbed3DModels(), DESIGN_BLOCK_PANE::createNewDesignBlockLibrary(), PCB_BASE_FRAME::CreateNewFootprint(), DIALOG_SYMBOL_REMAP::createProjectSymbolLibTable(), PCB_CONTROL::DdAddLibrary(), DESIGN_BLOCK_PANE::DeleteDesignBlockFromLibrary(), DESIGN_BLOCK_PANE::DeleteDesignBlockLibrary(), 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_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_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(), SCH_INSPECTION_TOOL::DiffSymbol(), PL_DRAW_PANEL_GAL::DisplayDrawingSheet(), FOOTPRINT_PREVIEW_PANEL::DisplayFootprint(), CVPCB_MAINFRAME::DisplayStatus(), FIELDS_EDITOR_GRID_TRICKS::doPopupSelection(), FIELDS_GRID_TRICKS::doPopupSelection(), DESIGN_BLOCK_PANE::EditDesignBlockProperties(), KICAD_MANAGER_CONTROL::Execute(), BOARD_EDITOR_CONTROL::ExportCmpFile(), BOARD_EDITOR_CONTROL::ExportNetlist(), SYMBOL_EDITOR_CONTROL::ExportSymbolAsSVG(), SCH_EDITOR_CONTROL::ExportSymbolsToLibrary(), SYMBOL_EDITOR_CONTROL::ExportView(), BACK_ANNOTATE::FetchNetlistFromPCB(), PANEL_SYMBOL_CHOOSER::FinishSetup(), BOARD_EDITOR_CONTROL::GenBOMFileFromBoard(), BOARD_EDITOR_CONTROL::GenD356File(), FIELDS_GRID_TABLE::GetAttr(), DIALOG_TABLE_PROPERTIES::getContextualTextVars(), DIALOG_TABLECELL_PROPERTIES::getContextualTextVars(), DIALOG_TEXT_PROPERTIES::getContextualTextVars(), SIMULATOR_CONTROL::getDefaultFilename(), SIMULATOR_CONTROL::getDefaultPath(), DESIGN_BLOCK_PANE::GetDesignBlock(), EDA_3D_VIEWER_FRAME::getExportFileName(), SCH_BASE_FRAME::GetLibraryItemsForListDialog(), PCB_BASE_FRAME::GetLibraryItemsForListDialog(), DIALOG_SYMBOL_REMAP::getLibsNotInGlobalSymbolLibTable(), SCH_BASE_FRAME::GetLibSymbol(), DIALOG_PLOT_SCHEMATIC::getOutputPath(), KICAD_MANAGER_FRAME::GetProjectFileName(), API_HANDLER_PCB::handleRevertDocument(), HIERARCHY_PANE::HIERARCHY_PANE(), SCH_NAVIGATE_TOOL::HypertextCommand(), SCH_EDITOR_CONTROL::ImportFPAssignments(), PANEL_SETUP_RULES::ImportSettingsFrom(), SCH_DRAWING_TOOLS::ImportSheet(), FIELDS_GRID_TABLE::initGrid(), SIMULATOR_FRAME_UI::InitWorkbook(), PCB_BASE_FRAME::loadFootprint(), CVPCB_MAINFRAME::LoadFootprintFiles(), KICAD_MANAGER_FRAME::LoadProject(), SIMULATOR_FRAME::LoadSettings(), SIMULATOR_FRAME::LoadSimulator(), EDA_BASE_FRAME::LoadWindowState(), SIMULATOR_FRAME_UI::LoadWorkbook(), BOARD_EDITOR_CONTROL::New(), EDA_3D_VIEWER_FRAME::NewDisplay(), PANEL_FP_PROPERTIES_3D_MODEL::On3DModelCellChanged(), PANEL_FP_PROPERTIES_3D_MODEL::OnAdd3DModel(), DIALOG_BOARD_SETUP::onAuxiliaryAction(), DIALOG_GENCAD_EXPORT_OPTIONS::onBrowseClicked(), DIALOG_EXPORT_STEP::onBrowseClicked(), DIALOG_EXPORT_2581::onBrowseClicked(), DIALOG_EXPORT_ODBPP::onBrowseClicked(), DIALOG_IMPORT_NETLIST::onBrowseNetlistFiles(), TEXT_BUTTON_URL::OnButtonClick(), TEXT_BUTTON_FILE_BROWSER::OnButtonClick(), DIALOG_EDIT_SYMBOLS_LIBID::onClickOrphansButton(), PANEL_SETUP_RULES::OnCompile(), 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_PLOT_SCHEMATIC::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(), DIALOG_PAGES_SETTINGS::OnWksFileSelection(), BOARD_EDITOR_CONTROL::Open(), 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(), 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(), KICAD_MANAGER_FRAME::ProjectChanged(), 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(), BOARD_EDITOR_CONTROL::RescueAutosave(), SCH_EDITOR_CONTROL::RescueLegacyProject(), SCH_EDITOR_CONTROL::RescueSymbolLibTableProject(), BOARD_EDITOR_CONTROL::Revert(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), SAVE_SYMBOL_AS_DIALOG::SAVE_SYMBOL_AS_DIALOG(), FOOTPRINT_EDITOR_CONTROL::SaveAs(), KICAD_MANAGER_FRAME::SaveOpenJobSetsToLocalSettings(), DIALOG_BOARD_STATISTICS::saveReportClicked(), EDA_BASE_FRAME::SaveSettings(), SIMULATOR_FRAME::SaveSettings(), SCH_BASE_FRAME::saveSymbolLibTables(), SIMULATOR_CONTROL::SaveWorkbook(), SIMULATOR_FRAME_UI::SaveWorkbook(), SCH_BASE_FRAME::SelectLibrary(), PCB_BASE_FRAME::setFPWatcher(), GERBVIEW_FRAME::SetPageSettings(), SCH_BASE_FRAME::setSymWatcher(), DIALOG_SYMBOL_FIELDS_TABLE::SetupColumnProperties(), SCH_INSPECTION_TOOL::ShowDatasheet(), FOOTPRINT_EDITOR_CONTROL::ShowDatasheet(), BOARD_EDITOR_CONTROL::ShowEeschema(), 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(), 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(), DIALOG_EXPORT_2581::TransferDataToWindow(), DIALOG_PLOT::TransferDataToWindow(), PANEL_SETUP_RULES::TransferDataToWindow(), FOOTPRINT_EDITOR_CONTROL::tryToSaveFootprintInLibrary(), KICAD_MANAGER_FRAME::UnarchiveFiles(), 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_FOOTPRINT_PROPERTIES::~DIALOG_FOOTPRINT_PROPERTIES(), EDA_3D_VIEWER_FRAME::~EDA_3D_VIEWER_FRAME(), and PANEL_FP_PROPERTIES_3D_MODEL::~PANEL_FP_PROPERTIES_3D_MODEL().
|
inherited |
Register a UNIT_BINDER so that it can handle units in control-state save/restore.
aUnitBinder | |
aWindow | the control window |
Definition at line 610 of file dialog_shim.cpp.
References DIALOG_SHIM::m_unitBinders.
|
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 326 of file dialog_shim.cpp.
References SETTINGS_MANAGER::GetCommonSettings(), PGM_BASE::GetSettingsManager(), COMMON_SETTINGS::m_dialogControlValues, DIALOG_SHIM::m_hash_key, and Pgm().
Referenced by DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES(), and DIALOG_PAD_PROPERTIES::updatePadSizeControls().
|
inherited |
Save control values and geometry to the current project's local settings.
Definition at line 403 of file dialog_shim.cpp.
References DIALOG_SHIM::generateKey(), SETTINGS_MANAGER::GetCommonSettings(), PGM_BASE::GetSettingsManager(), COMMON_SETTINGS::m_dialogControlValues, DIALOG_SHIM::m_hash_key, DIALOG_SHIM::m_unitBinders, Pgm(), and PROPERTY_HOLDER::SafeCast().
Referenced by DIALOG_SHIM::Show().
|
inherited |
Definition at line 619 of file dialog_shim.cpp.
References ignore_unused(), DIALOG_SHIM::m_beforeEditValues, minSize, DIALOG_SHIM::onChildSetFocus(), and DIALOG_SHIM::SelectAllInTextCtrls().
Referenced by DIALOG_SHIM::OnPaint(), and DIALOG_SHIM::SelectAllInTextCtrls().
|
inlineinherited |
Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.
Definition at line 75 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_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_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_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(), DIALOG_LABEL_PROPERTIES::onMultiLabelCheck(), 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(), SAVE_SYMBOL_AS_DIALOG::SAVE_SYMBOL_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().
|
inherited |
It is only used for debugging, since "this" is not a wxWindow*.
"this" is a KIWAY_HOLDER mix-in.
aDest | is the recipient of aKiway pointer. |
aKiway | is 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().
|
inherited |
Force the position of the dialog to a new position.
aNewPosition | is the new forced position |
Definition at line 233 of file dialog_shim.cpp.
Referenced by PCB_BASE_FRAME::SelectOneLayer().
|
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 206 of file dialog_shim.cpp.
Referenced by HTML_MESSAGE_BOX::HTML_MESSAGE_BOX(), and HTML_MESSAGE_BOX::SetDialogSizeInDU().
|
inherited |
Definition at line 1105 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_IDF3::DIALOG_EXPORT_IDF3(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), 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_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_JOBSET_RUN_LOG::DIALOG_JOBSET_RUN_LOG(), 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_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_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(), 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().
|
overrideinherited |
Definition at line 239 of file dialog_shim.cpp.
References KIPLATFORM::UI::EnsureVisible(), SETTINGS_MANAGER::GetCommonSettings(), PGM_BASE::GetSettingsManager(), COMMON_SETTINGS::m_dialogControlValues, DIALOG_SHIM::m_hash_key, DIALOG_SHIM::m_initialSize, DIALOG_SHIM::m_useCalculatedSize, DIALOG_SHIM::m_userPositioned, DIALOG_SHIM::m_userResized, Pgm(), and DIALOG_SHIM::SaveControlState().
Referenced by FOOTPRINT_EDITOR_CONTROL::CheckFootprint(), ARRAY_TOOL::CreateArray(), FOOTPRINT_EDITOR_CONTROL::CrossProbe(), SCH_INSPECTION_TOOL::CrossProbe(), BOARD_INSPECTION_TOOL::DiffFootprint(), SCH_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(), SCH_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(), SCH_GROUP_TOOL::PickNewMember(), PCB_GROUP_TOOL::PickNewMember(), HOTKEY_CYCLE_POPUP::Popup(), POSITION_RELATIVE_TOOL::PositionRelative(), SCH_INSPECTION_TOOL::PrevMarker(), DRC_TOOL::PrevMarker(), CVPCB_MAINFRAME::readNetListAndFpFiles(), DIALOG_PAD_PROPERTIES::Show(), EDA_VIEW_SWITCHER::Show(), EDA_LIST_DIALOG::Show(), DIALOG_FIND::Show(), SCH_INSPECTION_TOOL::ShowBusSyntaxHelp(), DRC_TOOL::ShowDRCDialog(), SCH_INSPECTION_TOOL::ShowERCDialog(), SCH_BASE_FRAME::ShowFindReplaceDialog(), GENERATOR_TOOL::ShowGeneratorsManager(), HTML_MESSAGE_BOX::ShowModeless(), DIALOG_SHIM::ShowQuasiModal(), DIALOG_CREATE_ARRAY::UpdatePickedItem(), UpdatePickedItem(), DIALOG_CREATE_ARRAY::UpdatePickedPoint(), and UpdatePickedPoint().
|
overrideinherited |
Definition at line 723 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(), 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(), 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(), 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(), 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(), KICAD_MANAGER_CONTROL::NewFromTemplate(), 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_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(), PROJECT_TREE_PANE::onGitCommit(), PROJECT_TREE_PANE::onGitInitializeProject(), PROJECT_TREE_PANE::onGitSwitchBranch(), LIB_TREE::onHeaderContextMenu(), PROPERTIES_FRAME::onHelp(), PANEL_DESTINATION::OnLastStatusClick(), APPEARANCE_CONTROLS_3D::onLayerPresetChanged(), APPEARANCE_CONTROLS::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_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_JOBSET::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(), SCH_EDITOR_CONTROL::Print(), 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(), PCB_EDIT_FRAME::SaveBoardAsDesignBlock(), FOOTPRINT_EDIT_FRAME::SaveFootprintAs(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), PCB_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(), SCH_BASE_FRAME::SelectLibrary(), PCB_BASE_EDIT_FRAME::SelectLibrary(), 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(), 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(), 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().
|
inherited |
Definition at line 758 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::createNewLabel(), 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(), FOOTPRINT_EDIT_FRAME::editFootprintProperties(), 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(), 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(), DRAWING_TOOL::PlaceText(), BOARD_EDITOR_CONTROL::Plot(), SCH_EDIT_TOOL::Properties(), 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().
|
inlineprotectedvirtualinherited |
Override this method to perform dialog tear down actions not suitable for object dtor.
Definition at line 208 of file dialog_shim.h.
Referenced by DIALOG_SHIM::EndQuasiModal().
|
private |
Convert a given Cartesian point into a polar representation.
Linear units are not considered, the answer is in the same units as given.
Definition at line 71 of file dialog_position_relative.cpp.
References ANGLE_0.
Referenced by OnClear(), and OnPolarChanged().
|
private |
Definition at line 237 of file dialog_position_relative.cpp.
References _, ANCHOR_GRID_ORIGIN, ANCHOR_ITEM, ANCHOR_POINT, ANCHOR_USER_ORIGIN, EDA_ITEM::GetItemDescription(), DIALOG_SHIM::GetUserUnits(), m_anchorItemPosition, DIALOG_SHIM::m_parentFrame, DIALOG_POSITION_RELATIVE_BASE::m_referenceInfo, UNITS_PROVIDER::MessageTextFromValue(), pcbIUScale, s_anchorType, VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by OnUseGridOriginClick(), OnUseUserOriginClick(), UpdatePickedItem(), and UpdatePickedPoint().
|
private |
Definition at line 151 of file dialog_position_relative.cpp.
References _, DIALOG_SHIM::GetUserUnits(), DIALOG_POSITION_RELATIVE_BASE::m_clearX, DIALOG_POSITION_RELATIVE_BASE::m_clearY, m_xOffset, m_yOffset, UNIT_BINDER::SetLabel(), and UNIT_BINDER::SetUnits().
Referenced by DIALOG_POSITION_RELATIVE(), and OnPolarChanged().
|
overridevirtual |
Implements PCB_PICKER_TOOL::RECEIVER.
Definition at line 304 of file dialog_position_relative.cpp.
References ANCHOR_ITEM, EDA_ITEM::GetPosition(), KIGFX::VIEW_ITEM::IsBOARD_ITEM(), m_anchorItemPosition, s_anchorType, DIALOG_SHIM::Show(), and updateAnchorInfo().
|
overridevirtual |
Implements PCB_PICKER_TOOL::RECEIVER.
Definition at line 321 of file dialog_position_relative.cpp.
References ANCHOR_POINT, m_anchorItemPosition, s_anchorType, DIALOG_SHIM::Show(), and updateAnchorInfo().
|
protectedinherited |
Convert an integer number of dialog units to pixels, vertically.
See SetSizeInDU or wxDialog documentation for more information.
Definition at line 220 of file dialog_shim.cpp.
Referenced by DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE().
|
private |
Definition at line 102 of file dialog_position_relative.h.
Referenced by getAnchorPos(), updateAnchorInfo(), UpdatePickedItem(), and UpdatePickedPoint().
|
protectedinherited |
Definition at line 264 of file dialog_shim.h.
Referenced by DIALOG_SHIM::OnCharHook(), DIALOG_SHIM::onChildSetFocus(), and DIALOG_SHIM::SelectAllInTextCtrls().
|
protectedinherited |
Definition at line 49 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE(), OnClear(), updateDialogControls(), and DIALOG_POSITION_RELATIVE_BASE::~DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 53 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE(), OnClear(), updateDialogControls(), and DIALOG_POSITION_RELATIVE_BASE::~DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 245 of file dialog_shim.h.
Referenced by DIALOG_SHIM::OnPaint().
|
protectedinherited |
Definition at line 42 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE(), and DIALOG_POSITION_RELATIVE_BASE::~DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 236 of file dialog_shim.h.
Referenced by CONVERT_SETTINGS_DIALOG::CONVERT_SETTINGS_DIALOG(), DIALOG_CHANGE_SYMBOLS::DIALOG_CHANGE_SYMBOLS(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GENCAD_EXPORT_OPTIONS::DIALOG_GENCAD_EXPORT_OPTIONS(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES(), DIALOG_PLOT::DIALOG_PLOT(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), EDA_LIST_DIALOG::EDA_LIST_DIALOG(), EDA_REORDERABLE_LIST_DIALOG::EDA_REORDERABLE_LIST_DIALOG(), DIALOG_SHIM::LoadControlState(), PAGED_DIALOG::PAGED_DIALOG(), DIALOG_SHIM::resetSize(), DIALOG_SHIM::SaveControlState(), DIALOG_SHIM::Show(), 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().
|
protectedinherited |
Definition at line 246 of file dialog_shim.h.
Referenced by NETLIST_DIALOG_ADD_GENERATOR::NETLIST_DIALOG_ADD_GENERATOR(), and DIALOG_SHIM::OnPaint().
|
protectedinherited |
Definition at line 259 of file dialog_shim.h.
Referenced by DIALOG_SHIM::Show().
|
protectedinherited |
Definition at line 247 of file dialog_shim.h.
Referenced by DIALOG_SHIM::onChildSetFocus(), and DIALOG_SHIM::~DIALOG_SHIM().
|
privateinherited |
Definition at line 86 of file kiway_holder.h.
Referenced by KIWAY_HOLDER::SetKiway().
|
protectedinherited |
Definition at line 254 of file dialog_shim.h.
Referenced by DIALOG_SHIM::OnCharHook(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_PAGES_SETTINGS::OnWksFileSelection(), DIALOG_PAD_PROPERTIES::padValuesOK(), DIALOG_LABEL_PROPERTIES::TransferDataFromWindow(), DIALOG_ANNOTATE::TransferDataToWindow(), updateAnchorInfo(), and DIALOG_ANNOTATE::~DIALOG_ANNOTATE().
|
protectedinherited |
Definition at line 54 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE(), DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE(), OnClear(), OnOkClick(), OnPolarChanged(), and DIALOG_POSITION_RELATIVE_BASE::~DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 249 of file dialog_shim.h.
Referenced by DIALOG_SHIM::EndQuasiModal(), and DIALOG_SHIM::ShowQuasiModal().
|
protectedinherited |
Definition at line 252 of file dialog_shim.h.
Referenced by DIALOG_SHIM::CleanupAfterModalSubDialog(), DIALOG_SHIM::EndQuasiModal(), DIALOG_SHIM::PrepareForModalSubDialog(), DIALOG_SHIM::ShowQuasiModal(), and DIALOG_SHIM::~DIALOG_SHIM().
|
protectedinherited |
Definition at line 251 of file dialog_shim.h.
Referenced by DIALOG_SHIM::ShowQuasiModal().
|
protectedinherited |
Definition at line 40 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE(), and updateAnchorInfo().
|
protectedinherited |
Definition at line 43 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE(), and DIALOG_POSITION_RELATIVE_BASE::~DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 44 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE(), and DIALOG_POSITION_RELATIVE_BASE::~DIALOG_POSITION_RELATIVE_BASE().
|
private |
Definition at line 109 of file dialog_position_relative.h.
Referenced by OnClear(), and OnPolarChanged().
|
private |
Definition at line 110 of file dialog_position_relative.h.
Referenced by OnClear(), and OnPolarChanged().
|
private |
Definition at line 107 of file dialog_position_relative.h.
Referenced by OnClear(), and OnPolarChanged().
|
private |
Definition at line 108 of file dialog_position_relative.h.
Referenced by OnClear(), and OnPolarChanged().
|
protectedinherited |
Definition at line 45 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 55 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 57 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE(), and DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 56 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE(), DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE(), and DIALOG_POSITION_RELATIVE_BASE::~DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 256 of file dialog_shim.h.
Referenced by DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_POSITION_RELATIVE(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), and DIALOG_SHIM::OnCharHook().
|
private |
Definition at line 101 of file dialog_position_relative.h.
Referenced by getAnchorPos(), OnClear(), OnOkClick(), OnSelectItemClick(), and OnSelectPointClick().
|
privateinherited |
Definition at line 87 of file kiway_holder.h.
|
protectedinherited |
Definition at line 265 of file dialog_shim.h.
Referenced by DIALOG_SHIM::LoadControlState(), DIALOG_SHIM::RegisterUnitBinder(), and DIALOG_SHIM::SaveControlState().
|
protectedinherited |
Definition at line 235 of file dialog_shim.h.
Referenced by DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GEN_FOOTPRINT_POSITION::onGenerate(), and DIALOG_GENERATORS::onUnitsChanged().
|
protectedinherited |
Definition at line 240 of file dialog_shim.h.
Referenced by DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES(), PCB_ONE_LAYER_SELECTOR::PCB_ONE_LAYER_SELECTOR(), and DIALOG_SHIM::Show().
|
protectedinherited |
Definition at line 41 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE(), and DIALOG_POSITION_RELATIVE_BASE::~DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 260 of file dialog_shim.h.
Referenced by DIALOG_SHIM::OnMove(), and DIALOG_SHIM::Show().
|
protectedinherited |
Definition at line 261 of file dialog_shim.h.
Referenced by DIALOG_SHIM::OnSize(), and DIALOG_SHIM::Show().
|
protectedinherited |
Definition at line 47 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE(), DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE(), and DIALOG_POSITION_RELATIVE_BASE::~DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 46 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE().
|
private |
Definition at line 104 of file dialog_position_relative.h.
Referenced by DIALOG_POSITION_RELATIVE(), getTranslationInIU(), OnClear(), OnPolarChanged(), and updateDialogControls().
|
protectedinherited |
Definition at line 48 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 51 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE(), DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE(), and DIALOG_POSITION_RELATIVE_BASE::~DIALOG_POSITION_RELATIVE_BASE().
|
protectedinherited |
Definition at line 50 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE().
|
private |
Definition at line 105 of file dialog_position_relative.h.
Referenced by DIALOG_POSITION_RELATIVE(), getTranslationInIU(), OnClear(), OnPolarChanged(), and updateDialogControls().
|
protectedinherited |
Definition at line 52 of file dialog_position_relative_base.h.
Referenced by DIALOG_POSITION_RELATIVE_BASE::DIALOG_POSITION_RELATIVE_BASE().
|
staticprivate |
Definition at line 98 of file dialog_position_relative.h.
Referenced by getAnchorPos(), OnUseGridOriginClick(), OnUseUserOriginClick(), updateAnchorInfo(), UpdatePickedItem(), and UpdatePickedPoint().