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

#include <dialog_board_reannotate.h>

Inheritance diagram for DIALOG_BOARD_REANNOTATE:
DIALOG_BOARD_REANNOTATE_BASE DIALOG_SHIM KIWAY_HOLDER

Public Types

enum  HOLDER_TYPE { DIALOG , FRAME , PANEL }
 

Public Member Functions

 DIALOG_BOARD_REANNOTATE (PCB_EDIT_FRAME *aParentFrame)
 
 ~DIALOG_BOARD_REANNOTATE ()
 
void SetInitialFocus (wxWindow *aWindow)
 Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown. More...
 
int ShowQuasiModal ()
 
void EndQuasiModal (int retCode)
 
bool IsQuasiModal () const
 
bool Show (bool show) override
 
bool Enable (bool enable) override
 
void OnPaint (wxPaintEvent &event)
 
void OnModify ()
 
void SetPosition (const wxPoint &aNewPosition)
 Force the position of the dialog to a new position. More...
 
EDA_UNITS GetUserUnits () const
 
void SelectAllInTextCtrls (wxWindowList &children)
 
void SetupStandardButtons (std::map< int, wxString > aLabels={})
 
HOLDER_TYPE GetType () const
 
KIWAYKiway () const
 Return a reference to the KIWAY that this object has an opportunity to participate in. More...
 
bool HasKiway () const
 Safety check before asking for the Kiway reference. More...
 
PROJECTPrj () const
 Return a reference to the PROJECT associated with this KIWAY. More...
 
void SetKiway (wxWindow *aDest, KIWAY *aKiway)
 It is only used for debugging, since "this" is not a wxWindow*. More...
 

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. More...
 
void setSizeInDU (int x, int y)
 Set the dialog to the given dimensions in "dialog units". More...
 
int horizPixelsFromDU (int x) const
 Convert an integer number of dialog units to pixels, horizontally. More...
 
int vertPixelsFromDU (int y) const
 Convert an integer number of dialog units to pixels, vertically. More...
 
void resetSize ()
 Clear the existing dialog size and position. More...
 
virtual void OnCharHook (wxKeyEvent &aEvt)
 

Protected Attributes

wxNotebook * m_notebook
 
wxPanel * m_StandardOptions
 
wxStaticLine * m_staticline1
 
wxRadioButton * m_Down_Right
 
wxStaticBitmap * reannotate_down_right_bitmap
 
wxRadioButton * m_Right_Down
 
wxStaticBitmap * reannotate_right_down_bitmap
 
wxRadioButton * m_Down_Left
 
wxStaticBitmap * reannotate_down_left_bitmap
 
wxRadioButton * m_Left_Down
 
wxStaticBitmap * reannotate_left_down_bitmap
 
wxRadioButton * m_Up_Right
 
wxStaticBitmap * reannotate_up_right_bitmap
 
wxRadioButton * m_Right_Up
 
wxStaticBitmap * reannotate_right_up_bitmap
 
wxRadioButton * m_Up_Left
 
wxStaticBitmap * reannotate_up_left_bitmap
 
wxRadioButton * m_Left_Up
 
wxStaticBitmap * reannotate_left_up_bitmap
 
wxStaticText * m_staticText9
 
wxChoice * m_locationChoice
 
wxStaticText * m_SortGridText
 
wxChoice * m_GridChoice
 
wxStaticLine * m_staticline2
 
wxRadioButton * m_AnnotateAll
 
wxRadioButton * m_AnnotateFront
 
wxRadioButton * m_AnnotateBack
 
wxRadioButton * m_AnnotateSelection
 
wxPanel * m_Advanced
 
wxStaticText * m_FrontRefDesStartText
 
wxTextCtrl * m_FrontRefDesStart
 
wxStaticText * m_BottomRefDesStartText
 
wxTextCtrl * m_BackRefDesStart
 
wxCheckBox * m_RemoveFrontPrefix
 
wxCheckBox * m_RemoveBackPrefix
 
wxStaticText * m_FrontPrefixText
 
wxTextCtrl * m_FrontPrefix
 
wxStaticText * m_BackPrefixText
 
wxTextCtrl * m_BackPrefix
 
wxCheckBox * m_ExcludeLocked
 
wxStaticText * m_ExcludeListText
 
wxTextCtrl * m_ExcludeList
 
WX_HTML_REPORT_PANELm_MessageWindow
 
wxStdDialogButtonSizer * m_sdbSizer
 
wxButton * m_sdbSizerOK
 
wxButton * m_sdbSizerCancel
 
EDA_UNITS m_units
 
std::string m_hash_key
 
bool m_useCalculatedSize
 
bool m_firstPaintEvent
 
wxWindow * m_initialFocusTarget
 
bool m_isClosing
 
WX_EVENT_LOOPm_qmodal_loop
 
bool m_qmodal_showing
 
WDO_ENABLE_DISABLEm_qmodal_parent_disabler
 
EDA_BASE_FRAMEm_parentFrame
 
std::vector< wxWindow * > m_tabOrder
 
wxSize m_initialSize
 
std::map< wxWindow *, wxString > m_beforeEditValues
 

Private Member Functions

void GetParameters (void)
 
void InitValues (void)
 Copy saved app settings to the dialog. More...
 
void OnApplyClick (wxCommandEvent &event) override
 
void OnCloseClick (wxCommandEvent &event) override
 
void FilterFrontPrefix (wxCommandEvent &event) override
 
void FilterBackPrefix (wxCommandEvent &event) override
 
void ShowReport (const wxString &aMessage, SEVERITY aSeverity)
 Break report into strings separated by
and sent to the reporter. More...
 
void LogFootprints (const wxString &aMessage, const std::vector< REFDES_INFO > &aFootprints)
 Create a list of the footprints and their coordinates. More...
 
void LogChangePlan (void)
 Create an audit trail of the changes. More...
 
bool ReannotateBoard (void)
 Actually reannotate the board. More...
 
bool BuildFootprintList (std::vector< REFDES_INFO > &aBadRefDes)
 Build the footprint lists, sort it, filter for excludes, then build the change list. More...
 
void BuildUnavailableRefsList ()
 Build list of unavailable references. E.g. unselected footprints or locked footprints. More...
 
void BuildChangeArray (std::vector< REFDES_INFO > &aFootprints, unsigned int aStartRefDes, const wxString &aPrefix, bool aRemovePrefix, std::vector< REFDES_INFO > &aBadRefDes)
 Scan through the footprint arrays and create the from -> to array. More...
 
REFDES_CHANGEGetNewRefDes (FOOTPRINT *aFootprint)
 
int RoundToGrid (int aCoord, int aGrid)
 Round an int coordinate to a suitable grid. More...
 
wxString CoordTowxString (int aX, int aY)
 Convert coordinates to wxString. More...
 
void MakeSampleText (wxString &aMessage)
 Make the text to summarize what is about to happen. More...
 
void FilterPrefix (wxTextCtrl *aPrefix)
 Check to make sure the prefix (if there is one) is properly constructed. More...
 
REFDES_TYPE_STRGetOrBuildRefDesInfo (const wxString &aRefDesPrefix, unsigned int aStartRefDes=0)
 Get the structure representing the information currently held for aRefDesPrefix or create one if it doesn't exist. More...
 
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. More...
 
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. More...
 
void onChildSetFocus (wxFocusEvent &aEvent)
 
 DECLARE_EVENT_TABLE ()
 

Private Attributes

std::vector< wxRadioButton * > m_sortButtons
 
std::vector< wxRadioButton * > m_scopeRadioButtons
 
std::vector< wxStaticBitmap * > Bitmaps
 
PCB_EDIT_FRAMEm_frame
 
FOOTPRINTS m_footprints
 
PCB_SELECTION m_selection
 
std::vector< REFDES_CHANGEm_changeArray
 
std::vector< REFDES_INFOm_frontFootprints
 
std::vector< REFDES_INFOm_backFootprints
 
std::vector< REFDES_TYPE_STRm_refDesTypes
 
std::vector< wxString > m_excludeArray
 
int m_sortCode
 
int m_gridIndex
 
int m_annotationScope
 
int m_severity
 
double m_sortGridx
 
double m_sortGridy
 
wxString m_frontPrefixString
 
wxString m_backPrefixString
 
wxString m_validPrefixes
 
APP_SETTINGS_BASEm_settings
 
APP_SETTINGS_BASEm_Config
 
KIWAYm_kiway
 
HOLDER_TYPE m_type
 

Detailed Description

Definition at line 98 of file dialog_board_reannotate.h.

Member Enumeration Documentation

◆ HOLDER_TYPE

enum KIWAY_HOLDER::HOLDER_TYPE
inherited
Enumerator
DIALOG 
FRAME 
PANEL 

Definition at line 41 of file kiway_holder.h.

Constructor & Destructor Documentation

◆ DIALOG_BOARD_REANNOTATE()

DIALOG_BOARD_REANNOTATE::DIALOG_BOARD_REANNOTATE ( PCB_EDIT_FRAME aParentFrame)

Definition at line 101 of file dialog_board_reannotate.cpp.

References _, ANNOTATE_SELECTED, GRID_MENU::BuildChoiceList(), EDA_BASE_FRAME::config(), SELECTION::Empty(), DIALOG_SHIM::finishDialogSettings(), PCB_BASE_FRAME::GetCanvas(), EDA_DRAW_PANEL_GAL::GetGAL(), KIGFX::GAL::GetGridSize(), TOOL_MANAGER::GetTool(), TOOLS_HOLDER::GetToolManager(), WINDOW_SETTINGS::grid, InitValues(), KiBitmapBundle(), Kiface(), KIFACE_BASE::KifaceSettings(), GRID_SETTINGS::last_size_idx, m_annotationScope, DIALOG_BOARD_REANNOTATE_BASE::m_BackRefDesStart, m_Config, DIALOG_BOARD_REANNOTATE_BASE::m_ExcludeList, DIALOG_BOARD_REANNOTATE_BASE::m_ExcludeListText, m_frame, DIALOG_BOARD_REANNOTATE_BASE::m_FrontRefDesStart, DIALOG_BOARD_REANNOTATE_BASE::m_GridChoice, m_gridIndex, DIALOG_BOARD_REANNOTATE_BASE::m_MessageWindow, m_scopeRadioButtons, DIALOG_BOARD_REANNOTATE_BASE::m_sdbSizer, DIALOG_BOARD_REANNOTATE_BASE::m_sdbSizerCancel, DIALOG_BOARD_REANNOTATE_BASE::m_sdbSizerOK, m_selection, m_settings, m_sortButtons, m_sortCode, DIALOG_BOARD_REANNOTATE_BASE::m_SortGridText, m_sortGridx, m_sortGridy, APP_SETTINGS_BASE::m_Window, KIWAY_HOLDER::Prj(), DIALOG_BOARD_REANNOTATE_BASE::reannotate_down_left_bitmap, DIALOG_BOARD_REANNOTATE_BASE::reannotate_down_right_bitmap, DIALOG_BOARD_REANNOTATE_BASE::reannotate_left_down_bitmap, DIALOG_BOARD_REANNOTATE_BASE::reannotate_left_up_bitmap, DIALOG_BOARD_REANNOTATE_BASE::reannotate_right_down_bitmap, DIALOG_BOARD_REANNOTATE_BASE::reannotate_right_up_bitmap, DIALOG_BOARD_REANNOTATE_BASE::reannotate_up_left_bitmap, DIALOG_BOARD_REANNOTATE_BASE::reannotate_up_right_bitmap, WX_HTML_REPORT_PANEL::SetFileName(), VECTOR2< T >::x, and VECTOR2< T >::y.

◆ ~DIALOG_BOARD_REANNOTATE()

DIALOG_BOARD_REANNOTATE::~DIALOG_BOARD_REANNOTATE ( )

Member Function Documentation

◆ BuildChangeArray()

void DIALOG_BOARD_REANNOTATE::BuildChangeArray ( std::vector< REFDES_INFO > &  aFootprints,
unsigned int  aStartRefDes,
const wxString &  aPrefix,
bool  aRemovePrefix,
std::vector< REFDES_INFO > &  aBadRefDes 
)
private

◆ BuildFootprintList()

bool DIALOG_BOARD_REANNOTATE::BuildFootprintList ( std::vector< REFDES_INFO > &  aBadRefDes)
private

Build the footprint lists, sort it, filter for excludes, then build the change list.

Returns
true if success, false if errors

Definition at line 647 of file dialog_board_reannotate.cpp.

References _, REFDES_INFO::Action, BackDirectionsArray, BuildChangeArray(), BuildUnavailableRefsList(), ChangeArrayCompare(), EMPTY_REFDES, EXCLUDE_REFDES, F_Cu, BOARD::Footprints(), REFDES_INFO::FPID, REFDES_INFO::Front, FrontDirectionsArray, PCB_BASE_FRAME::GetBoard(), INVALID_REFDES, LogChangePlan(), DIALOG_BOARD_REANNOTATE_BASE::m_AnnotateBack, DIALOG_BOARD_REANNOTATE_BASE::m_AnnotateFront, DIALOG_BOARD_REANNOTATE_BASE::m_AnnotateSelection, m_backFootprints, DIALOG_BOARD_REANNOTATE_BASE::m_BackPrefix, DIALOG_BOARD_REANNOTATE_BASE::m_BackRefDesStart, m_changeArray, m_excludeArray, DIALOG_BOARD_REANNOTATE_BASE::m_ExcludeList, DIALOG_BOARD_REANNOTATE_BASE::m_ExcludeLocked, m_footprints, m_frame, m_frontFootprints, DIALOG_BOARD_REANNOTATE_BASE::m_FrontPrefix, DIALOG_BOARD_REANNOTATE_BASE::m_FrontRefDesStart, DIALOG_BOARD_REANNOTATE_BASE::m_locationChoice, m_refDesTypes, DIALOG_BOARD_REANNOTATE_BASE::m_RemoveBackPrefix, DIALOG_BOARD_REANNOTATE_BASE::m_RemoveFrontPrefix, m_selection, m_sortCode, m_sortGridx, m_sortGridy, MAXERROR, ModuleCompare(), PCB_FOOTPRINT_T, REFDES_INFO::RefDesString, REFDES_INFO::RefDesType, REFDES_INFO::roundedx, REFDES_INFO::roundedy, RoundToGrid(), RPT_SEVERITY_ERROR, SetSortCodes, ShowReport(), UPDATE_REFDES, REFDES_INFO::Uuid, REFDES_INFO::x, and REFDES_INFO::y.

Referenced by ReannotateBoard().

◆ BuildUnavailableRefsList()

void DIALOG_BOARD_REANNOTATE::BuildUnavailableRefsList ( )
private

Build list of unavailable references. E.g. unselected footprints or locked footprints.

Definition at line 824 of file dialog_board_reannotate.cpp.

References EXCLUDE_REFDES, GetOrBuildRefDesInfo(), UTIL::GetRefDesNumber(), m_backFootprints, m_frontFootprints, and REFDES_TYPE_STR::UnavailableRefs.

Referenced by BuildFootprintList().

◆ CoordTowxString()

wxString DIALOG_BOARD_REANNOTATE::CoordTowxString ( int  aX,
int  aY 
)
private

Convert coordinates to wxString.

Returns
the string

Definition at line 500 of file dialog_board_reannotate.cpp.

References m_frame, and UNITS_PROVIDER::MessageTextFromValue().

Referenced by LogFootprints(), and ReannotateBoard().

◆ DECLARE_EVENT_TABLE()

DIALOG_SHIM::DECLARE_EVENT_TABLE ( )
privateinherited

◆ Enable()

bool DIALOG_SHIM::Enable ( bool  enable)
overrideinherited

Definition at line 361 of file dialog_shim.cpp.

◆ EndQuasiModal()

◆ FilterBackPrefix()

void DIALOG_BOARD_REANNOTATE::FilterBackPrefix ( wxCommandEvent &  event)
overrideprivatevirtual

◆ FilterFrontPrefix()

void DIALOG_BOARD_REANNOTATE::FilterFrontPrefix ( wxCommandEvent &  event)
overrideprivatevirtual

◆ FilterPrefix()

void DIALOG_BOARD_REANNOTATE::FilterPrefix ( wxTextCtrl *  aPrefix)
private

Check to make sure the prefix (if there is one) is properly constructed.

Definition at line 235 of file dialog_board_reannotate.cpp.

References VALIDPREFIX.

Referenced by FilterBackPrefix(), and FilterFrontPrefix().

◆ finishDialogSettings()

void DIALOG_SHIM::finishDialogSettings ( )
protectedinherited

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

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

Definition at line 186 of file dialog_shim.cpp.

Referenced by CONVERT_SETTINGS_DIALOG::CONVERT_SETTINGS_DIALOG(), DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_ASSIGN_NETCLASS::DIALOG_ASSIGN_NETCLASS(), DIALOG_BOARD_REANNOTATE(), DIALOG_BOARD_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_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_3DFILE::DIALOG_EXPORT_3DFILE(), DIALOG_EXPORT_IDF3::DIALOG_EXPORT_IDF3(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_EXPORT_SVG::DIALOG_EXPORT_SVG(), DIALOG_FOOTPRINT_CHECKER::DIALOG_FOOTPRINT_CHECKER(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_GENCAD_EXPORT_OPTIONS::DIALOG_GENCAD_EXPORT_OPTIONS(), DIALOG_GIT_SWITCH::DIALOG_GIT_SWITCH(), DIALOG_GLOBAL_EDIT_TEARDROPS::DIALOG_GLOBAL_EDIT_TEARDROPS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS(), DIALOG_GLOBAL_LIB_TABLE_CONFIG::DIALOG_GLOBAL_LIB_TABLE_CONFIG(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_IBIS_PARSER_REPORTER::DIALOG_IBIS_PARSER_REPORTER(), DIALOG_IMAGE_PROPERTIES::DIALOG_IMAGE_PROPERTIES(), DIALOG_IMPORT_CHOOSE_PROJECT::DIALOG_IMPORT_CHOOSE_PROJECT(), DIALOG_IMPORT_NETLIST::DIALOG_IMPORT_NETLIST(), DIALOG_IMPORTED_LAYERS::DIALOG_IMPORTED_LAYERS(), DIALOG_INSPECTOR::DIALOG_INSPECTOR(), DIALOG_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES(), DIALOG_LIB_NEW_SYMBOL::DIALOG_LIB_NEW_SYMBOL(), DIALOG_LIB_SHAPE_PROPERTIES::DIALOG_LIB_SHAPE_PROPERTIES(), DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES(), DIALOG_LIB_TEXT_PROPERTIES::DIALOG_LIB_TEXT_PROPERTIES(), DIALOG_LIB_TEXTBOX_PROPERTIES::DIALOG_LIB_TEXTBOX_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_MOVE_EXACT::DIALOG_MOVE_EXACT(), DIALOG_NON_COPPER_ZONES_EDITOR::DIALOG_NON_COPPER_ZONES_EDITOR(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PASTE_SPECIAL::DIALOG_PASTE_SPECIAL(), DIALOG_PCM::DIALOG_PCM(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_PNS_SETTINGS::DIALOG_PNS_SETTINGS(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_PRINT_GENERIC::DIALOG_PRINT_GENERIC(), DIALOG_PRINT_PCBNEW::DIALOG_PRINT_PCBNEW(), DIALOG_PRINT_USING_PRINTER::DIALOG_PRINT_USING_PRINTER(), DIALOG_PUSH_PAD_PROPERTIES::DIALOG_PUSH_PAD_PROPERTIES(), DIALOG_REFERENCE_IMAGE_PROPERTIES::DIALOG_REFERENCE_IMAGE_PROPERTIES(), DIALOG_REGULATOR_FORM::DIALOG_REGULATOR_FORM(), DIALOG_RULE_AREA_PROPERTIES::DIALOG_RULE_AREA_PROPERTIES(), DIALOG_SCHEMATIC_SETUP::DIALOG_SCHEMATIC_SETUP(), DIALOG_SELECT_3DMODEL::DIALOG_SELECT_3DMODEL(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SIM_MODEL< T_symbol, T_field >::DIALOG_SIM_MODEL(), DIALOG_SWAP_LAYERS::DIALOG_SWAP_LAYERS(), 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_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_FIELD_PROPERTIES::init(), DIALOG_EDIT_LIBRARY_TABLES::InstallPanel(), NETLIST_VIEW_DIALOG::NETLIST_VIEW_DIALOG(), DIALOG_SHEET_PROPERTIES::OnInitDlg(), DIALOG_SIM_COMMAND::onInitDlg(), DIALOG_SYMBOL_PROPERTIES::OnInitDlg(), DIALOG_COLOR_PICKER::TransferDataToWindow(), DIALOG_BOARD_STATISTICS::TransferDataToWindow(), and DIALOG_FOOTPRINT_ASSOCIATIONS::TransferDataToWindow().

◆ GetNewRefDes()

REFDES_CHANGE * DIALOG_BOARD_REANNOTATE::GetNewRefDes ( FOOTPRINT aFootprint)
private
Returns
the new reference for this footprint.

Definition at line 920 of file dialog_board_reannotate.cpp.

References _, FOOTPRINT::GetReference(), m_changeArray, EDA_ITEM::m_Uuid, RPT_SEVERITY_ERROR, and ShowReport().

Referenced by ReannotateBoard().

◆ GetOrBuildRefDesInfo()

REFDES_TYPE_STR * DIALOG_BOARD_REANNOTATE::GetOrBuildRefDesInfo ( const wxString &  aRefDesPrefix,
unsigned int  aStartRefDes = 0 
)
private

Get the structure representing the information currently held for aRefDesPrefix or create one if it doesn't exist.

Definition at line 257 of file dialog_board_reannotate.cpp.

References REFDES_TYPE_STR::LastUsedRefDes, m_refDesTypes, and REFDES_TYPE_STR::RefDesType.

Referenced by BuildChangeArray(), and BuildUnavailableRefsList().

◆ GetParameters()

◆ GetType()

HOLDER_TYPE KIWAY_HOLDER::GetType ( ) const
inlineinherited

Definition at line 48 of file kiway_holder.h.

Referenced by DIALOG_SHIM::DIALOG_SHIM().

◆ GetUserUnits()

◆ HasKiway()

bool KIWAY_HOLDER::HasKiway ( ) const
inlineinherited

Safety check before asking for the Kiway reference.

Returns
true if kiway is non-null

Definition at line 65 of file kiway_holder.h.

Referenced by DIALOG_SHIM::~DIALOG_SHIM().

◆ horizPixelsFromDU()

int DIALOG_SHIM::horizPixelsFromDU ( int  x) const
protectedinherited

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

See SetSizeInDU or wxDialog documentation for more information.

Definition at line 204 of file dialog_shim.cpp.

Referenced by DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE().

◆ InitValues()

void DIALOG_BOARD_REANNOTATE::InitValues ( void  )
private

Copy saved app settings to the dialog.

Definition at line 207 of file dialog_board_reannotate.cpp.

References PCBNEW_SETTINGS::DIALOG_REANNOTATE::annotation_choice, PCBNEW_SETTINGS::DIALOG_REANNOTATE::back_prefix, PCBNEW_SETTINGS::DIALOG_REANNOTATE::back_refdes_start, PCBNEW_SETTINGS::DIALOG_REANNOTATE::exclude_list, PCBNEW_SETTINGS::DIALOG_REANNOTATE::exclude_locked, PCBNEW_SETTINGS::DIALOG_REANNOTATE::front_prefix, PCBNEW_SETTINGS::DIALOG_REANNOTATE::front_refdes_start, PCB_BASE_FRAME::GetPcbNewSettings(), PCBNEW_SETTINGS::DIALOG_REANNOTATE::grid_index, m_annotationScope, DIALOG_BOARD_REANNOTATE_BASE::m_BackPrefix, DIALOG_BOARD_REANNOTATE_BASE::m_BackRefDesStart, DIALOG_BOARD_REANNOTATE_BASE::m_ExcludeList, DIALOG_BOARD_REANNOTATE_BASE::m_ExcludeLocked, m_frame, DIALOG_BOARD_REANNOTATE_BASE::m_FrontPrefix, DIALOG_BOARD_REANNOTATE_BASE::m_FrontRefDesStart, m_gridIndex, DIALOG_BOARD_REANNOTATE_BASE::m_locationChoice, DIALOG_BOARD_REANNOTATE_BASE::m_MessageWindow, PCBNEW_SETTINGS::m_Reannotate, DIALOG_BOARD_REANNOTATE_BASE::m_RemoveBackPrefix, DIALOG_BOARD_REANNOTATE_BASE::m_RemoveFrontPrefix, m_severity, m_sortCode, PCBNEW_SETTINGS::DIALOG_REANNOTATE::remove_back_prefix, PCBNEW_SETTINGS::DIALOG_REANNOTATE::remove_front_prefix, PCBNEW_SETTINGS::DIALOG_REANNOTATE::report_file_name, PCBNEW_SETTINGS::DIALOG_REANNOTATE::report_severity, WX_HTML_REPORT_PANEL::SetFileName(), PCBNEW_SETTINGS::DIALOG_REANNOTATE::sort_code, and PCBNEW_SETTINGS::DIALOG_REANNOTATE::sort_on_fp_location.

Referenced by DIALOG_BOARD_REANNOTATE().

◆ IsCtrl()

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

Definition at line 132 of file dialog_shim.h.

◆ IsQuasiModal()

◆ IsShiftCtrl()

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

Definition at line 138 of file dialog_shim.h.

◆ Kiway()

KIWAY & KIWAY_HOLDER::Kiway ( ) const
inlineinherited

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

A KIWAY_HOLDER is not necessarily a KIWAY_PLAYER.

Definition at line 55 of file kiway_holder.h.

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

◆ LogChangePlan()

void DIALOG_BOARD_REANNOTATE::LogChangePlan ( void  )
private

Create an audit trail of the changes.

Definition at line 519 of file dialog_board_reannotate.cpp.

References _, ActionMessage, m_changeArray, m_excludeArray, m_refDesTypes, RPT_SEVERITY_INFO, ShowReport(), and UPDATE_REFDES.

Referenced by BuildFootprintList().

◆ LogFootprints()

void DIALOG_BOARD_REANNOTATE::LogFootprints ( const wxString &  aMessage,
const std::vector< REFDES_INFO > &  aFootprints 
)
private

Create a list of the footprints and their coordinates.

Definition at line 557 of file dialog_board_reannotate.cpp.

References _, CoordTowxString(), DIALOG_BOARD_REANNOTATE_BASE::m_locationChoice, m_sortCode, RPT_SEVERITY_INFO, and ShowReport().

Referenced by BuildChangeArray().

◆ MakeSampleText()

◆ OnApplyClick()

◆ OnButton()

void DIALOG_SHIM::OnButton ( wxCommandEvent &  aEvent)
privateinherited

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

Definition at line 590 of file dialog_shim.cpp.

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

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

◆ OnCharHook()

◆ onChildSetFocus()

void DIALOG_SHIM::onChildSetFocus ( wxFocusEvent &  aEvent)
privateinherited

◆ OnClose()

virtual void DIALOG_BOARD_REANNOTATE_BASE::OnClose ( wxCloseEvent &  event)
inlineprotectedvirtualinherited

◆ OnCloseClick()

void DIALOG_BOARD_REANNOTATE::OnCloseClick ( wxCommandEvent &  event)
overrideprivatevirtual

Reimplemented from DIALOG_BOARD_REANNOTATE_BASE.

Definition at line 229 of file dialog_board_reannotate.cpp.

◆ OnCloseWindow()

void DIALOG_SHIM::OnCloseWindow ( wxCloseEvent &  aEvent)
privateinherited

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

Definition at line 577 of file dialog_shim.cpp.

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

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

◆ OnModify()

◆ OnPaint()

◆ Prj()

PROJECT & KIWAY_HOLDER::Prj ( ) const
inherited

Return a reference to the PROJECT associated with this KIWAY.

Definition at line 36 of file kiway_holder.cpp.

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

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

◆ ReannotateBoard()

bool DIALOG_BOARD_REANNOTATE::ReannotateBoard ( void  )
private

◆ resetSize()

void DIALOG_SHIM::resetSize ( )
protectedinherited

Clear the existing dialog size and position.

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

Definition at line 336 of file dialog_shim.cpp.

References class_map, and DIALOG_SHIM::m_hash_key.

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

◆ RoundToGrid()

int DIALOG_BOARD_REANNOTATE::RoundToGrid ( int  aCoord,
int  aGrid 
)
private

Round an int coordinate to a suitable grid.

Definition at line 444 of file dialog_board_reannotate.cpp.

References MINGRID.

Referenced by BuildFootprintList().

◆ SelectAllInTextCtrls()

void DIALOG_SHIM::SelectAllInTextCtrls ( wxWindowList &  children)
inherited

◆ SetInitialFocus()

void DIALOG_SHIM::SetInitialFocus ( wxWindow *  aWindow)
inlineinherited

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

Definition at line 98 of file dialog_shim.h.

Referenced by DIALOG_BOM::DIALOG_BOM(), DIALOG_CONFIGURE_PATHS::DIALOG_CONFIGURE_PATHS(), DIALOG_FIND::DIALOG_FIND(), DIALOG_FOOTPRINT_CHOOSER::DIALOG_FOOTPRINT_CHOOSER(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_GET_FOOTPRINT_BY_NAME::DIALOG_GET_FOOTPRINT_BY_NAME(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_IMPORT_GFX_SCH::DIALOG_IMPORT_GFX_SCH(), DIALOG_IMPORT_GRAPHICS::DIALOG_IMPORT_GRAPHICS(), DIALOG_JUNCTION_PROPS::DIALOG_JUNCTION_PROPS(), DIALOG_LABEL_PROPERTIES::DIALOG_LABEL_PROPERTIES(), DIALOG_LIB_SHAPE_PROPERTIES::DIALOG_LIB_SHAPE_PROPERTIES(), DIALOG_LIB_TEXT_PROPERTIES::DIALOG_LIB_TEXT_PROPERTIES(), DIALOG_LIB_TEXTBOX_PROPERTIES::DIALOG_LIB_TEXTBOX_PROPERTIES(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_LOCKED_ITEMS_QUERY::DIALOG_LOCKED_ITEMS_QUERY(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_PLUGIN_OPTIONS::DIALOG_PLUGIN_OPTIONS(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_SCH_FIND::DIALOG_SCH_FIND(), DIALOG_SHAPE_PROPERTIES::DIALOG_SHAPE_PROPERTIES(), DIALOG_SHEET_PIN_PROPERTIES::DIALOG_SHEET_PIN_PROPERTIES(), DIALOG_SYMBOL_CHOOSER::DIALOG_SYMBOL_CHOOSER(), DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE(), DIALOG_TARGET_PROPERTIES::DIALOG_TARGET_PROPERTIES(), DIALOG_TEXT_PROPERTIES::DIALOG_TEXT_PROPERTIES(), DIALOG_TEXTBOX_PROPERTIES::DIALOG_TEXTBOX_PROPERTIES(), DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES(), DIALOG_WIRE_BUS_PROPERTIES::DIALOG_WIRE_BUS_PROPERTIES(), EDA_VIEW_SWITCHER::EDA_VIEW_SWITCHER(), HK_PROMPT_DIALOG::HK_PROMPT_DIALOG(), DIALOG_FIELD_PROPERTIES::init(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchAllClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchIDClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchRefClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchSelectedClicked(), DIALOG_EXCHANGE_FOOTPRINTS::OnMatchValueClicked(), PANEL_FP_LIB_TABLE::PANEL_FP_LIB_TABLE(), PANEL_SYM_LIB_TABLE::PANEL_SYM_LIB_TABLE(), SAVE_AS_DIALOG::SAVE_AS_DIALOG(), DIALOG_COPPER_ZONE::TransferDataToWindow(), DIALOG_NON_COPPER_ZONES_EDITOR::TransferDataToWindow(), DIALOG_RULE_AREA_PROPERTIES::TransferDataToWindow(), WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG(), WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG(), and WX_UNIT_ENTRY_DIALOG::WX_UNIT_ENTRY_DIALOG().

◆ SetKiway()

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

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

"this" is a KIWAY_HOLDER mix-in.

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

Definition at line 43 of file kiway_holder.cpp.

References ignore_unused(), KIWAY_HOLDER::m_kiway, and name.

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

◆ SetPosition()

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

Force the position of the dialog to a new position.

Parameters
aNewPositionis the new forced position

Definition at line 225 of file dialog_shim.cpp.

References class_map, and DIALOG_SHIM::m_hash_key.

Referenced by PCB_BASE_FRAME::SelectOneLayer().

◆ setSizeInDU()

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

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

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

Definition at line 197 of file dialog_shim.cpp.

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

◆ SetupStandardButtons()

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

Definition at line 789 of file dialog_shim.cpp.

References recursiveDescent().

Referenced by CONVERT_SETTINGS_DIALOG::CONVERT_SETTINGS_DIALOG(), DIALOG_ANNOTATE::DIALOG_ANNOTATE(), DIALOG_ASSIGN_NETCLASS::DIALOG_ASSIGN_NETCLASS(), DIALOG_BOM::DIALOG_BOM(), DIALOG_BOOK_REPORTER::DIALOG_BOOK_REPORTER(), DIALOG_CHANGE_SYMBOLS::DIALOG_CHANGE_SYMBOLS(), DIALOG_CLEANUP_GRAPHICS::DIALOG_CLEANUP_GRAPHICS(), DIALOG_COLOR_PICKER::DIALOG_COLOR_PICKER(), DIALOG_CONFIG_EQUFILES::DIALOG_CONFIG_EQUFILES(), DIALOG_CONFIGURE_PATHS::DIALOG_CONFIGURE_PATHS(), DIALOG_COPPER_ZONE::DIALOG_COPPER_ZONE(), DIALOG_CREATE_ARRAY::DIALOG_CREATE_ARRAY(), DIALOG_DATABASE_LIB_SETTINGS::DIALOG_DATABASE_LIB_SETTINGS(), DIALOG_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_EXPORT_2581::DIALOG_EXPORT_2581(), DIALOG_EXPORT_3DFILE::DIALOG_EXPORT_3DFILE(), DIALOG_EXPORT_IDF3::DIALOG_EXPORT_IDF3(), DIALOG_EXPORT_NETLIST::DIALOG_EXPORT_NETLIST(), DIALOG_EXPORT_STEP::DIALOG_EXPORT_STEP(), DIALOG_EXPORT_SVG::DIALOG_EXPORT_SVG(), DIALOG_FILTER_SELECTION::DIALOG_FILTER_SELECTION(), DIALOG_FOOTPRINT_CHECKER::DIALOG_FOOTPRINT_CHECKER(), DIALOG_FOOTPRINT_CHOOSER::DIALOG_FOOTPRINT_CHOOSER(), DIALOG_FOOTPRINT_PROPERTIES::DIALOG_FOOTPRINT_PROPERTIES(), DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR::DIALOG_FOOTPRINT_PROPERTIES_FP_EDITOR(), DIALOG_FOOTPRINT_WIZARD_LIST::DIALOG_FOOTPRINT_WIZARD_LIST(), DIALOG_GEN_FOOTPRINT_POSITION::DIALOG_GEN_FOOTPRINT_POSITION(), DIALOG_GENDRILL::DIALOG_GENDRILL(), DIALOG_GET_FOOTPRINT_BY_NAME::DIALOG_GET_FOOTPRINT_BY_NAME(), DIALOG_GIT_COMMIT::DIALOG_GIT_COMMIT(), DIALOG_GIT_REPOSITORY::DIALOG_GIT_REPOSITORY(), DIALOG_GLOBAL_DELETION::DIALOG_GLOBAL_DELETION(), DIALOG_GLOBAL_EDIT_TEARDROPS::DIALOG_GLOBAL_EDIT_TEARDROPS(), DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS::DIALOG_GLOBAL_EDIT_TEXT_AND_GRAPHICS(), DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS::DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS(), DIALOG_GLOBAL_LIB_TABLE_CONFIG::DIALOG_GLOBAL_LIB_TABLE_CONFIG(), DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS(), DIALOG_GROUP_PROPERTIES::DIALOG_GROUP_PROPERTIES(), DIALOG_IBIS_PARSER_REPORTER::DIALOG_IBIS_PARSER_REPORTER(), DIALOG_IMAGE_PROPERTIES::DIALOG_IMAGE_PROPERTIES(), DIALOG_IMPORT_CHOOSE_PROJECT::DIALOG_IMPORT_CHOOSE_PROJECT(), DIALOG_IMPORT_GFX_SCH::DIALOG_IMPORT_GFX_SCH(), DIALOG_IMPORT_GRAPHICS::DIALOG_IMPORT_GRAPHICS(), DIALOG_IMPORT_NETLIST::DIALOG_IMPORT_NETLIST(), DIALOG_IMPORT_SETTINGS::DIALOG_IMPORT_SETTINGS(), DIALOG_IMPORTED_LAYERS::DIALOG_IMPORTED_LAYERS(), 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_SHAPE_PROPERTIES::DIALOG_LIB_SHAPE_PROPERTIES(), DIALOG_LIB_SYMBOL_PROPERTIES::DIALOG_LIB_SYMBOL_PROPERTIES(), DIALOG_LIB_TEXT_PROPERTIES::DIALOG_LIB_TEXT_PROPERTIES(), DIALOG_LIB_TEXTBOX_PROPERTIES::DIALOG_LIB_TEXTBOX_PROPERTIES(), DIALOG_LINE_PROPERTIES::DIALOG_LINE_PROPERTIES(), DIALOG_LOCKED_ITEMS_QUERY::DIALOG_LOCKED_ITEMS_QUERY(), DIALOG_MIGRATE_SETTINGS::DIALOG_MIGRATE_SETTINGS(), DIALOG_MOVE_EXACT::DIALOG_MOVE_EXACT(), DIALOG_NON_COPPER_ZONES_EDITOR::DIALOG_NON_COPPER_ZONES_EDITOR(), DIALOG_PAD_PROPERTIES::DIALOG_PAD_PROPERTIES(), DIALOG_PAGES_SETTINGS::DIALOG_PAGES_SETTINGS(), DIALOG_PCM::DIALOG_PCM(), DIALOG_PIN_PROPERTIES::DIALOG_PIN_PROPERTIES(), DIALOG_PLOT::DIALOG_PLOT(), DIALOG_PLOT_SCHEMATIC::DIALOG_PLOT_SCHEMATIC(), DIALOG_PLUGIN_OPTIONS::DIALOG_PLUGIN_OPTIONS(), DIALOG_PNS_DIFF_PAIR_DIMENSIONS::DIALOG_PNS_DIFF_PAIR_DIMENSIONS(), DIALOG_PNS_SETTINGS::DIALOG_PNS_SETTINGS(), DIALOG_POSITION_RELATIVE::DIALOG_POSITION_RELATIVE(), DIALOG_PRINT_GENERIC::DIALOG_PRINT_GENERIC(), DIALOG_PRINT_USING_PRINTER::DIALOG_PRINT_USING_PRINTER(), DIALOG_PUSH_PAD_PROPERTIES::DIALOG_PUSH_PAD_PROPERTIES(), DIALOG_REFERENCE_IMAGE_PROPERTIES::DIALOG_REFERENCE_IMAGE_PROPERTIES(), DIALOG_REGULATOR_FORM::DIALOG_REGULATOR_FORM(), DIALOG_RESCUE_EACH::DIALOG_RESCUE_EACH(), DIALOG_RULE_AREA_PROPERTIES::DIALOG_RULE_AREA_PROPERTIES(), DIALOG_SCH_IMPORT_SETTINGS::DIALOG_SCH_IMPORT_SETTINGS(), DIALOG_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(), DIALOG_CLEANUP_TRACKS_AND_VIAS::setupOKButtonLabel(), WX_PT_ENTRY_DIALOG::WX_PT_ENTRY_DIALOG(), WX_TEXT_ENTRY_DIALOG::WX_TEXT_ENTRY_DIALOG(), and WX_UNIT_ENTRY_DIALOG::WX_UNIT_ENTRY_DIALOG().

◆ Show()

bool DIALOG_SHIM::Show ( bool  show)
overrideinherited

Definition at line 254 of file dialog_shim.cpp.

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

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

◆ ShowQuasiModal()

int DIALOG_SHIM::ShowQuasiModal ( )
inherited

Definition at line 491 of file dialog_shim.cpp.

References DIALOG_SHIM::m_qmodal_loop, DIALOG_SHIM::m_qmodal_parent_disabler, DIALOG_SHIM::m_qmodal_showing, KIPLATFORM::UI::ReparentQuasiModal(), DIALOG_SHIM::Show(), and WX_EVENT_LOOP.

Referenced by SCH_EDIT_TOOL::ChangeSymbols(), S3D::Configure3DPaths(), MICROWAVE_TOOL::createFootprint(), PCB::IFACE::CreateKiWindow(), MICROWAVE_TOOL::createMicrowaveInductor(), SCH_DRAWING_TOOLS::createNewText(), SYMBOL_EDITOR_DRAWING_TOOLS::doDrawShape(), SCH_DRAWING_TOOLS::DrawShape(), SCH_DRAWING_TOOLS::DrawTable(), DRAWING_TOOL::DrawTable(), SYMBOL_EDITOR_EDIT_TOOL::editFieldProperties(), SCH_EDIT_TOOL::editFieldText(), SYMBOL_EDITOR_EDIT_TOOL::editSymbolProperties(), SCH_EDIT_TABLE_TOOL::EditTable(), PCB_EDIT_TABLE_TOOL::EditTable(), GLOBAL_EDIT_TOOL::EditTeardrops(), GLOBAL_EDIT_TOOL::EditTracksAndVias(), SIMULATOR_CONTROL::EditUserDefinedSignals(), GLOBAL_EDIT_TOOL::ExchangeFootprints(), InvokeCopperZonesEditor(), InvokeDialogCreateBOM(), InvokeDialogEditSymbolsLibId(), InvokeDialogRescueEach(), InvokeNonCopperZonesEditor(), InvokeZonesManager(), FOOTPRINT_EDIT_FRAME::OnEditItemRequest(), PCB_EDIT_FRAME::OnEditItemRequest(), SCH_EDIT_FRAME::OpenProjectFiles(), DRAWING_TOOL::PlaceText(), SCH_EDIT_TOOL::Properties(), EDIT_TOOL::Properties(), SCH_EDITOR_CONTROL::RemapSymbols(), S3D::Select3DModel(), PCB_EDIT_FRAME::ShowBoardSetupDialog(), PCB_EDIT_FRAME::ShowExchangeFootprintsDialog(), PCB_BASE_EDIT_FRAME::ShowGraphicItemPropertiesDialog(), PCB_BASE_FRAME::ShowPadPropertiesDialog(), SCH_EDIT_FRAME::ShowSchematicSetupDialog(), PCB_BASE_EDIT_FRAME::ShowTextBoxPropertiesDialog(), PCB_BASE_EDIT_FRAME::ShowTextPropertiesDialog(), and PCB_EDIT_FRAME::ToPlotter().

◆ ShowReport()

void DIALOG_BOARD_REANNOTATE::ShowReport ( const wxString &  aMessage,
SEVERITY  aSeverity 
)
private

Break report into strings separated by
and sent to the reporter.

Definition at line 508 of file dialog_board_reannotate.cpp.

References DIALOG_BOARD_REANNOTATE_BASE::m_MessageWindow, and WX_HTML_REPORT_PANEL::Report().

Referenced by BuildFootprintList(), GetNewRefDes(), LogChangePlan(), LogFootprints(), MakeSampleText(), OnApplyClick(), and ReannotateBoard().

◆ vertPixelsFromDU()

int DIALOG_SHIM::vertPixelsFromDU ( int  y) const
protectedinherited

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

See SetSizeInDU or wxDialog documentation for more information.

Definition at line 211 of file dialog_shim.cpp.

Referenced by DIALOG_SYMBOL_FIELDS_TABLE::DIALOG_SYMBOL_FIELDS_TABLE().

Member Data Documentation

◆ Bitmaps

std::vector<wxStaticBitmap*> DIALOG_BOARD_REANNOTATE::Bitmaps
private

◆ m_Advanced

wxPanel* DIALOG_BOARD_REANNOTATE_BASE::m_Advanced
protectedinherited

◆ m_AnnotateAll

wxRadioButton* DIALOG_BOARD_REANNOTATE_BASE::m_AnnotateAll
protectedinherited

◆ m_AnnotateBack

wxRadioButton* DIALOG_BOARD_REANNOTATE_BASE::m_AnnotateBack
protectedinherited

◆ m_AnnotateFront

wxRadioButton* DIALOG_BOARD_REANNOTATE_BASE::m_AnnotateFront
protectedinherited

◆ m_AnnotateSelection

wxRadioButton* DIALOG_BOARD_REANNOTATE_BASE::m_AnnotateSelection
protectedinherited

◆ m_annotationScope

int DIALOG_BOARD_REANNOTATE::m_annotationScope
private

◆ m_backFootprints

std::vector<REFDES_INFO> DIALOG_BOARD_REANNOTATE::m_backFootprints
private

Definition at line 195 of file dialog_board_reannotate.h.

Referenced by BuildFootprintList(), and BuildUnavailableRefsList().

◆ m_BackPrefix

◆ m_backPrefixString

wxString DIALOG_BOARD_REANNOTATE::m_backPrefixString
private

Definition at line 208 of file dialog_board_reannotate.h.

Referenced by GetParameters().

◆ m_BackPrefixText

wxStaticText* DIALOG_BOARD_REANNOTATE_BASE::m_BackPrefixText
protectedinherited

◆ m_BackRefDesStart

wxTextCtrl* DIALOG_BOARD_REANNOTATE_BASE::m_BackRefDesStart
protectedinherited

◆ m_beforeEditValues

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

◆ m_BottomRefDesStartText

wxStaticText* DIALOG_BOARD_REANNOTATE_BASE::m_BottomRefDesStartText
protectedinherited

◆ m_changeArray

std::vector<REFDES_CHANGE> DIALOG_BOARD_REANNOTATE::m_changeArray
private

◆ m_Config

APP_SETTINGS_BASE* DIALOG_BOARD_REANNOTATE::m_Config
private

Definition at line 213 of file dialog_board_reannotate.h.

Referenced by DIALOG_BOARD_REANNOTATE().

◆ m_Down_Left

wxRadioButton* DIALOG_BOARD_REANNOTATE_BASE::m_Down_Left
protectedinherited

◆ m_Down_Right

wxRadioButton* DIALOG_BOARD_REANNOTATE_BASE::m_Down_Right
protectedinherited

◆ m_excludeArray

std::vector<wxString> DIALOG_BOARD_REANNOTATE::m_excludeArray
private

Definition at line 197 of file dialog_board_reannotate.h.

Referenced by BuildFootprintList(), and LogChangePlan().

◆ m_ExcludeList

wxTextCtrl* DIALOG_BOARD_REANNOTATE_BASE::m_ExcludeList
protectedinherited

◆ m_ExcludeListText

wxStaticText* DIALOG_BOARD_REANNOTATE_BASE::m_ExcludeListText
protectedinherited

◆ m_ExcludeLocked

wxCheckBox* DIALOG_BOARD_REANNOTATE_BASE::m_ExcludeLocked
protectedinherited

◆ m_firstPaintEvent

bool DIALOG_SHIM::m_firstPaintEvent
protectedinherited

Definition at line 215 of file dialog_shim.h.

Referenced by DIALOG_SHIM::OnPaint().

◆ m_footprints

FOOTPRINTS DIALOG_BOARD_REANNOTATE::m_footprints
private

Definition at line 190 of file dialog_board_reannotate.h.

Referenced by BuildFootprintList(), and ReannotateBoard().

◆ m_frame

◆ m_frontFootprints

std::vector<REFDES_INFO> DIALOG_BOARD_REANNOTATE::m_frontFootprints
private

Definition at line 194 of file dialog_board_reannotate.h.

Referenced by BuildFootprintList(), and BuildUnavailableRefsList().

◆ m_FrontPrefix

◆ m_frontPrefixString

wxString DIALOG_BOARD_REANNOTATE::m_frontPrefixString
private

Definition at line 207 of file dialog_board_reannotate.h.

Referenced by GetParameters().

◆ m_FrontPrefixText

wxStaticText* DIALOG_BOARD_REANNOTATE_BASE::m_FrontPrefixText
protectedinherited

◆ m_FrontRefDesStart

wxTextCtrl* DIALOG_BOARD_REANNOTATE_BASE::m_FrontRefDesStart
protectedinherited

◆ m_FrontRefDesStartText

wxStaticText* DIALOG_BOARD_REANNOTATE_BASE::m_FrontRefDesStartText
protectedinherited

◆ m_GridChoice

wxChoice* DIALOG_BOARD_REANNOTATE_BASE::m_GridChoice
protectedinherited

◆ m_gridIndex

int DIALOG_BOARD_REANNOTATE::m_gridIndex
private

◆ m_hash_key

◆ m_initialFocusTarget

wxWindow* DIALOG_SHIM::m_initialFocusTarget
protectedinherited

Definition at line 216 of file dialog_shim.h.

Referenced by DIALOG_SHIM::OnPaint().

◆ m_initialSize

wxSize DIALOG_SHIM::m_initialSize
protectedinherited

Definition at line 229 of file dialog_shim.h.

Referenced by DIALOG_SHIM::Show().

◆ m_isClosing

bool DIALOG_SHIM::m_isClosing
protectedinherited

Definition at line 217 of file dialog_shim.h.

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

◆ m_kiway

KIWAY* KIWAY_HOLDER::m_kiway
privateinherited

Definition at line 86 of file kiway_holder.h.

Referenced by KIWAY_HOLDER::SetKiway().

◆ m_Left_Down

wxRadioButton* DIALOG_BOARD_REANNOTATE_BASE::m_Left_Down
protectedinherited

◆ m_Left_Up

wxRadioButton* DIALOG_BOARD_REANNOTATE_BASE::m_Left_Up
protectedinherited

◆ m_locationChoice

wxChoice* DIALOG_BOARD_REANNOTATE_BASE::m_locationChoice
protectedinherited

◆ m_MessageWindow

◆ m_notebook

wxNotebook* DIALOG_BOARD_REANNOTATE_BASE::m_notebook
protectedinherited

◆ m_parentFrame

◆ m_qmodal_loop

WX_EVENT_LOOP* DIALOG_SHIM::m_qmodal_loop
protectedinherited

Definition at line 219 of file dialog_shim.h.

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

◆ m_qmodal_parent_disabler

WDO_ENABLE_DISABLE* DIALOG_SHIM::m_qmodal_parent_disabler
protectedinherited

◆ m_qmodal_showing

bool DIALOG_SHIM::m_qmodal_showing
protectedinherited

Definition at line 221 of file dialog_shim.h.

Referenced by DIALOG_SHIM::ShowQuasiModal().

◆ m_refDesTypes

std::vector<REFDES_TYPE_STR> DIALOG_BOARD_REANNOTATE::m_refDesTypes
private

◆ m_RemoveBackPrefix

wxCheckBox* DIALOG_BOARD_REANNOTATE_BASE::m_RemoveBackPrefix
protectedinherited

◆ m_RemoveFrontPrefix

wxCheckBox* DIALOG_BOARD_REANNOTATE_BASE::m_RemoveFrontPrefix
protectedinherited

◆ m_Right_Down

wxRadioButton* DIALOG_BOARD_REANNOTATE_BASE::m_Right_Down
protectedinherited

◆ m_Right_Up

wxRadioButton* DIALOG_BOARD_REANNOTATE_BASE::m_Right_Up
protectedinherited

◆ m_scopeRadioButtons

std::vector<wxRadioButton*> DIALOG_BOARD_REANNOTATE::m_scopeRadioButtons
private

◆ m_sdbSizer

wxStdDialogButtonSizer* DIALOG_BOARD_REANNOTATE_BASE::m_sdbSizer
protectedinherited

◆ m_sdbSizerCancel

wxButton* DIALOG_BOARD_REANNOTATE_BASE::m_sdbSizerCancel
protectedinherited

◆ m_sdbSizerOK

wxButton* DIALOG_BOARD_REANNOTATE_BASE::m_sdbSizerOK
protectedinherited

◆ m_selection

PCB_SELECTION DIALOG_BOARD_REANNOTATE::m_selection
private

Definition at line 191 of file dialog_board_reannotate.h.

Referenced by BuildFootprintList(), and DIALOG_BOARD_REANNOTATE().

◆ m_settings

APP_SETTINGS_BASE* DIALOG_BOARD_REANNOTATE::m_settings
private

Definition at line 211 of file dialog_board_reannotate.h.

Referenced by DIALOG_BOARD_REANNOTATE(), and GetParameters().

◆ m_severity

int DIALOG_BOARD_REANNOTATE::m_severity
private

Definition at line 202 of file dialog_board_reannotate.h.

Referenced by InitValues(), and ~DIALOG_BOARD_REANNOTATE().

◆ m_sortButtons

◆ m_sortCode

int DIALOG_BOARD_REANNOTATE::m_sortCode
private

◆ m_SortGridText

wxStaticText* DIALOG_BOARD_REANNOTATE_BASE::m_SortGridText
protectedinherited

◆ m_sortGridx

double DIALOG_BOARD_REANNOTATE::m_sortGridx
private

◆ m_sortGridy

double DIALOG_BOARD_REANNOTATE::m_sortGridy
private

◆ m_StandardOptions

wxPanel* DIALOG_BOARD_REANNOTATE_BASE::m_StandardOptions
protectedinherited

◆ m_staticline1

wxStaticLine* DIALOG_BOARD_REANNOTATE_BASE::m_staticline1
protectedinherited

◆ m_staticline2

wxStaticLine* DIALOG_BOARD_REANNOTATE_BASE::m_staticline2
protectedinherited

◆ m_staticText9

wxStaticText* DIALOG_BOARD_REANNOTATE_BASE::m_staticText9
protectedinherited

◆ m_tabOrder

◆ m_type

HOLDER_TYPE KIWAY_HOLDER::m_type
privateinherited

Definition at line 87 of file kiway_holder.h.

◆ m_units

◆ m_Up_Left

wxRadioButton* DIALOG_BOARD_REANNOTATE_BASE::m_Up_Left
protectedinherited

◆ m_Up_Right

wxRadioButton* DIALOG_BOARD_REANNOTATE_BASE::m_Up_Right
protectedinherited

◆ m_useCalculatedSize

bool DIALOG_SHIM::m_useCalculatedSize
protectedinherited

◆ m_validPrefixes

wxString DIALOG_BOARD_REANNOTATE::m_validPrefixes
private

Definition at line 209 of file dialog_board_reannotate.h.

◆ reannotate_down_left_bitmap

wxStaticBitmap* DIALOG_BOARD_REANNOTATE_BASE::reannotate_down_left_bitmap
protectedinherited

◆ reannotate_down_right_bitmap

wxStaticBitmap* DIALOG_BOARD_REANNOTATE_BASE::reannotate_down_right_bitmap
protectedinherited

◆ reannotate_left_down_bitmap

wxStaticBitmap* DIALOG_BOARD_REANNOTATE_BASE::reannotate_left_down_bitmap
protectedinherited

◆ reannotate_left_up_bitmap

wxStaticBitmap* DIALOG_BOARD_REANNOTATE_BASE::reannotate_left_up_bitmap
protectedinherited

◆ reannotate_right_down_bitmap

wxStaticBitmap* DIALOG_BOARD_REANNOTATE_BASE::reannotate_right_down_bitmap
protectedinherited

◆ reannotate_right_up_bitmap

wxStaticBitmap* DIALOG_BOARD_REANNOTATE_BASE::reannotate_right_up_bitmap
protectedinherited

◆ reannotate_up_left_bitmap

wxStaticBitmap* DIALOG_BOARD_REANNOTATE_BASE::reannotate_up_left_bitmap
protectedinherited

◆ reannotate_up_right_bitmap

wxStaticBitmap* DIALOG_BOARD_REANNOTATE_BASE::reannotate_up_right_bitmap
protectedinherited

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