|
KiCad PCB EDA Suite
|
File-compare dialog (Phase 7). More...
#include <dialog_kicad_diff.h>
Public Types | |
| using | SHEET_SWITCHER = std::function<void( WIDGET_DIFF_CANVAS&, const KIID_PATH& )> |
| using | REVISION_HANDLER = std::function<void( int aIndex )> |
| using | CHANGE_SELECTED_FN = std::function<void( const KIID_PATH& )> |
| enum | HOLDER_TYPE { DIALOG , FRAME , PANEL } |
Public Member Functions | |
| DIALOG_KICAD_DIFF (wxWindow *aParent, const wxString &aReferencePath, const wxString &aComparisonPath, const KICAD_DIFF::DOCUMENT_DIFF &aDiff, KICAD_DIFF::DOCUMENT_GEOMETRY aReferenceGeometry={}, KICAD_DIFF::DOCUMENT_GEOMETRY aComparisonGeometry={}, SHEET_SWITCHER aSheetSwitcher={}, KIID_PATH aInitialSheet={}) | |
| ~DIALOG_KICAD_DIFF () override=default | |
| void | SwitchCanvasToSheet (const KIID_PATH &aSheetPath) |
| const KIID_PATH & | CurrentCanvasSheet () const |
| WIDGET_DIFF_CANVAS * | DiffCanvas () const |
| void | Reload (const wxString &aReferencePath, const wxString &aComparisonPath, KICAD_DIFF::DOCUMENT_DIFF aDiff, KICAD_DIFF::DOCUMENT_GEOMETRY aReferenceGeometry, KICAD_DIFF::DOCUMENT_GEOMETRY aComparisonGeometry, SHEET_SWITCHER aSheetSwitcher, KIID_PATH aInitialSheet) |
| Swap in a fresh diff with new schematics. | |
| void | SetRevisionChooser (const std::vector< wxString > &aLabels, int aSelected, REVISION_HANDLER aOnChange) |
| Add a revision dropdown (with prev/next) at the top. | |
| void | SetChangeSelectedHandler (CHANGE_SELECTED_FN aFn) |
| void | m_splitterOnIdle (wxIdleEvent &) |
| 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 | ExcludeFromControlUndoRedo (wxWindow *aWindow) |
| Opt a control out of the dialog's generic Ctrl+Z/Ctrl+Y undo/redo. | |
| void | RegisterUnitBinder (UNIT_BINDER *aUnitBinder, wxWindow *aWindow) |
| Register a UNIT_BINDER so that it can handle units in control-state save/restore. | |
| void | UnregisterUnitBinder (UNIT_BINDER *aUnitBinder) |
| Remove a UNIT_BINDER from the control-state save/restore map. | |
| 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) |
Public Attributes | |
| wxStdDialogButtonSizer * | m_sdbSizer |
| wxButton * | m_sdbSizerOK |
Protected Member Functions | |
| void | OnClose (wxCloseEvent &aEvent) override |
| void | OnTreeSelectionChanged (wxTreeEvent &aEvent) override |
| void | OnTreeItemMenu (wxTreeEvent &aEvent) |
| void | OnOK (wxCommandEvent &aEvent) override |
| 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. | |
| void | resetUndoRedoForNewContent (wxWindowList &aChildren) |
| Reset undo/redo tracking after dynamically replacing child panels. | |
| void | unregisterUnitBinders (wxWindow *aWindow) |
| Remove UNIT_BINDER registrations for a window and all its descendants. | |
Private Member Functions | |
| void | buildTree () |
| Populate the tree from m_diff. Groups by CHANGE_KIND. | |
| void | showChange (const KICAD_DIFF::ITEM_CHANGE *aChange) |
| Populate the property list for the change associated with the selected tree node, or clear the list if no change is selected (e.g. | |
| bool | selectChangeById (const KIID_PATH &aChangeId) |
| Select the tree row whose change has the given KIID_PATH. | |
| void | applyHiddenToTree () |
| Grey out tree rows whose change is in m_hiddenChanges, restore the rest. | |
| std::vector< KIID_PATH > | changeRowIds (const KICAD_DIFF::ITEM_CHANGE &aChange) const |
| Change ids a tree row stands for. | |
| 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) |
| void | focusParentCanvas () |
| Set focus back to the parent frame's tool canvas if available, otherwise to the parent window. | |
| std::string | generateKey (const wxWindow *aWin) const |
| void | registerUndoRedoHandlers (wxWindowList &aChildren) |
| void | recordControlChange (wxWindow *aCtrl) |
| void | onCommandEvent (wxCommandEvent &aEvent) |
| void | onSpinEvent (wxSpinEvent &aEvent) |
| void | onSpinDoubleEvent (wxSpinDoubleEvent &aEvent) |
| void | onStyledTextChanged (wxStyledTextEvent &aEvent) |
| void | onGridCellChanged (wxGridEvent &aEvent) |
| void | onPropertyGridChanged (wxPropertyGridEvent &aEvent) |
| void | onDataViewListChanged (wxDataViewEvent &aEvent) |
| void | doUndo () |
| void | doRedo () |
| wxVariant | getControlValue (wxWindow *aCtrl) |
| void | setControlValue (wxWindow *aCtrl, const wxVariant &aValue) |
| DECLARE_EVENT_TABLE () | |
Private Attributes | |
| KICAD_DIFF::DOCUMENT_DIFF | m_diff |
| std::set< KIID_PATH > | m_hiddenChanges |
| Changes the user has muted via the tree's right-click menu. | |
| REVISION_HANDLER | m_revisionHandler |
| wxChoice * | m_revisionChoice = nullptr |
| std::map< wxUIntPtr, const KICAD_DIFF::ITEM_CHANGE * > | m_changeByTreeId |
| Maps tree item IDs to the underlying change record so selection can find the data without walking the diff again. | |
| wxString | m_searchFilter |
| Lowercased free-text filter applied to typeName / refdes. | |
| WIDGET_DIFF_CANVAS * | m_canvas = nullptr |
| GAL-backed canvas showing the DIFF_SCENE shape rectangles. | |
| bool | m_suppressCenter = false |
| True while a canvas click is propagating into the tree, so the tree- selection handler skips re-centering on a shape that is already under the cursor. | |
| SHEET_SWITCHER | m_sheetSwitcher |
| KIID_PATH | m_currentCanvasSheet |
| CHANGE_SELECTED_FN | m_changeSelectedFn |
| KIWAY * | m_kiway |
| HOLDER_TYPE | m_type |
File-compare dialog (Phase 7).
Shows a DOCUMENT_DIFF as a hierarchical tree of changes on the left and the property delta list for the selected change on the right. The change geometry renders on a GAL-backed WIDGET_DIFF_CANVAS that cross-probes with the tree through OnTreeSelectionChanged and the canvas's pick handler.
The dialog is constructed with a pre-computed DOCUMENT_DIFF; the caller is responsible for running the appropriate differ.
Definition at line 49 of file dialog_kicad_diff.h.
| using DIALOG_KICAD_DIFF::CHANGE_SELECTED_FN = std::function<void( const KIID_PATH& )> |
Definition at line 78 of file dialog_kicad_diff.h.
| using DIALOG_KICAD_DIFF::REVISION_HANDLER = std::function<void( int aIndex )> |
Definition at line 71 of file dialog_kicad_diff.h.
| using DIALOG_KICAD_DIFF::SHEET_SWITCHER = std::function<void( WIDGET_DIFF_CANVAS&, const KIID_PATH& )> |
Definition at line 52 of file dialog_kicad_diff.h.
|
inherited |
| Enumerator | |
|---|---|
| DIALOG | |
| FRAME | |
| PANEL | |
Definition at line 37 of file kiway_holder.h.
| DIALOG_KICAD_DIFF::DIALOG_KICAD_DIFF | ( | wxWindow * | aParent, |
| const wxString & | aReferencePath, | ||
| const wxString & | aComparisonPath, | ||
| const KICAD_DIFF::DOCUMENT_DIFF & | aDiff, | ||
| KICAD_DIFF::DOCUMENT_GEOMETRY | aReferenceGeometry = {}, | ||
| KICAD_DIFF::DOCUMENT_GEOMETRY | aComparisonGeometry = {}, | ||
| SHEET_SWITCHER | aSheetSwitcher = {}, | ||
| KIID_PATH | aInitialSheet = {} ) |
Definition at line 44 of file dialog_kicad_diff.cpp.
References _, KICAD_DIFF::BuildScene(), buildTree(), KICAD_DIFF::DIFF_SCENE::comparisonGeometry, DIALOG_KICAD_DIFF_BASE::DIALOG_KICAD_DIFF_BASE(), KICAD_DIFF::ExpandBBoxToGeometry(), KICAD_DIFF::GeometryLayerSet(), LayerName(), m_canvas, m_currentCanvasSheet, m_diff, DIALOG_KICAD_DIFF_BASE::m_labelSummary, DIALOG_KICAD_DIFF_BASE::m_listProperties, DIALOG_KICAD_DIFF_BASE::m_panelDetail, DIALOG_KICAD_DIFF_BASE::m_panelTree, DIALOG_KICAD_DIFF_BASE::m_pathComparison, DIALOG_KICAD_DIFF_BASE::m_pathReference, m_searchFilter, m_sheetSwitcher, m_suppressCenter, DIALOG_KICAD_DIFF_BASE::m_treeChanges, move, OnTreeItemMenu(), KICAD_DIFF::DIFF_SCENE::referenceGeometry, selectChangeById(), showChange(), and LSET::UIOrder().
|
overridedefault |
|
private |
Grey out tree rows whose change is in m_hiddenChanges, restore the rest.
Definition at line 385 of file dialog_kicad_diff.cpp.
References m_changeByTreeId, m_hiddenChanges, DIALOG_KICAD_DIFF_BASE::m_treeChanges, and normal.
Referenced by buildTree(), and OnTreeItemMenu().
|
private |
Populate the tree from m_diff. Groups by CHANGE_KIND.
Definition at line 252 of file dialog_kicad_diff.cpp.
References applyHiddenToTree(), KICAD_DIFF::BuildChangeTreeGroups(), KICAD_DIFF::CATEGORY_COUNT, KICAD_DIFF::CHANGE_TREE_ENTRY::change, group, KICAD_DIFF::CHANGE_TREE_ENTRY::itemLabel, m_canvas, m_changeByTreeId, m_diff, m_searchFilter, DIALOG_KICAD_DIFF_BASE::m_treeChanges, selectChangeById(), and showChange().
Referenced by DIALOG_KICAD_DIFF(), and Reload().
|
private |
Change ids a tree row stands for.
A routing net row collapses every segment of the net, so hiding it must hide them all.
Definition at line 359 of file dialog_kicad_diff.cpp.
References KICAD_DIFF::ITEM_CHANGE::id, KICAD_DIFF::IsRoutingNetChange(), KICAD_DIFF::ITEM_CHANGE::kind, m_diff, and KICAD_DIFF::ITEM_CHANGE::refdes.
Referenced by OnTreeItemMenu().
|
inherited |
Definition at line 1463 of file dialog_shim.cpp.
References m_qmodal_parent_disabler.
|
inherited |
Definition at line 1369 of file dialog_shim.cpp.
Referenced by DIALOG_SYMBOL_FIELDS_TABLE::OnSaveAndContinue(), and DIALOG_LIB_FIELDS_TABLE::TransferDataFromWindow().
|
inline |
Definition at line 62 of file dialog_kicad_diff.h.
References m_currentCanvasSheet.
|
privateinherited |
|
inline |
Definition at line 63 of file dialog_kicad_diff.h.
References m_canvas.
Referenced by SYMBOL_EDITOR_CONTROL::CompareLibraryWithFile(), and SCH_INSPECTION_TOOL::showSchematicComparison().
|
privateinherited |
Definition at line 1326 of file dialog_shim.cpp.
References DIALOG_SHIM::UNDO_STEP::after, DIALOG_SHIM::UNDO_STEP::ctrl, m_currentValues, m_handlingUndoRedo, m_redoStack, m_undoStack, and setControlValue().
Referenced by OnCharHook().
|
privateinherited |
Definition at line 1311 of file dialog_shim.cpp.
References DIALOG_SHIM::UNDO_STEP::before, DIALOG_SHIM::UNDO_STEP::ctrl, m_currentValues, m_handlingUndoRedo, m_redoStack, m_undoStack, and setControlValue().
Referenced by OnCharHook().
|
overrideinherited |
Definition at line 525 of file dialog_shim.cpp.
Referenced by DIALOG_CREATE_ARRAY::UpdatePickedItem(), and DIALOG_CREATE_ARRAY::UpdatePickedPoint().
|
inherited |
Definition at line 1470 of file dialog_shim.cpp.
References IsQuasiModal(), m_qmodal_loop, m_qmodal_parent_disabler, Show(), and TearDownQuasiModal().
Referenced by EDA_3D_CONTROLLER::Main(), DIALOG_EXPORT_NETLIST::OnAddGenerator(), OnButton(), DIALOG_EDIT_SYMBOLS_LIBID::onCancel(), DIALOG_LIB_SYMBOL_PROPERTIES::OnCancelButtonClick(), DIALOG_SYMBOL_PROPERTIES::OnCancelButtonClick(), DIALOG_LIB_EDIT_PIN_TABLE::OnClose(), 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().
|
inherited |
Opt a control out of the dialog's generic Ctrl+Z/Ctrl+Y undo/redo.
The generic handler snapshots a control's value and restores it by position. That is wrong for grids whose rows can be regrouped, sorted, or reordered while the dialog is open (and which manage their own undo), so such controls must opt out.
Definition at line 859 of file dialog_shim.cpp.
References m_noControlUndoRedo.
Referenced by DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE().
|
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 306 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_BOARD_STATS_JOB::DIALOG_BOARD_STATS_JOB(), 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_CREATE_NET_CHAIN::DIALOG_CREATE_NET_CHAIN(), DIALOG_DATABASE_LIB_SETTINGS::DIALOG_DATABASE_LIB_SETTINGS(), DIALOG_DIMENSION_PROPERTIES::DIALOG_DIMENSION_PROPERTIES(), DIALOG_DRAW_LAYERS_SETTINGS::DIALOG_DRAW_LAYERS_SETTINGS(), DIALOG_DRC::DIALOG_DRC(), DIALOG_EDIT_SYMBOLS_LIBID::DIALOG_EDIT_SYMBOLS_LIBID(), DIALOG_ENUM_PADS::DIALOG_ENUM_PADS(), DIALOG_ERC::DIALOG_ERC(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_EXECUTECOMMAND_JOB_SETTINGS::DIALOG_EXECUTECOMMAND_JOB_SETTINGS(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_IDF3::DIALOG_EXPORT_IDF3(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_EXPORT_VRML::DIALOG_EXPORT_VRML(), DIALOG_FOOTPRINT_CHECKER::DIALOG_FOOTPRINT_CHECKER(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_FP_EDIT_PAD_TABLE::DIALOG_FP_EDIT_PAD_TABLE(), DIALOG_GENCAD_EXPORT_OPTIONS::DIALOG_GENCAD_EXPORT_OPTIONS(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GIT_REPOSITORY::DIALOG_GIT_REPOSITORY(), DIALOG_GIT_SWITCH::DIALOG_GIT_SWITCH(), DIALOG_GLOBAL_EDIT_TEARDROPS::DIALOG_GLOBAL_EDIT_TEARDROPS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS(), DIALOG_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_IMPORT_SYMBOL_SELECT::DIALOG_IMPORT_SYMBOL_SELECT(), 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_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), DIALOG_LIB_NEW_SYMBOL::DIALOG_LIB_NEW_SYMBOL(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_LIST_HOTKEYS::DIALOG_LIST_HOTKEYS(), DIALOG_MANAGE_REPOSITORIES::DIALOG_MANAGE_REPOSITORIES(), DIALOG_MAP_LAYERS::DIALOG_MAP_LAYERS(), DIALOG_MIGRATE_3D_MODELS::DIALOG_MIGRATE_3D_MODELS(), 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_OFFSET_ITEM::DIALOG_OFFSET_ITEM(), DIALOG_OUTSET_ITEMS::DIALOG_OUTSET_ITEMS(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PASTE_SPECIAL::DIALOG_PASTE_SPECIAL(), DIALOG_PCM::DIALOG_PCM(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_PNS_SETTINGS::DIALOG_PNS_SETTINGS(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_PRINT::DIALOG_PRINT(), DIALOG_PRINT_GENERIC::DIALOG_PRINT_GENERIC(), DIALOG_PRINT_PCBNEW::DIALOG_PRINT_PCBNEW(), DIALOG_PUSH_PAD_PROPERTIES::DIALOG_PUSH_PAD_PROPERTIES(), DIALOG_REFERENCE_IMAGE_PROPERTIES::DIALOG_REFERENCE_IMAGE_PROPERTIES(), DIALOG_REGULATOR_FORM::DIALOG_REGULATOR_FORM(), DIALOG_REMOTE_SYMBOL_CONFIG::DIALOG_REMOTE_SYMBOL_CONFIG(), DIALOG_RESOLVE_FIELD_CASE_CONFLICTS::DIALOG_RESOLVE_FIELD_CASE_CONFLICTS(), 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_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SHEET_PROPERTIES::DIALOG_SHEET_PROPERTIES(), DIALOG_SWAP_LAYERS::DIALOG_SWAP_LAYERS(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_SYMBOL_PROPERTIES::DIALOG_SYMBOL_PROPERTIES(), DIALOG_SYNC_SHEET_PINS::DIALOG_SYNC_SHEET_PINS(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEMPLATE_SELECTOR::DIALOG_TEMPLATE_SELECTOR(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), DIALOG_TRACK_VIA_SIZE::DIALOG_TRACK_VIA_SIZE(), DIALOG_UNUSED_PAD_LAYERS::DIALOG_UNUSED_PAD_LAYERS(), DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), DIALOG_UPDATE_SYMBOL_FIELDS::DIALOG_UPDATE_SYMBOL_FIELDS(), DIALOG_USER_DEFINED_SIGNALS::DIALOG_USER_DEFINED_SIGNALS(), DIALOG_WIRE_BUS_PROPERTIES::DIALOG_WIRE_BUS_PROPERTIES(), RULE_EDITOR_DIALOG_BASE::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_BARCODE_PROPERTIES::TransferDataToWindow(), DIALOG_BOARD_STATISTICS::TransferDataToWindow(), DIALOG_COLOR_PICKER::TransferDataToWindow(), DIALOG_FOOTPRINT_ASSOCIATIONS::TransferDataToWindow(), DIALOG_PIN_PROPERTIES::TransferDataToWindow(), DIALOG_TRACK_VIA_PROPERTIES::TransferDataToWindow(), WX_MULTI_ENTRY_DIALOG::WX_MULTI_ENTRY_DIALOG(), and WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG().
|
privateinherited |
Set focus back to the parent frame's tool canvas if available, otherwise to the parent window.
Prevents focus from landing on auxiliary panels like the properties panel when the mouse happens to hover over them at dialog close time.
Definition at line 350 of file dialog_shim.cpp.
References m_parentFrame.
Referenced by Show(), and ShowQuasiModal().
|
privateinherited |
Definition at line 532 of file dialog_shim.cpp.
References index, and makeKey().
Referenced by LoadControlState(), and SaveControlState().
|
privateinherited |
Definition at line 1114 of file dialog_shim.cpp.
Referenced by recordControlChange(), and registerUndoRedoHandlers().
|
inlineinherited |
Definition at line 44 of file kiway_holder.h.
References m_type.
Referenced by DIALOG_SHIM::DIALOG_SHIM(), EDA_3D_CONTROLLER::Main(), and PANEL_PREVIEW_3D_MODEL::onModify().
|
inlineinherited |
Definition at line 115 of file dialog_shim.h.
References m_units.
Referenced by DIALOG_FP_EDIT_PAD_TABLE::DIALOG_FP_EDIT_PAD_TABLE(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_DRC::OnSaveReport(), DIALOG_POSITION_RELATIVE::updateAnchorInfo(), DIALOG_MOVE_EXACT::updateDialogControls(), DIALOG_OFFSET_ITEM::updateDialogControls(), and DIALOG_POSITION_RELATIVE::updateDialogControls().
|
inlineinherited |
Safety check before asking for the Kiway reference.
Definition at line 61 of file kiway_holder.h.
References m_kiway.
Referenced by DIALOG_SHIM::DIALOG_SHIM(), and 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 324 of file dialog_shim.cpp.
Referenced by DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), and DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE().
|
inlinestaticinherited |
Definition at line 124 of file dialog_shim.h.
|
inlineinherited |
Definition at line 90 of file dialog_shim.h.
References m_qmodal_showing.
Referenced by EndQuasiModal(), EDA_3D_CONTROLLER::Main(), DIALOG_EXPORT_NETLIST::OnAddGenerator(), OnButton(), DIALOG_EDIT_SYMBOLS_LIBID::onCancel(), DIALOG_BOOK_REPORTER::OnClose(), DIALOG_LIB_EDIT_PIN_TABLE::OnClose(), DIALOG_ERC::OnCloseErcDialog(), OnCloseWindow(), DIALOG_EXPORT_NETLIST::OnDelGenerator(), PCB_ONE_LAYER_SELECTOR::OnLeftGridCellClick(), PCB_ONE_LAYER_SELECTOR::OnRightGridCellClick(), DIALOG_PUSH_PAD_PROPERTIES::PadPropertiesAccept(), and ~DIALOG_SHIM().
|
inlinestaticinherited |
Definition at line 130 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 51 of file kiway_holder.h.
References m_kiway.
Referenced by PROJECT_TREE_ITEM::Activate(), FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), IMPORT_PROJ_HELPER::addLocalLibraries(), SYMBOL_EDITOR_CONTROL::AddSymbolToSchematic(), CVPCB_MAINFRAME::BuildLibrariesList(), EDA_BASE_FRAME::CheckForAutosaveFiles(), KICAD_MANAGER_FRAME::CloseProject(), EDA_BASE_FRAME::CommonSettingsChanged(), SCH_INSPECTION_TOOL::CompareSchematicWithHistory(), KIWAY_PLAYER::Destroy(), DIALOG_IMPORT_SYMBOL_SELECT::DIALOG_IMPORT_SYMBOL_SELECT(), DIALOG_LIST_HOTKEYS::DIALOG_LIST_HOTKEYS(), DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH(), DIALOG_SHIM::DIALOG_SHIM(), EDA_BASE_FRAME::doAutoSave(), KICAD_MANAGER_FRAME::doReCreateMenuBar(), BOARD_EDITOR_CONTROL::EditFpInFpEditor(), SCH_EDITOR_CONTROL::EditWithSymbolEditor(), DIALOG_CHANGE_SYMBOLS::launchMatchIdSymbolBrowser(), DIALOG_CHANGE_SYMBOLS::launchNewIdSymbolBrowser(), KICAD_MANAGER_FRAME::LoadProject(), PGM_SINGLE_TOP::MacOpenFile(), SIMULATOR_FRAME::onExit(), KICAD_MANAGER_FRAME::OnIdle(), EDA_BASE_FRAME::OnLanguageSelectionEvent(), EDA_3D_CANVAS::OnLeftDown(), KIGFX::WX_VIEW_CONTROLS::onMotion(), DIALOG_SYMBOL_REMAP::OnRemapSymbols(), DIALOG_FIELD_PROPERTIES::OnTextValueSelectButtonClick(), DIALOG_GIT_MR_REVIEW::openFileDiff(), PCB_DESIGN_BLOCK_PREVIEW_WIDGET::PCB_DESIGN_BLOCK_PREVIEW_WIDGET(), KICAD_MANAGER_FRAME::PreloadAllLibraries(), Prj(), KICAD_MANAGER_FRAME::ProjectChanged(), KICAD_MANAGER_FRAME::RestoreCommitFromHistory(), KICAD_MANAGER_FRAME::RestoreLocalHistory(), MERGETOOL_FRAME::RunMerge(), SCH_INSPECTION_TOOL::RunSimulation(), CVPCB_MAINFRAME::SaveFootprintAssociation(), CVPCB_MAINFRAME::SendComponentSelectionToSch(), BOARD_EDITOR_CONTROL::ShowEeschema(), CVPCB_CONTROL::ShowFootprintViewer(), showFrame(), EDA_BASE_FRAME::ShowPreferences(), SCH_EDITOR_CONTROL::SimProbe(), SCH_EDITOR_CONTROL::SimTune(), KICAD_MANAGER_FRAME::UnarchiveFiles(), DIALOG_EXCHANGE_FOOTPRINTS::ViewAndSelectFootprint(), and DIALOG_SHIM::~DIALOG_SHIM().
|
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 685 of file dialog_shim.cpp.
References COMMON_SETTINGS::CsInternals(), generateKey(), PGM_BASE::GetCommonSettings(), getDialogKeyFromTitle(), grid, index, COMMON_SETTINGS_INTERNALS::m_dialogControlValues, m_hash_key, m_unitBinders, Pgm(), and PROPERTY_HOLDER::SafeCast().
Referenced by onInitDialog().
|
inlineinherited |
Definition at line 65 of file dialog_kicad_diff_base.h.
References m_splitter, and m_splitterOnIdle().
Referenced by DIALOG_KICAD_DIFF_BASE(), and m_splitterOnIdle().
|
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 1538 of file dialog_shim.cpp.
References EndQuasiModal(), ignore_unused(), and IsQuasiModal().
Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().
|
protectedvirtualinherited |
Reimplemented in DIALOG_DRC, DIALOG_ERC, DIALOG_FP_EDIT_PAD_TABLE, HK_PROMPT_DIALOG, HTML_MESSAGE_BOX, and RULE_EDITOR_DIALOG_BASE.
Definition at line 1590 of file dialog_shim.cpp.
References delta, doRedo(), doUndo(), m_beforeEditValues, m_parentFrame, m_tabOrder, MD_ALT, MD_CTRL, and MD_SHIFT.
Referenced by DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), DIALOG_DRC::OnCharHook(), DIALOG_ERC::OnCharHook(), DIALOG_FP_EDIT_PAD_TABLE::OnCharHook(), RULE_EDITOR_DIALOG_BASE::OnCharHook(), and DIALOG_TEXTBOX_PROPERTIES::~DIALOG_TEXTBOX_PROPERTIES().
|
privateinherited |
Definition at line 1574 of file dialog_shim.cpp.
References m_beforeEditValues, and m_isClosing.
Referenced by SelectAllInTextCtrls(), and ~DIALOG_SHIM().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_KICAD_DIFF_BASE.
Definition at line 218 of file dialog_kicad_diff.cpp.
|
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 1520 of file dialog_shim.cpp.
References APP_MONITOR::AddNavigationBreadcrumb(), EndQuasiModal(), IsQuasiModal(), and SaveControlState().
Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 1054 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 1106 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 1090 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 290 of file dialog_shim.cpp.
References LoadControlState().
Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().
|
inherited |
Definition at line 1362 of file dialog_shim.cpp.
Referenced by DIALOG_LIB_SYMBOL_PROPERTIES::OnAddBodyStyle(), DIALOG_FOOTPRINT_PROPERTIES::OnAddField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnAddField(), DIALOG_LIB_FIELDS_TABLE::OnAddField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddField(), DIALOG_SYMBOL_FIELDS_TABLE::OnAddField(), DIALOG_SYMBOL_PROPERTIES::OnAddField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddFootprintFilter(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::onAddGroup(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddJumperGroup(), DIALOG_LIB_SYMBOL_PROPERTIES::OnBodyStyleMoveDown(), DIALOG_LIB_SYMBOL_PROPERTIES::OnBodyStyleMoveUp(), DIALOG_FOOTPRINT_PROPERTIES::OnCheckBox(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnCheckBox(), DIALOG_LIB_SYMBOL_PROPERTIES::OnCheckBox(), DIALOG_SYMBOL_PROPERTIES::OnCheckBox(), DIALOG_FOOTPRINT_PROPERTIES::OnChoice(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnChoice(), DIALOG_FOOTPRINT_PROPERTIES::OnCombobox(), DIALOG_LIB_SYMBOL_PROPERTIES::OnCombobox(), DIALOG_PAD_PROPERTIES::onCornerRadiusChange(), DIALOG_PAD_PROPERTIES::onCornerSizePercentChange(), DIALOG_LIB_SYMBOL_PROPERTIES::OnDeleteBodyStyle(), DIALOG_FOOTPRINT_PROPERTIES::OnDeleteField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnDeleteField(), DIALOG_LIB_SYMBOL_PROPERTIES::OnDeleteField(), DIALOG_SYMBOL_PROPERTIES::OnDeleteField(), DIALOG_PAD_PROPERTIES::OnDrillShapeSelected(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditFootprintFilter(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_LIB_SYMBOL_PROPERTIES::OnGridCellChanged(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::onLayerGridRowAddUserLayer(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::onLayerGridRowDelete(), DIALOG_PAD_PROPERTIES::onModify(), DIALOG_PAD_PROPERTIES::onModify(), DIALOG_LIB_SYMBOL_PROPERTIES::OnMoveDown(), DIALOG_SYMBOL_PROPERTIES::OnMoveDown(), DIALOG_LIB_SYMBOL_PROPERTIES::OnMoveUp(), DIALOG_SYMBOL_PROPERTIES::OnMoveUp(), DIALOG_PAD_PROPERTIES::onPadShapeSelection(), DIALOG_SYMBOL_PROPERTIES::OnPinTableCellEdited(), DIALOG_LIB_SYMBOL_PROPERTIES::onPowerCheckBox(), DIALOG_LIB_FIELDS_TABLE::OnRemoveField(), DIALOG_SYMBOL_FIELDS_TABLE::OnRemoveField(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::onRemoveGroup(), DIALOG_LIB_SYMBOL_PROPERTIES::OnRemoveJumperGroup(), DIALOG_LIB_FIELDS_TABLE::OnRenameField(), DIALOG_SYMBOL_FIELDS_TABLE::OnRenameField(), DIALOG_PAD_PROPERTIES::OnSetCopperLayers(), DIALOG_PAD_PROPERTIES::OnSetLayers(), DIALOG_LIB_SYMBOL_PROPERTIES::OnSymbolNameText(), DIALOG_LIB_FIELDS_TABLE::OnTableValueChanged(), DIALOG_FOOTPRINT_PROPERTIES::OnText(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::OnText(), DIALOG_LIB_SYMBOL_PROPERTIES::OnText(), DIALOG_BARCODE_PROPERTIES::OnTextValueChanged(), DIALOG_SYMBOL_PROPERTIES::OnUnitChoice(), DIALOG_LIB_SYMBOL_PROPERTIES::OnUnitSpinCtrl(), DIALOG_LIB_SYMBOL_PROPERTIES::OnUnitSpinCtrlEnter(), DIALOG_LIB_SYMBOL_PROPERTIES::OnUnitSpinCtrlKillFocus(), DIALOG_BARCODE_PROPERTIES::OnValuesChanged(), DIALOG_PAD_PROPERTIES::OnValuesChanged(), DIALOG_LIB_FIELDS_TABLE::OnViewControlsCellChanged(), DIALOG_SYMBOL_FIELDS_TABLE::OnViewControlsCellChanged(), DIALOG_PAD_PROPERTIES::PadOrientEvent(), DIALOG_PAD_PROPERTIES::PadTypeSelected(), DIALOG_LIB_FIELDS_TABLE::ShowHideColumn(), and DIALOG_SYMBOL_FIELDS_TABLE::ShowHideColumn().
|
privateinherited |
Definition at line 493 of file dialog_shim.cpp.
References m_childReleased, m_userPositioned, KIPLATFORM::UI::ReleaseChildWindow(), and KIPLATFORM::UI::ReparentModal().
Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_KICAD_DIFF_BASE.
Definition at line 224 of file dialog_kicad_diff.cpp.
|
inherited |
Definition at line 1341 of file dialog_shim.cpp.
References KIPLATFORM::UI::FixupCancelButtonCmdKeyCollision(), KIPLATFORM::UI::ForceFocus(), m_firstPaintEvent, m_initialFocusTarget, registerUndoRedoHandlers(), and SelectAllInTextCtrls().
Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 1098 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 486 of file dialog_shim.cpp.
References m_userResized.
Referenced by DIALOG_SHIM(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 1072 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 1063 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 1081 of file dialog_shim.cpp.
References m_handlingUndoRedo, and recordControlChange().
Referenced by registerUndoRedoHandlers(), and ~DIALOG_SHIM().
|
protected |
Definition at line 309 of file dialog_kicad_diff.cpp.
References _, applyHiddenToTree(), changeRowIds(), m_canvas, m_changeByTreeId, m_hiddenChanges, and DIALOG_KICAD_DIFF_BASE::m_treeChanges.
Referenced by DIALOG_KICAD_DIFF().
|
overrideprotectedvirtual |
Reimplemented from DIALOG_KICAD_DIFF_BASE.
Definition at line 230 of file dialog_kicad_diff.cpp.
References m_changeByTreeId, and showChange().
|
inherited |
Opt out of control state saving.
| aWindow | can be either a specific control, or the whole dialog |
Definition at line 851 of file dialog_shim.cpp.
References PROPERTY_HOLDER::SetProperty().
Referenced by DIALOG_FIND::DIALOG_FIND(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_GIT_COMMIT::DIALOG_GIT_COMMIT(), DIALOG_GLOBAL_DELETION::DIALOG_GLOBAL_DELETION(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_MIGRATE_BUSES::DIALOG_MIGRATE_BUSES(), DIALOG_SCH_FIND::DIALOG_SCH_FIND(), DIALOG_SIM_FORMAT_VALUE::DIALOG_SIM_FORMAT_VALUE(), EDA_LIST_DIALOG::initDialog(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG(), and WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG().
|
inherited |
Definition at line 1456 of file dialog_shim.cpp.
References m_qmodal_parent_disabler.
|
inherited |
Return a reference to the PROJECT associated with this KIWAY.
Definition at line 32 of file kiway_holder.cpp.
References Kiway(), and KIWAY::Prj().
Referenced by DESIGN_BLOCK_TREE_MODEL_ADAPTER::AddLibraries(), FP_TREE_MODEL_ADAPTER::AddLibraries(), SYMBOL_TREE_MODEL_ADAPTER::AddLibraries(), AskSaveBoardFileName(), DIALOG_MIGRATE_3D_MODELS::AutoMigrateByFilename(), DIALOG_SYMBOL_REMAP::backupProject(), DIALOG_MIGRATE_3D_MODELS::BoardHasUnresolvedWrlReferences(), CVPCB_MAINFRAME::buildEquivalenceList(), CVPCB_MAINFRAME::BuildLibrariesList(), PCB_BASE_FRAME::canCloseWindow(), SIMULATOR_FRAME::canCloseWindow(), KICAD_MANAGER_FRAME::CloseProject(), EDA_BASE_FRAME::CommonSettingsChanged(), SCH_INSPECTION_TOOL::CompareSchematicWithFile(), SCH_INSPECTION_TOOL::CompareSchematicWithHistory(), DIALOG_MIGRATE_3D_MODELS::CountUnresolvedWrlReferences(), DIALOG_GEN_FOOTPRINT_POSITION::CreateAsciiFiles(), DIALOG_GEN_FOOTPRINT_POSITION::CreateGerberFiles(), PCB_BASE_FRAME::CreateNewFootprint(), DIALOG_SYMBOL_REMAP::createProjectSymbolLibTable(), DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE(), DIALOG_BOARD_SETUP::DIALOG_BOARD_SETUP(), DIALOG_BOARD_STATISTICS::DIALOG_BOARD_STATISTICS(), DIALOG_CHANGE_SYMBOLS::DIALOG_CHANGE_SYMBOLS(), DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES(), DIALOG_DRC_RULE_EDITOR::DIALOG_DRC_RULE_EDITOR(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_IBIS_PARSER_REPORTER::DIALOG_IBIS_PARSER_REPORTER(), DIALOG_IMPORT_NETLIST::DIALOG_IMPORT_NETLIST(), DIALOG_PAGES_SETTINGS::DIALOG_PAGES_SETTINGS(), DIALOG_PLOT::DIALOG_PLOT(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP(), DIALOG_SIM_MODEL< T >::DIALOG_SIM_MODEL(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_SYMBOL_REMAP::DIALOG_SYMBOL_REMAP(), DIALOG_UPDATE_FROM_PCB::DIALOG_UPDATE_FROM_PCB(), DIALOG_UPDATE_PCB::DIALOG_UPDATE_PCB(), FOOTPRINT_PREVIEW_PANEL::DisplayFootprint(), CVPCB_MAINFRAME::DisplayStatus(), EDA_BASE_FRAME::doAutoSave(), KICAD_MANAGER_FRAME::doReCreateMenuBar(), DIALOG_GENDRILL::genDrillAndMapFiles(), DIALOG_TABLE_PROPERTIES::getContextualTextVars(), DIALOG_TABLECELL_PROPERTIES::getContextualTextVars(), DIALOG_TEXT_PROPERTIES::getContextualTextVars(), EDA_3D_VIEWER_FRAME::getExportFileName(), PCB_BASE_FRAME::GetLibraryItemsForListDialog(), SCH_BASE_FRAME::GetLibraryItemsForListDialog(), DIALOG_SYMBOL_REMAP::getLibsNotInGlobalSymbolLibTable(), SCH_BASE_FRAME::GetLibSymbol(), DIALOG_PLOT_SCHEMATIC::getOutputPath(), KICAD_MANAGER_FRAME::GetProjectFileName(), FIELDS_GRID_TABLE::initGrid(), CVPCB_MAINFRAME::LoadFootprintFiles(), KICAD_MANAGER_FRAME::LoadProject(), SIMULATOR_FRAME::LoadSettings(), SIMULATOR_FRAME::LoadSimulator(), EDA_BASE_FRAME::LoadWindowState(), EDA_3D_VIEWER_FRAME::NewDisplay(), DIALOG_SIM_MODEL< T >::onBrowseButtonClick(), DIALOG_EXPORT_2581::onBrowseClicked(), DIALOG_EXPORT_ODBPP::onBrowseClicked(), DIALOG_EXPORT_STEP::onBrowseClicked(), DIALOG_GENCAD_EXPORT_OPTIONS::onBrowseClicked(), DIALOG_REMOTE_SYMBOL_CONFIG::onBrowseDestination(), DIALOG_IMPORT_NETLIST::onBrowseNetlistFiles(), DIALOG_EDIT_SYMBOLS_LIBID::onClickOrphansButton(), DIALOG_SYMBOL_FIELDS_TABLE::OnExport(), DIALOG_EXPORT_STEP::onExportButton(), PCB_BASE_FRAME::OnFpChangeDebounceTimer(), DIALOG_GENDRILL::onGenReportFile(), KICAD_MANAGER_FRAME::OnIdle(), DIALOG_CONFIG_EQUFILES::OnOkClick(), KICAD_MANAGER_FRAME::OnOpenFileInTextEditor(), DIALOG_PLOT::onOpenOutputDirectory(), DIALOG_GEN_FOOTPRINT_POSITION::onOutputDirectoryBrowseClicked(), DIALOG_GENDRILL::onOutputDirectoryBrowseClicked(), DIALOG_PLOT::onOutputDirectoryBrowseClicked(), DIALOG_PLOT_SCHEMATIC::onOutputDirectoryBrowseClicked(), DIALOG_SYMBOL_FIELDS_TABLE::OnOutputFileBrowseClicked(), DIALOG_BOARD_SETUP::onPageChanged(), DIALOG_SCHEMATIC_SETUP::onPageChanged(), DIALOG_SYMBOL_REMAP::OnRemapSymbols(), DIALOG_DRC::OnSaveReport(), DIALOG_ERC::OnSaveReport(), PANEL_FOOTPRINT_CHOOSER::PANEL_FOOTPRINT_CHOOSER(), PANEL_PREVIEW_3D_MODEL::PANEL_PREVIEW_3D_MODEL(), EDA_DRAW_FRAME::PrintDrawingSheet(), KICAD_MANAGER_FRAME::PrintPrjInfo(), KICAD_MANAGER_FRAME::ProjectChanged(), CVPCB_MAINFRAME::readNetListAndFpFiles(), EDA_3D_VIEWER_FRAME::ReloadRequest(), SIMULATOR_FRAME::ReloadSimulator(), DIALOG_SYMBOL_REMAP::remapSymbolToLibTable(), KICAD_MANAGER_FRAME::RestoreCommitFromHistory(), KICAD_MANAGER_FRAME::RestoreLocalHistory(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), KICAD_MANAGER_FRAME::SaveOpenJobSetsToLocalSettings(), DIALOG_BOARD_STATISTICS::saveReportClicked(), EDA_BASE_FRAME::SaveSettings(), SIMULATOR_FRAME::SaveSettings(), SCH_BASE_FRAME::SelectLibrary(), PCB_BASE_FRAME::setFPWatcher(), GERBVIEW_FRAME::SetPageSettings(), SCH_BASE_FRAME::setSymWatcher(), DIALOG_LIB_FIELDS_TABLE::SetupColumnProperties(), DIALOG_SYMBOL_FIELDS_TABLE::SetupColumnProperties(), BOARD_EDITOR_CONTROL::ShowEeschema(), KICAD_MANAGER_FRAME::ToggleLocalHistory(), DIALOG_EDIT_SYMBOLS_LIBID::TransferDataFromWindow(), DIALOG_EXPORT_2581::TransferDataFromWindow(), DIALOG_EXPORT_NETLIST::TransferDataFromWindow(), DIALOG_SIM_MODEL< T >::TransferDataFromWindow(), DIALOG_EXPORT_2581::TransferDataToWindow(), KICAD_MANAGER_FRAME::UnarchiveFiles(), DIALOG_PAGES_SETTINGS::UpdateDrawingSheetExample(), DIALOG_FIELD_PROPERTIES::UpdateField(), SIMULATOR_FRAME::UpdateTitle(), DIALOG_FOOTPRINT_PROPERTIES::~DIALOG_FOOTPRINT_PROPERTIES(), and EDA_3D_VIEWER_FRAME::~EDA_3D_VIEWER_FRAME().
|
privateinherited |
Definition at line 1040 of file dialog_shim.cpp.
References getControlValue(), m_currentValues, m_redoStack, and m_undoStack.
Referenced by onCommandEvent(), onDataViewListChanged(), onGridCellChanged(), onPropertyGridChanged(), onSpinDoubleEvent(), onSpinEvent(), and onStyledTextChanged().
|
privateinherited |
Definition at line 957 of file dialog_shim.cpp.
References getControlValue(), grid, m_currentValues, m_noControlUndoRedo, onCommandEvent(), onDataViewListChanged(), onGridCellChanged(), onPropertyGridChanged(), onSpinDoubleEvent(), onSpinEvent(), onStyledTextChanged(), and registerUndoRedoHandlers().
Referenced by OnPaint(), registerUndoRedoHandlers(), and resetUndoRedoForNewContent().
|
inherited |
Register a UNIT_BINDER so that it can handle units in control-state save/restore.
| aUnitBinder | |
| aWindow | the control window |
Definition at line 865 of file dialog_shim.cpp.
References m_unitBinders.
| void DIALOG_KICAD_DIFF::Reload | ( | const wxString & | aReferencePath, |
| const wxString & | aComparisonPath, | ||
| KICAD_DIFF::DOCUMENT_DIFF | aDiff, | ||
| KICAD_DIFF::DOCUMENT_GEOMETRY | aReferenceGeometry, | ||
| KICAD_DIFF::DOCUMENT_GEOMETRY | aComparisonGeometry, | ||
| SHEET_SWITCHER | aSheetSwitcher, | ||
| KIID_PATH | aInitialSheet ) |
Swap in a fresh diff with new schematics.
Rebuilds tree and scene, clears selection and properties.
Definition at line 464 of file dialog_kicad_diff.cpp.
References _, KICAD_DIFF::BuildScene(), buildTree(), KICAD_DIFF::DIFF_SCENE::comparisonGeometry, KICAD_DIFF::ExpandBBoxToGeometry(), m_canvas, m_currentCanvasSheet, m_diff, DIALOG_KICAD_DIFF_BASE::m_labelSummary, DIALOG_KICAD_DIFF_BASE::m_pathComparison, DIALOG_KICAD_DIFF_BASE::m_pathReference, m_sheetSwitcher, KICAD_DIFF::DIFF_SCENE::referenceGeometry, and showChange().
Referenced by SCH_INSPECTION_TOOL::showSchematicComparison().
|
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 470 of file dialog_shim.cpp.
References getDialogKeyFromTitle(), m_hash_key, and Pgm().
Referenced by DIALOG_PAD_PROPERTIES::updatePadSizeControls().
|
protectedinherited |
Reset undo/redo tracking after dynamically replacing child panels.
Clears the undo/redo stacks and current value baselines, then registers undo/redo event handlers on the new children.
| aChildren | The child window list of the newly created panel. |
Definition at line 1502 of file dialog_shim.cpp.
References m_currentValues, m_redoStack, m_undoStack, and registerUndoRedoHandlers().
Referenced by RULE_EDITOR_DIALOG_BASE::SetContentPanel().
|
inherited |
Save control values and geometry to the current project's local settings.
Definition at line 574 of file dialog_shim.cpp.
References COMMON_SETTINGS::CsInternals(), generateKey(), PGM_BASE::GetCommonSettings(), getDialogKeyFromTitle(), grid, index, COMMON_SETTINGS_INTERNALS::m_dialogControlValues, m_hash_key, m_unitBinders, Pgm(), and PROPERTY_HOLDER::SafeCast().
Referenced by OnCloseWindow(), and Show().
|
inherited |
Definition at line 886 of file dialog_shim.cpp.
References ignore_unused(), m_beforeEditValues, minSize, onChildSetFocus(), and SelectAllInTextCtrls().
Referenced by OnPaint(), and SelectAllInTextCtrls().
|
private |
Select the tree row whose change has the given KIID_PATH.
Wired to the canvas's pick handler so clicking a rectangle on the canvas scrolls/selects the matching change in the tree. Returns false when the id isn't present (typically because its category is filtered out).
Definition at line 631 of file dialog_kicad_diff.cpp.
References m_changeByTreeId, and DIALOG_KICAD_DIFF_BASE::m_treeChanges.
Referenced by buildTree(), and DIALOG_KICAD_DIFF().
|
inline |
Definition at line 80 of file dialog_kicad_diff.h.
References m_changeSelectedFn.
Referenced by SYMBOL_EDITOR_CONTROL::CompareLibraryWithFile().
|
privateinherited |
|
inlineinherited |
Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.
Definition at line 79 of file dialog_shim.h.
References m_initialFocusTarget.
Referenced by DIALOG_BOM::DIALOG_BOM(), DIALOG_CONFIGURE_PATHS::DIALOG_CONFIGURE_PATHS(), DIALOG_ENUM_PADS::DIALOG_ENUM_PADS(), DIALOG_FIND::DIALOG_FIND(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_GET_FOOTPRINT_BY_NAME::DIALOG_GET_FOOTPRINT_BY_NAME(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_IMPORT_GFX_SCH::DIALOG_IMPORT_GFX_SCH(), DIALOG_IMPORT_GRAPHICS::DIALOG_IMPORT_GRAPHICS(), DIALOG_IMPORT_SYMBOL_SELECT::DIALOG_IMPORT_SYMBOL_SELECT(), DIALOG_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES(), DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_OFFSET_ITEM::DIALOG_OFFSET_ITEM(), 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_REMOTE_SYMBOL_CONFIG::DIALOG_REMOTE_SYMBOL_CONFIG(), DIALOG_SCH_FIND::DIALOG_SCH_FIND(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SYMBOL_CHOOSER::DIALOG_SYMBOL_CHOOSER(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), DIALOG_TUNING_PATTERN_PROPERTIES::DIALOG_TUNING_PATTERN_PROPERTIES(), DIALOG_WIRE_BUS_PROPERTIES::DIALOG_WIRE_BUS_PROPERTIES(), EDA_VIEW_SWITCHER::EDA_VIEW_SWITCHER(), HK_PROMPT_DIALOG::HK_PROMPT_DIALOG(), SCH_EDITOR_CONTROL::IncrementAnnotations(), DIALOG_FIELD_PROPERTIES::init(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchAllClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchIDClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchRefClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchSelectedClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchValueClicked(), DIALOG_LABEL_PROPERTIES::onMultiLabelCheck(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), SAVE_SYMBOL_AS_DIALOG::SAVE_SYMBOL_AS_DIALOG(), DIALOG_NON_COPPER_ZONES_EDITOR::TransferDataToWindow(), DIALOG_RULE_AREA_PROPERTIES::TransferDataToWindow(), DIALOG_TRACK_VIA_PROPERTIES::TransferDataToWindow(), WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG(), WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG(), and WX_UNIT_ENTRY_DIALOG::WX_UNIT_ENTRY_DIALOG().
|
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 39 of file kiway_holder.cpp.
References ignore_unused(), m_kiway, and name.
Referenced by DIALOG_SHIM::DIALOG_SHIM(), InvokePcbLibTableEditor(), and InvokeSchEditSymbolLibTable().
|
inherited |
Force the position of the dialog to a new position.
| aNewPosition | is the new forced position |
Definition at line 344 of file dialog_shim.cpp.
Referenced by PCB_BASE_FRAME::SelectOneLayer().
| void DIALOG_KICAD_DIFF::SetRevisionChooser | ( | const std::vector< wxString > & | aLabels, |
| int | aSelected, | ||
| REVISION_HANDLER | aOnChange ) |
Add a revision dropdown (with prev/next) at the top.
Fired on change with the chosen index. Only call this for local-history compares; without it no chooser is shown.
Definition at line 403 of file dialog_kicad_diff.cpp.
References _, m_revisionChoice, m_revisionHandler, and top().
|
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 317 of file dialog_shim.cpp.
Referenced by HTML_MESSAGE_BOX::HTML_MESSAGE_BOX(), and HTML_MESSAGE_BOX::SetDialogSizeInDU().
|
inherited |
Definition at line 1815 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_BOARD_STATS_JOB::DIALOG_BOARD_STATS_JOB(), 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_CREATE_NET_CHAIN::DIALOG_CREATE_NET_CHAIN(), 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_DIFF_PHASE_SKEW_PROPERTIES::DIALOG_DIFF_PHASE_SKEW_PROPERTIES(), DIALOG_DIMENSION_PROPERTIES::DIALOG_DIMENSION_PROPERTIES(), DIALOG_DRAW_LAYERS_SETTINGS::DIALOG_DRAW_LAYERS_SETTINGS(), DIALOG_DRC::DIALOG_DRC(), DIALOG_ERC::DIALOG_ERC(), DIALOG_EXCHANGE_FOOTPRINTS::DIALOG_EXCHANGE_FOOTPRINTS(), DIALOG_EXECUTECOMMAND_JOB_SETTINGS::DIALOG_EXECUTECOMMAND_JOB_SETTINGS(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_IDF3::DIALOG_EXPORT_IDF3(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_EXPORT_VRML::DIALOG_EXPORT_VRML(), DIALOG_FILTER_SELECTION::DIALOG_FILTER_SELECTION(), DIALOG_FOOTPRINT_CHECKER::DIALOG_FOOTPRINT_CHECKER(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_FP_EDIT_PAD_TABLE::DIALOG_FP_EDIT_PAD_TABLE(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GENERATE_DATABASE_CONNECTION::DIALOG_GENERATE_DATABASE_CONNECTION(), DIALOG_GET_FOOTPRINT_BY_NAME::DIALOG_GET_FOOTPRINT_BY_NAME(), DIALOG_GIT_COMMIT::DIALOG_GIT_COMMIT(), DIALOG_GIT_CREDENTIALS::DIALOG_GIT_CREDENTIALS(), DIALOG_GIT_REPOSITORY::DIALOG_GIT_REPOSITORY(), DIALOG_GLOBAL_DELETION::DIALOG_GLOBAL_DELETION(), DIALOG_GLOBAL_EDIT_TEARDROPS::DIALOG_GLOBAL_EDIT_TEARDROPS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS(), DIALOG_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_IMPORT_SYMBOL_SELECT::DIALOG_IMPORT_SYMBOL_SELECT(), 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_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), DIALOG_LIB_NEW_SYMBOL::DIALOG_LIB_NEW_SYMBOL(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), 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_OFFSET_ITEM::DIALOG_OFFSET_ITEM(), DIALOG_OUTSET_ITEMS::DIALOG_OUTSET_ITEMS(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PAGES_SETTINGS::DIALOG_PAGES_SETTINGS(), DIALOG_PCM::DIALOG_PCM(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_PLOT::DIALOG_PLOT(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_PLUGIN_OPTIONS::DIALOG_PLUGIN_OPTIONS(), DIALOG_PNS_DIFF_PAIR_DIMENSIONS::DIALOG_PNS_DIFF_PAIR_DIMENSIONS(), DIALOG_PNS_SETTINGS::DIALOG_PNS_SETTINGS(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_PRINT::DIALOG_PRINT(), DIALOG_PRINT_GENERIC::DIALOG_PRINT_GENERIC(), DIALOG_PUSH_PAD_PROPERTIES::DIALOG_PUSH_PAD_PROPERTIES(), DIALOG_RC_JOB::DIALOG_RC_JOB(), DIALOG_REFERENCE_IMAGE_PROPERTIES::DIALOG_REFERENCE_IMAGE_PROPERTIES(), DIALOG_REGULATOR_FORM::DIALOG_REGULATOR_FORM(), DIALOG_REMOTE_SYMBOL_CONFIG::DIALOG_REMOTE_SYMBOL_CONFIG(), DIALOG_RENDER_JOB::DIALOG_RENDER_JOB(), DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH(), DIALOG_RESOLVE_FIELD_CASE_CONFLICTS::DIALOG_RESOLVE_FIELD_CASE_CONFLICTS(), DIALOG_RULE_AREA_PROPERTIES::DIALOG_RULE_AREA_PROPERTIES(), DIALOG_SCH_IMPORT_SETTINGS::DIALOG_SCH_IMPORT_SETTINGS(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SHEET_PROPERTIES::DIALOG_SHEET_PROPERTIES(), DIALOG_SIM_COMMAND::DIALOG_SIM_COMMAND(), DIALOG_SWAP_LAYERS::DIALOG_SWAP_LAYERS(), DIALOG_SYMBOL_CHOOSER::DIALOG_SYMBOL_CHOOSER(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_SYMBOL_PROPERTIES::DIALOG_SYMBOL_PROPERTIES(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TABLE_PROPERTIES::DIALOG_TABLE_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TABLECELL_PROPERTIES::DIALOG_TABLECELL_PROPERTIES(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_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 368 of file dialog_shim.cpp.
References KIPLATFORM::UI::EnsureVisible(), focusParentCanvas(), getDialogKeyFromTitle(), m_hash_key, m_initialSize, m_useCalculatedSize, m_userPositioned, m_userResized, Pgm(), SaveControlState(), and KIPLATFORM::UI::StabilizeWindowPosition().
Referenced by SCH_INSPECTION_TOOL::CrossProbe(), BOARD_INSPECTION_TOOL::DiffFootprint(), SCH_INSPECTION_TOOL::DiffSymbol(), SCH_EDITOR_CONTROL::EditSymbolFields(), EndQuasiModal(), SCH_EDITOR_CONTROL::GenerateBOM(), HOTKEY_CYCLE_POPUP::HOTKEY_CYCLE_POPUP(), BOARD_INSPECTION_TOOL::InspectConstraints(), BOARD_INSPECTION_TOOL::InspectDRCError(), SCH_INSPECTION_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(), HOTKEY_CYCLE_POPUP::Popup(), SCH_INSPECTION_TOOL::PrevMarker(), CVPCB_MAINFRAME::readNetListAndFpFiles(), BOARD_INSPECTION_TOOL::reportClearance(), DIALOG_FIND::Show(), DIALOG_FIND_BY_PROPERTIES::Show(), DIALOG_PAD_PROPERTIES::Show(), EDA_LIST_DIALOG::Show(), EDA_VIEW_SWITCHER::Show(), RULE_EDITOR_DIALOG_BASE::Show(), SCH_INSPECTION_TOOL::ShowERCDialog(), HTML_MESSAGE_BOX::ShowModeless(), ShowQuasiModal(), DIALOG_POSITION_RELATIVE::UpdatePickedItem(), and DIALOG_POSITION_RELATIVE::UpdatePickedPoint().
|
private |
Populate the property list for the change associated with the selected tree node, or clear the list if no change is selected (e.g.
group node).
Definition at line 541 of file dialog_kicad_diff.cpp.
References _, KICAD_DIFF::ChangeKindLabel(), KICAD_DIFF::ITEM_CHANGE::children, KICAD_DIFF::ITEM_CHANGE::id, KICAD_DIFF::ITEM_CHANGE::kind, m_canvas, m_changeSelectedFn, m_currentCanvasSheet, DIALOG_KICAD_DIFF_BASE::m_labelSummary, DIALOG_KICAD_DIFF_BASE::m_listProperties, m_sheetSwitcher, m_suppressCenter, KICAD_DIFF::ITEM_CHANGE::properties, KICAD_DIFF::ITEM_CHANGE::refdes, and KICAD_DIFF::ITEM_CHANGE::typeName.
Referenced by buildTree(), DIALOG_KICAD_DIFF(), OnTreeSelectionChanged(), Reload(), and SwitchCanvasToSheet().
|
overrideinherited |
Definition at line 1375 of file dialog_shim.cpp.
References KIPLATFORM::UI::ReparentModal(), and KIPLATFORM::UI::StabilizeWindowPosition().
Referenced by PANEL_SETUP_LAYERS::addUserDefinedLayer(), PCB_CONTROL::ApplyDesignBlockLayout(), MULTICHANNEL_TOOL::AutogenerateRuleAreas(), GRID_CELL_COLOR_SELECTOR::BeginEdit(), SCH_INSPECTION_TOOL::CheckSymbol(), FOOTPRINT_EDITOR_CONTROL::CleanupGraphics(), GLOBAL_EDIT_TOOL::CleanupGraphics(), GLOBAL_EDIT_TOOL::CleanupTracksAndVias(), FOOTPRINT_EDITOR_CONTROL::CompareLibraryWithFile(), SYMBOL_EDITOR_CONTROL::CompareLibraryWithFile(), COMMON_CONTROL::ConfigurePaths(), DIALOG_PLOT::CreateDrillFile(), CONVERT_TOOL::CreateLines(), SYMBOL_EDIT_FRAME::CreateNewSymbol(), MICROWAVE_TOOL::createPolygonShape(), CONVERT_TOOL::CreatePolys(), ROUTER_TOOL::CustomTrackWidthDialog(), PANEL_DESIGN_BLOCK_CHOOSER::displayErrors(), DisplayHotkeyList(), CURSORS_GRID_TRICKS::doPopupSelection(), LIB_FIELDS_EDITOR_GRID_TRICKS::doPopupSelection(), MEASUREMENTS_GRID_TRICKS::doPopupSelection(), SIGNALS_GRID_TRICKS::doPopupSelection(), ROUTER_TOOL::DpDimensionsDialog(), DRAWING_TOOL::DrawBarcode(), SIMULATOR_FRAME::EditAnalysis(), DESIGN_BLOCK_PANE::EditDesignBlockProperties(), SYMBOL_EDITOR_PIN_TOOL::EditPinProperties(), SCH_EDIT_TOOL::EditProperties(), SYMBOL_EDITOR_EDIT_TOOL::editShapeProperties(), SCH_EDIT_FRAME::EditSheetProperties(), FOOTPRINT_EDITOR_CONTROL::EditTextAndGraphics(), GLOBAL_EDIT_TOOL::EditTextAndGraphics(), SYMBOL_EDITOR_EDIT_TOOL::editTextBoxProperties(), SYMBOL_EDITOR_EDIT_TOOL::editTextProperties(), EESCHEMA_JOBS_HANDLER::EESCHEMA_JOBS_HANDLER(), VIA_SIZE_MENU::eventHandler(), BOARD_EDITOR_CONTROL::ExportGenCAD(), BOARD_EDITOR_CONTROL::ExportIDF(), EDA_3D_CONTROLLER::ExportImage(), BOARD_EDITOR_CONTROL::ExportSTEP(), GERBVIEW_CONTROL::ExportToPcbnew(), BOARD_EDITOR_CONTROL::ExportVRML(), EDIT_TOOL::FilletTracks(), PCB_SELECTION_TOOL::filterSelection(), BOARD_EDITOR_CONTROL::GenerateDrillFiles(), BOARD_EDITOR_CONTROL::GenerateODBPPFiles(), BOARD_EDITOR_CONTROL::GeneratePosFile(), BOARD_EDITOR_CONTROL::GenIPC2581File(), GetChamferParams(), GetDogboneParams(), GetFootprintFromBoardByReference(), COLOR_SWATCH::GetNewSwatchColor(), GetRadiusParams(), GetSequentialPadNumberingParams(), GLOBAL_EDIT_TOOL::GlobalDeletions(), SCH_EDIT_TOOL::GlobalEdit(), COMMON_TOOLS::GridOrigin(), EDIT_TOOL::HealShapes(), SCH_EDIT_FRAME::importFile(), SCH_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDITOR_DRAWING_TOOLS::ImportGraphics(), SYMBOL_EDIT_FRAME::ImportSymbol(), SCH_EDITOR_CONTROL::IncrementAnnotations(), PCB_EDIT_FRAME::InstallNetlistFrame(), POSITION_RELATIVE_TOOL::InteractiveOffset(), InvokeCopperZonesEditor(), InvokeDialogNetList(), InvokeEditDesignBlockLibTable(), InvokePcbLibTableEditor(), InvokeRuleAreaEditor(), InvokeSchEditSymbolLibTable(), PROJECT_SCH::LegacySchLibs(), GERBVIEW_FRAME::LoadGerberJobFile(), GERBVIEW_FRAME::LoadListOfGerberAndDrillFiles(), GERBVIEW_FRAME::LoadZipArchiveFile(), GLOBAL_EDIT_TOOL::Migrate3DModels(), SCH_EDIT_FRAME::ModalAnnotate(), EDIT_TOOL::MoveExact(), PCB_POINT_EDITOR::movePoint(), SIMULATOR_CONTROL::NewAnalysisTab(), KICAD_MANAGER_CONTROL::NewFromRepository(), KICAD_MANAGER_CONTROL::NewProject(), PANEL_JOBSET::OnAddDestinationClick(), PANEL_SETUP_BOARD_STACKUP::onAddDielectricLayer(), DIALOG_LIB_SYMBOL_PROPERTIES::OnAddFootprintFilter(), DIALOG_EXPORT_NETLIST::OnAddGenerator(), PANEL_GRID_SETTINGS::OnAddGrid(), PCB_NET_INSPECTOR_PANEL::onAddGroup(), PANEL_JOBSET::OnAddJobClick(), PCB_NET_INSPECTOR_PANEL::onAddNet(), PANEL_REGULATOR::OnAddRegulator(), DIALOG_BOARD_SETUP::onAuxiliaryAction(), DIALOG_SCHEMATIC_SETUP::onAuxiliaryAction(), PCB_EDIT_FRAME::OnBoardLoaded(), DIALOG_SYMBOL_FIELDS_TABLE::onBomFmtPresetChanged(), DIALOG_SYMBOL_FIELDS_TABLE::onBomPresetChanged(), PANEL_SETUP_BOARD_STACKUP::onColorSelected(), KICAD_MANAGER_FRAME::OnCompareProjectBranches(), PANEL_REMOTE_SYMBOL::onConfigure(), DIALOG_DRC::OnDRCItemRClick(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditFootprintFilter(), PANEL_GRID_SETTINGS::onEditGrid(), FOOTPRINT_EDIT_FRAME::OnEditItemRequest(), PCB_EDIT_FRAME::OnEditItemRequest(), PANEL_REGULATOR::OnEditRegulator(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_ERC::OnERCItemRClick(), DIALOG_EXPORT_STEP::onExportButton(), PROJECT_TREE_PANE::onGitAmendCommit(), PROJECT_TREE_PANE::onGitCommit(), PROJECT_TREE_PANE::onGitInitializeProject(), PROJECT_TREE_PANE::onGitRemoteSettings(), PROJECT_TREE_PANE::onGitSwitchBranch(), LIB_TREE::onHeaderContextMenu(), PROPERTIES_FRAME::onHelp(), PANEL_DESTINATION::OnLastStatusClick(), APPEARANCE_CONTROLS::onLayerPresetChanged(), APPEARANCE_CONTROLS_3D::onLayerPresetChanged(), KISTATUSBAR::onLoadWarningsIconClick(), PANEL_SCH_DATA_SOURCES::OnManageDataSources(), 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_PCBNEW_ACTION_PLUGINS::OnShowErrorsButtonClick(), APPEARANCE_CONTROLS::onViewportChanged(), APPEARANCE_CONTROLS_3D::onViewportChanged(), PCBNEW_JOBS_HANDLER::OpenDiffDialog(), PANEL_JOBSET::OpenJobOptionsForListItem(), DESIGN_BLOCK_GRID_TRICKS::optionsEditor(), FP_GRID_TRICKS::optionsEditor(), SYMBOL_GRID_TRICKS::optionsEditor(), CONVERT_TOOL::OutsetItems(), DIALOG_PAD_PROPERTIES::padValuesOK(), BOARD_EDITOR_CONTROL::PageSettings(), PL_EDITOR_CONTROL::PageSetup(), SCH_EDITOR_CONTROL::PageSetup(), PCB_CONTROL::Paste(), SCH_EDITOR_CONTROL::Paste(), PCBNEW_JOBS_HANDLER::PCBNEW_JOBS_HANDLER(), SCH_BASE_FRAME::PickSymbolFromLibrary(), SYMBOL_EDITOR_EDIT_TOOL::PinTable(), DRAWING_TOOL::PlaceImportedGraphics(), DRAWING_TOOL::PlaceTuningPattern(), SCH_EDITOR_CONTROL::Plot(), GERBVIEW_CONTROL::Print(), PCB_CONTROL::Print(), SCH_EDITOR_CONTROL::Print(), promptForGitCredentials(), HK_PROMPT_DIALOG::PromptForKey(), SCH_EDIT_TOOL::Properties(), PAD_TOOL::pushPadSettings(), GERBVIEW_FRAME::Read_EXCELLON_File(), GERBVIEW_FRAME::Read_GERBER_File(), CVPCB_MAINFRAME::readNetListAndFpFiles(), GLOBAL_EDIT_TOOL::RemoveUnusedPads(), MULTICHANNEL_TOOL::repeatLayout(), DIALOG_IMPORT_CHOOSE_PROJECT::RunModal(), DIALOG_MAP_LAYERS::RunModal(), PCBNEW_JOBS_HANDLER::runPcbMerge(), EESCHEMA_JOBS_HANDLER::runSchMerge(), PCB_EDIT_FRAME::SaveBoardAsDesignBlock(), FOOTPRINT_EDIT_FRAME::SaveFootprintAs(), ROUTER_TOOL::saveRouterDebugLog(), PCB_EDIT_FRAME::SaveSelectionAsDesignBlock(), SCH_EDIT_FRAME::SaveSelectionAsDesignBlock(), SCH_EDIT_FRAME::SaveSheetAsDesignBlock(), SYMBOL_EDIT_FRAME::saveSymbolCopyAs(), ROUTER_TOOL::SelectCopperLayerPair(), FOOTPRINT_EDIT_FRAME::SelectFootprintFromBoard(), FOOTPRINT_WIZARD_FRAME::SelectFootprintWizard(), PCB_BASE_EDIT_FRAME::SelectLibrary(), SCH_BASE_FRAME::SelectLibrary(), PCB_BASE_FRAME::SelectOneLayer(), GERBVIEW_FRAME::SelectPCBLayer(), GERBVIEW_FRAME::SetLayerDrawPrms(), ROUTER_TOOL::SettingsDialog(), PCB_BASE_EDIT_FRAME::ShowBarcodePropertiesDialog(), BOARD_INSPECTION_TOOL::ShowBoardStatistics(), SYMBOL_LIBRARY_ADAPTER::ShowConfigurationDialog(), SCH_EDITOR_CONTROL::ShowCreateNetChain(), PL_EDITOR_FRAME::ShowDesignInspector(), DIFF_PHASE_SKEW_TOOL::ShowDiffPhaseSkew(), CVPCB_CONTROL::ShowEquFileTable(), BOARD_INSPECTION_TOOL::ShowFootprintLinks(), SYMBOL_EDITOR_CONTROL::ShowLibraryTable(), SIMULATOR_CONTROL::ShowNetlist(), KICAD_MANAGER_CONTROL::ShowPluginManager(), EDA_BASE_FRAME::ShowPreferences(), PCB_TUNING_PATTERN::ShowPropertiesDialog(), BOARD_REANNOTATE_TOOL::ShowReannotateDialog(), PCB_BASE_EDIT_FRAME::ShowReferenceImagePropertiesDialog(), LOCAL_HISTORY::ShowRestoreDialog(), SCH_INSPECTION_TOOL::showSchematicComparison(), SCH_EDIT_FRAME::ShowSchematicSetupDialog(), PCB_EDIT_FRAME::ShowTargetOptionsDialog(), EDIT_TOOL::SimplifyPolygons(), SCH_DRAWING_TOOLS::SingleClickPlace(), GLOBAL_EDIT_TOOL::SwapLayers(), DIALOG_IMPORT_GFX_SCH::TransferDataFromWindow(), DIALOG_IMPORT_GRAPHICS::TransferDataFromWindow(), PANEL_SETUP_LAYERS::TransferDataFromWindow(), EDA_3D_VIEWER_FRAME::TryBefore(), PCB_BASE_EDIT_FRAME::TryBefore(), SYMBOL_EDITOR_DRAWING_TOOLS::TwoClickPlace(), SCH_EDIT_FRAME::UpdateDesignBlockFromSheet(), 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 1415 of file dialog_shim.cpp.
References focusParentCanvas(), m_qmodal_loop, m_qmodal_parent_disabler, m_qmodal_showing, KIPLATFORM::UI::ReparentModal(), and Show().
Referenced by PANEL_FP_PROPERTIES_3D_MODEL::Cfg3DPath(), DIALOG_SELECT_3DMODEL::Cfg3DPaths(), SCH_EDIT_TOOL::ChangeSymbols(), MICROWAVE_TOOL::createFootprint(), MICROWAVE_TOOL::createMicrowaveInductor(), SCH_DRAWING_TOOLS::createNewLabel(), SCH_DRAWING_TOOLS::createNewText(), SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SCH_DRAWING_TOOLS::DrawShape(), DRAWING_TOOL::DrawTable(), SCH_DRAWING_TOOLS::DrawTable(), SYMBOL_EDITOR_EDIT_TOOL::editFieldProperties(), SCH_EDIT_TOOL::editFieldText(), FOOTPRINT_EDIT_FRAME::editFootprintProperties(), FOOTPRINT_EDITOR_CONTROL::editFootprintPropertiesFromLibrary(), SCH_EDIT_TOOL::EditProperties(), SYMBOL_EDITOR_EDIT_TOOL::editSymbolProperties(), SYMBOL_EDITOR_EDIT_TOOL::editSymbolPropertiesFromLibrary(), PCB_EDIT_TABLE_TOOL::EditTable(), SCH_EDIT_TABLE_TOOL::EditTable(), GLOBAL_EDIT_TOOL::EditTeardrops(), GLOBAL_EDIT_TOOL::EditTracksAndVias(), SIMULATOR_CONTROL::EditUserDefinedSignals(), GLOBAL_EDIT_TOOL::ExchangeFootprints(), DRC_TOOL::FixDRCError(), SCH_EDIT_TOOL::FixERCError(), BOARD_EDITOR_CONTROL::GenerateGerbers(), InvokeDialogCreateBOM(), InvokeDialogEditSymbolsLibId(), InvokeDialogRescueEach(), InvokeNonCopperZonesEditor(), PANEL_FP_PROPERTIES_3D_MODEL::OnAdd3DModel(), FOOTPRINT_EDIT_FRAME::OnEditItemRequest(), PCB_EDIT_FRAME::OnEditItemRequest(), PANEL_JOBSET::OpenJobOptionsForListItem(), SCH_EDIT_FRAME::OpenProjectFiles(), PAD_TOOL::PadTable(), DRAWING_TOOL::PlaceText(), BOARD_EDITOR_CONTROL::Plot(), EDIT_TOOL::Properties(), SCH_EDIT_TOOL::Properties(), SCH_EDITOR_CONTROL::RemapSymbols(), PCB_EDIT_FRAME::ShowBoardSetupDialog(), PCB_EDIT_FRAME::ShowExchangeFootprintsDialog(), PCB_EDIT_FRAME::ShowFootprintPropertiesDialog(), PCB_BASE_EDIT_FRAME::ShowGraphicItemPropertiesDialog(), PCB_BASE_FRAME::ShowPadPropertiesDialog(), PCB_BASE_EDIT_FRAME::ShowTextBoxPropertiesDialog(), PCB_BASE_EDIT_FRAME::ShowTextPropertiesDialog(), and GLOBAL_EDIT_TOOL::ZonesManager().
| void DIALOG_KICAD_DIFF::SwitchCanvasToSheet | ( | const KIID_PATH & | aSheetPath | ) |
Definition at line 523 of file dialog_kicad_diff.cpp.
References m_canvas, m_currentCanvasSheet, m_sheetSwitcher, DIALOG_KICAD_DIFF_BASE::m_treeChanges, and showChange().
|
inlineprotectedvirtualinherited |
Override this method to perform dialog tear down actions not suitable for object dtor.
Definition at line 232 of file dialog_shim.h.
Referenced by EndQuasiModal().
|
inherited |
Remove a UNIT_BINDER from the control-state save/restore map.
Called from ~UNIT_BINDER so that a destroyed binder never leaves a dangling pointer behind for SaveControlState()/LoadControlState() to dereference when a later control reuses the freed window's address.
| aUnitBinder | the binder being destroyed |
Definition at line 871 of file dialog_shim.cpp.
References m_unitBinders.
|
protectedinherited |
Remove UNIT_BINDER registrations for a window and all its descendants.
Call before destroying a panel whose children have registered unit binders.
| aWindow | The root window whose subtree should be unregistered. |
Definition at line 1511 of file dialog_shim.cpp.
References m_unitBinders, and unregisterUnitBinders().
Referenced by RULE_EDITOR_DIALOG_BASE::SetContentPanel(), and unregisterUnitBinders().
|
protectedinherited |
Convert an integer number of dialog units to pixels, vertically.
See SetSizeInDU or wxDialog documentation for more information.
Definition at line 331 of file dialog_shim.cpp.
Referenced by DIALOG_LIB_FIELDS_TABLE::DIALOG_LIB_FIELDS_TABLE(), and DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE().
|
protectedinherited |
Definition at line 328 of file dialog_shim.h.
Referenced by OnCharHook(), onChildSetFocus(), and SelectAllInTextCtrls().
|
private |
GAL-backed canvas showing the DIFF_SCENE shape rectangles.
Pick callbacks cross-probe to the tree.
Definition at line 128 of file dialog_kicad_diff.h.
Referenced by buildTree(), DIALOG_KICAD_DIFF(), DiffCanvas(), OnTreeItemMenu(), Reload(), showChange(), and SwitchCanvasToSheet().
|
private |
Maps tree item IDs to the underlying change record so selection can find the data without walking the diff again.
Group nodes have no entry here (selecting a group clears the property list).
Definition at line 120 of file dialog_kicad_diff.h.
Referenced by applyHiddenToTree(), buildTree(), OnTreeItemMenu(), OnTreeSelectionChanged(), and selectChangeById().
|
private |
Definition at line 138 of file dialog_kicad_diff.h.
Referenced by SetChangeSelectedHandler(), and showChange().
|
protectedinherited |
Definition at line 343 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), and OnMove().
|
private |
Definition at line 136 of file dialog_kicad_diff.h.
Referenced by CurrentCanvasSheet(), DIALOG_KICAD_DIFF(), Reload(), showChange(), and SwitchCanvasToSheet().
|
protectedinherited |
Definition at line 340 of file dialog_shim.h.
Referenced by doRedo(), doUndo(), recordControlChange(), registerUndoRedoHandlers(), and resetUndoRedoForNewContent().
|
private |
Definition at line 109 of file dialog_kicad_diff.h.
Referenced by buildTree(), changeRowIds(), DIALOG_KICAD_DIFF(), and Reload().
|
protectedinherited |
Definition at line 309 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), and OnPaint().
|
protectedinherited |
Definition at line 342 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), doRedo(), doUndo(), onCommandEvent(), onDataViewListChanged(), onGridCellChanged(), onPropertyGridChanged(), onSpinDoubleEvent(), onSpinEvent(), and onStyledTextChanged().
|
protectedinherited |
Definition at line 300 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_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_ODBPP::DIALOG_EXPORT_ODBPP(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GENCAD_EXPORT_OPTIONS::DIALOG_GENCAD_EXPORT_OPTIONS(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES(), DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT(), DIALOG_PLOT::DIALOG_PLOT(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), EDA_LIST_DIALOG::EDA_LIST_DIALOG(), EDA_REORDERABLE_LIST_DIALOG::EDA_REORDERABLE_LIST_DIALOG(), LoadControlState(), PAGED_DIALOG::PAGED_DIALOG(), resetSize(), SaveControlState(), 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().
|
private |
Changes the user has muted via the tree's right-click menu.
Definition at line 112 of file dialog_kicad_diff.h.
Referenced by applyHiddenToTree(), and OnTreeItemMenu().
|
protectedinherited |
Definition at line 310 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), NETLIST_DIALOG_ADD_GENERATOR::NETLIST_DIALOG_ADD_GENERATOR(), OnPaint(), and SetInitialFocus().
|
protectedinherited |
Definition at line 323 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), RULE_EDITOR_DIALOG_BASE::finishInitialization(), Show(), and DIALOG_DRC_RULE_EDITOR::TransferDataToWindow().
|
protectedinherited |
Definition at line 311 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), onChildSetFocus(), and ~DIALOG_SHIM().
|
privateinherited |
Definition at line 82 of file kiway_holder.h.
Referenced by HasKiway(), Kiway(), KIWAY_HOLDER(), and SetKiway().
|
protectedinherited |
Definition at line 41 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF_BASE().
|
protectedinherited |
Definition at line 39 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF_BASE().
|
protectedinherited |
Definition at line 48 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF::DIALOG_KICAD_DIFF(), DIALOG_KICAD_DIFF_BASE(), DIALOG_KICAD_DIFF::Reload(), and DIALOG_KICAD_DIFF::showChange().
|
protectedinherited |
Definition at line 49 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF::DIALOG_KICAD_DIFF(), DIALOG_KICAD_DIFF_BASE(), and DIALOG_KICAD_DIFF::showChange().
|
protectedinherited |
Definition at line 341 of file dialog_shim.h.
Referenced by ExcludeFromControlUndoRedo(), and registerUndoRedoHandlers().
|
protectedinherited |
Definition at line 47 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF::DIALOG_KICAD_DIFF(), and DIALOG_KICAD_DIFF_BASE().
|
protectedinherited |
Definition at line 45 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF::DIALOG_KICAD_DIFF(), and DIALOG_KICAD_DIFF_BASE().
|
protectedinherited |
Definition at line 318 of file dialog_shim.h.
Referenced by DIALOG_MAP_LAYERS::DIALOG_MAP_LAYERS(), DIALOG_SHIM(), focusParentCanvas(), OnCharHook(), DIALOG_LIB_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_SYMBOL_PROPERTIES::OnEditSpiceModel(), DIALOG_PAGES_SETTINGS::OnWksFileSelection(), DIALOG_PAD_PROPERTIES::padValuesOK(), DIALOG_MAP_LAYERS::RunModal(), DIALOG_LABEL_PROPERTIES::TransferDataFromWindow(), DIALOG_ANNOTATE::TransferDataToWindow(), DIALOG_POSITION_RELATIVE::updateAnchorInfo(), and DIALOG_ANNOTATE::~DIALOG_ANNOTATE().
|
protectedinherited |
Definition at line 42 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF::DIALOG_KICAD_DIFF(), DIALOG_KICAD_DIFF_BASE(), and DIALOG_KICAD_DIFF::Reload().
|
protectedinherited |
Definition at line 40 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF::DIALOG_KICAD_DIFF(), DIALOG_KICAD_DIFF_BASE(), and DIALOG_KICAD_DIFF::Reload().
|
protectedinherited |
Definition at line 313 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), EndQuasiModal(), and ShowQuasiModal().
|
protectedinherited |
Definition at line 316 of file dialog_shim.h.
Referenced by CleanupAfterModalSubDialog(), DIALOG_SHIM(), EndQuasiModal(), PrepareForModalSubDialog(), ShowQuasiModal(), and ~DIALOG_SHIM().
|
protectedinherited |
Definition at line 315 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), IsQuasiModal(), and ShowQuasiModal().
|
protectedinherited |
Definition at line 339 of file dialog_shim.h.
Referenced by doRedo(), doUndo(), recordControlChange(), and resetUndoRedoForNewContent().
|
private |
Definition at line 115 of file dialog_kicad_diff.h.
Referenced by SetRevisionChooser().
|
private |
Definition at line 114 of file dialog_kicad_diff.h.
Referenced by SetRevisionChooser().
|
inherited |
Definition at line 58 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF_BASE().
|
inherited |
Definition at line 59 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF_BASE(), and ~DIALOG_KICAD_DIFF_BASE().
|
private |
Lowercased free-text filter applied to typeName / refdes.
Empty string means no filter.
Definition at line 124 of file dialog_kicad_diff.h.
Referenced by buildTree(), and DIALOG_KICAD_DIFF().
|
protectedinherited |
Definition at line 43 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF_BASE().
|
private |
Definition at line 135 of file dialog_kicad_diff.h.
Referenced by DIALOG_KICAD_DIFF(), Reload(), showChange(), and SwitchCanvasToSheet().
|
protectedinherited |
Definition at line 44 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF_BASE(), and m_splitterOnIdle().
|
private |
True while a canvas click is propagating into the tree, so the tree- selection handler skips re-centering on a shape that is already under the cursor.
Definition at line 133 of file dialog_kicad_diff.h.
Referenced by DIALOG_KICAD_DIFF(), and showChange().
|
protectedinherited |
Definition at line 320 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_POSITION_RELATIVE(), DIALOG_SCH_FIND::DIALOG_SCH_FIND(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), and OnCharHook().
|
protectedinherited |
Definition at line 46 of file dialog_kicad_diff_base.h.
Referenced by DIALOG_KICAD_DIFF::applyHiddenToTree(), DIALOG_KICAD_DIFF::buildTree(), DIALOG_KICAD_DIFF::DIALOG_KICAD_DIFF(), DIALOG_KICAD_DIFF_BASE(), DIALOG_KICAD_DIFF::OnTreeItemMenu(), DIALOG_KICAD_DIFF::selectChangeById(), DIALOG_KICAD_DIFF::SwitchCanvasToSheet(), and ~DIALOG_KICAD_DIFF_BASE().
|
privateinherited |
Definition at line 83 of file kiway_holder.h.
Referenced by GetType(), and KIWAY_HOLDER().
|
protectedinherited |
Definition at line 338 of file dialog_shim.h.
Referenced by doRedo(), doUndo(), recordControlChange(), and resetUndoRedoForNewContent().
|
protectedinherited |
Definition at line 329 of file dialog_shim.h.
Referenced by LoadControlState(), RegisterUnitBinder(), SaveControlState(), UnregisterUnitBinder(), unregisterUnitBinders(), and ~DIALOG_SHIM().
|
protectedinherited |
Definition at line 299 of file dialog_shim.h.
Referenced by DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_SHIM(), GetUserUnits(), DIALOG_GEN_FOOTPRINT_POSITION::onGenerate(), and DIALOG_GENERATORS::onUnitsChanged().
|
protectedinherited |
Definition at line 304 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES(), PCB_ONE_LAYER_SELECTOR::PCB_ONE_LAYER_SELECTOR(), and Show().
|
protectedinherited |
Definition at line 324 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), OnMove(), and Show().
|
protectedinherited |
Definition at line 325 of file dialog_shim.h.
Referenced by DIALOG_SHIM(), OnSize(), and Show().