KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_fp_lib_table.cpp File Reference
#include <set>
#include <wx/regex.h>
#include <wx/dirdlg.h>
#include <wx/filedlg.h>
#include <wx/msgdlg.h>
#include <functional>
#include <project.h>
#include <env_vars.h>
#include <3d_viewer/eda_3d_viewer_frame.h>
#include <panel_fp_lib_table.h>
#include <lib_id.h>
#include <footprint_library_adapter.h>
#include <lib_table_lexer.h>
#include <invoke_pcb_dialog.h>
#include <bitmaps.h>
#include <lib_table_grid_tricks.h>
#include <widgets/wx_grid.h>
#include <widgets/std_bitmap_button.h>
#include <widgets/grid_readonly_text_helpers.h>
#include <widgets/wx_html_report_box.h>
#include <lib_table_notebook_panel.h>
#include <confirm.h>
#include <lib_table_grid_data_model.h>
#include <wildcards_and_files_ext.h>
#include <pgm_base.h>
#include <pcb_edit_frame.h>
#include <env_paths.h>
#include <dialogs/dialog_edit_library_tables.h>
#include <dialogs/dialog_plugin_options.h>
#include <footprint_viewer_frame.h>
#include <kiway.h>
#include <kiway_express.h>
#include <pcbnew_id.h>
#include <settings/settings_manager.h>
#include <paths.h>
#include <macros.h>
#include <project_pcb.h>
#include <common.h>
#include <dialog_HTML_reporter_base.h>
#include <libraries/library_manager.h>
#include <widgets/wx_aui_art_providers.h>

Go to the source code of this file.

Classes

class  FP_LIB_TABLE_GRID_DATA_MODEL
 This class builds a wxGridTableBase by wrapping an #FP_LIB_TABLE object. More...
 
class  FP_GRID_TRICKS
 

Functions

void InvokePcbLibTableEditor (KIWAY *aKiway, wxWindow *aCaller)
 Function InvokePcbLibTableEditor shows the modal DIALOG_FP_LIB_TABLE for purposes of editing the global and project library tables.
 

Function Documentation

◆ InvokePcbLibTableEditor()

void InvokePcbLibTableEditor ( KIWAY * aKiway,
wxWindow * aCaller )

Function InvokePcbLibTableEditor shows the modal DIALOG_FP_LIB_TABLE for purposes of editing the global and project library tables.

Parameters
aCalleris the wxWindow which is invoking the dialog.
Returns
true if either table changed.

Definition at line 901 of file panel_fp_lib_table.cpp.

References _, KIWAY::ExpressMail(), KIWAY::FACE_PCB, FOOTPRINT, FRAME_CVPCB, FRAME_FOOTPRINT_EDITOR, FRAME_FOOTPRINT_VIEWER, PGM_BASE::GetLibraryManager(), DIALOG_EDIT_LIBRARY_TABLES::InstallPanel(), KIWAY::KiFACE(), LIBRARY_MANAGER::LoadGlobalTables(), DIALOG_EDIT_LIBRARY_TABLES::m_GlobalTableChanged, DIALOG_EDIT_LIBRARY_TABLES::m_ProjectTableChanged, MAIL_RELOAD_LIB, Pgm(), KIWAY::Prj(), LIBRARY_MANAGER::ProjectChanged(), KIWAY_HOLDER::SetKiway(), and DIALOG_SHIM::ShowModal().

Referenced by PCB::IFACE::CreateKiWindow().