| 
    KiCad PCB EDA Suite
    
   | 
 
Dialog to remap library id of symbols to another library id. More...
#include <confirm.h>#include <sch_commit.h>#include <sch_edit_frame.h>#include <sch_symbol.h>#include <sch_reference_list.h>#include <schematic.h>#include <libraries/symbol_library_adapter.h>#include <trace_helpers.h>#include <widgets/wx_grid.h>#include <dialog_edit_symbols_libid_base.h>#include <wx/tokenzr.h>#include <wx/choicdlg.h>#include <wx/dcclient.h>#include <wx/msgdlg.h>#include <grid_tricks.h>#include <widgets/grid_text_button_helpers.h>#include <kiplatform/ui.h>#include <string_utils.h>#include <project_sch.h>Go to the source code of this file.
Classes | |
| class | GRIDCELL_AUTOWRAP_STRINGRENDERER | 
| class | SYMBOL_CANDIDATE | 
| A helper to handle symbols to edit.  More... | |
| class | DIALOG_EDIT_SYMBOLS_LIBID | 
| Dialog to globally edit the LIB_ID of groups if symbols having the same initial LIB_ID.  More... | |
Macros | |
| #define | COL_REFS 0 | 
| #define | COL_CURR_LIBID 1 | 
| #define | COL_NEW_LIBID 2 | 
| #define | GRID_CELL_MARGIN 4 | 
Functions | |
| static bool | sort_by_libid (const SYMBOL_CANDIDATE &candidate1, const SYMBOL_CANDIDATE &candidate2) | 
| wxString | getLibIdValue (const WX_GRID *aGrid, int aRow, int aCol) | 
| bool | InvokeDialogEditSymbolsLibId (SCH_EDIT_FRAME *aCaller) | 
| Run a dialog to modify the LIB_ID of symbols for instance when a symbol has moved from a symbol library to another symbol library.   | |
Dialog to remap library id of symbols to another library id.
Definition in file dialog_edit_symbols_libid.cpp.
| #define COL_CURR_LIBID 1 | 
Definition at line 54 of file dialog_edit_symbols_libid.cpp.
Referenced by DIALOG_EDIT_SYMBOLS_LIBID::AddRowToGrid(), DIALOG_EDIT_SYMBOLS_LIBID::AdjustGridColumns(), DIALOG_EDIT_SYMBOLS_LIBID::onClickOrphansButton(), DIALOG_EDIT_SYMBOLS_LIBID::setLibIdByBrowser(), and DIALOG_EDIT_SYMBOLS_LIBID::TransferDataFromWindow().
| #define COL_NEW_LIBID 2 | 
Definition at line 55 of file dialog_edit_symbols_libid.cpp.
Referenced by DIALOG_EDIT_SYMBOLS_LIBID::AddRowToGrid(), DIALOG_EDIT_SYMBOLS_LIBID::AdjustGridColumns(), DIALOG_EDIT_SYMBOLS_LIBID::onClickOrphansButton(), DIALOG_EDIT_SYMBOLS_LIBID::setLibIdByBrowser(), DIALOG_EDIT_SYMBOLS_LIBID::TransferDataFromWindow(), and DIALOG_EDIT_SYMBOLS_LIBID::validateLibIds().
| #define COL_REFS 0 | 
Definition at line 53 of file dialog_edit_symbols_libid.cpp.
Referenced by DIALOG_EDIT_SYMBOLS_LIBID::AddRowToGrid(), DIALOG_EDIT_SYMBOLS_LIBID::AdjustGridColumns(), and DIALOG_EDIT_SYMBOLS_LIBID::OnSizeGrid().
| #define GRID_CELL_MARGIN 4 | 
Definition at line 230 of file dialog_edit_symbols_libid.cpp.
Referenced by DIALOG_MANAGE_REPOSITORIES::DIALOG_MANAGE_REPOSITORIES(), DIALOG_PCM::DIALOG_PCM(), GRIDCELL_AUTOWRAP_STRINGRENDERER::GetHeight(), PANEL_PACKAGES_VIEW::PANEL_PACKAGES_VIEW(), and PANEL_PCBNEW_ACTION_PLUGINS::TransferDataToWindow().
| wxString getLibIdValue | ( | const WX_GRID * | aGrid, | 
| int | aRow, | ||
| int | aCol ) | 
Definition at line 515 of file dialog_edit_symbols_libid.cpp.
References CTX_LIBID, and EscapeString().
Referenced by DIALOG_EDIT_SYMBOLS_LIBID::onClickOrphansButton(), DIALOG_EDIT_SYMBOLS_LIBID::setLibIdByBrowser(), DIALOG_EDIT_SYMBOLS_LIBID::TransferDataFromWindow(), and DIALOG_EDIT_SYMBOLS_LIBID::validateLibIds().
| bool InvokeDialogEditSymbolsLibId | ( | SCH_EDIT_FRAME * | aCaller | ) | 
Run a dialog to modify the LIB_ID of symbols for instance when a symbol has moved from a symbol library to another symbol library.
Definition at line 840 of file dialog_edit_symbols_libid.cpp.
References DIALOG_EDIT_SYMBOLS_LIBID::IsSchematicModified(), and DIALOG_SHIM::ShowQuasiModal().
Referenced by SCH_EDITOR_CONTROL::EditSymbolLibraryLinks().
      
  | 
  static | 
Definition at line 377 of file dialog_edit_symbols_libid.cpp.
References SCH_SYMBOL::GetLibId(), SYMBOL_CANDIDATE::m_Reference, and SYMBOL_CANDIDATE::m_Symbol.
Referenced by getSymbols(), and DIALOG_EDIT_SYMBOLS_LIBID::initDlg().