KiCad PCB EDA Suite
|
#include <panel_bom_presets.h>
Public Member Functions | |
PANEL_BOM_PRESETS (wxWindow *aWindow, SCHEMATIC_SETTINGS &aSettings) | |
void | ImportBomPresetsFrom (SCHEMATIC_SETTINGS &aSettings) |
void | ImportBomFmtPresetsFrom (SCHEMATIC_SETTINGS &aSettings) |
Protected Member Functions | |
void | OnDeleteBomPreset (wxCommandEvent &event) override |
void | OnDeleteBomFmtPreset (wxCommandEvent &event) override |
virtual void | OnSizeGrid (wxSizeEvent &event) |
Protected Attributes | |
SCHEMATIC_SETTINGS & | m_settings |
std::vector< BOM_PRESET > | m_bomPresets |
std::vector< BOM_FMT_PRESET > | m_bomFmtPresets |
wxStaticText * | m_bomTitle |
WX_GRID * | m_bomPresetsGrid |
STD_BITMAP_BUTTON * | m_btnDeleteBomPreset |
wxStaticText * | m_bomFmtTitle |
WX_GRID * | m_bomFmtPresetsGrid |
STD_BITMAP_BUTTON * | m_btnDeleteBomFmtPreset |
Private Member Functions | |
bool | TransferDataToWindow () override |
bool | TransferDataFromWindow () override |
void | BuildGrid () |
Definition at line 30 of file panel_bom_presets.h.
PANEL_BOM_PRESETS::PANEL_BOM_PRESETS | ( | wxWindow * | aWindow, |
SCHEMATIC_SETTINGS & | aSettings | ||
) |
|
private |
Definition at line 64 of file panel_bom_presets.cpp.
References WX_GRID::ClearRows(), m_bomFmtPresets, PANEL_BOM_PRESETS_BASE::m_bomFmtPresetsGrid, m_bomPresets, and PANEL_BOM_PRESETS_BASE::m_bomPresetsGrid.
Referenced by ImportBomFmtPresetsFrom(), ImportBomPresetsFrom(), and TransferDataToWindow().
void PANEL_BOM_PRESETS::ImportBomFmtPresetsFrom | ( | SCHEMATIC_SETTINGS & | aSettings | ) |
Definition at line 115 of file panel_bom_presets.cpp.
References BuildGrid(), m_bomFmtPresets, and SCHEMATIC_SETTINGS::m_BomFmtPresets.
void PANEL_BOM_PRESETS::ImportBomPresetsFrom | ( | SCHEMATIC_SETTINGS & | aSettings | ) |
Definition at line 108 of file panel_bom_presets.cpp.
References BuildGrid(), m_bomPresets, and SCHEMATIC_SETTINGS::m_BomPresets.
|
overrideprotectedvirtual |
Reimplemented from PANEL_BOM_PRESETS_BASE.
Definition at line 95 of file panel_bom_presets.cpp.
References m_bomFmtPresets, and PANEL_BOM_PRESETS_BASE::m_bomFmtPresetsGrid.
|
overrideprotectedvirtual |
Reimplemented from PANEL_BOM_PRESETS_BASE.
Definition at line 83 of file panel_bom_presets.cpp.
References m_bomPresets, and PANEL_BOM_PRESETS_BASE::m_bomPresetsGrid.
|
inlineprotectedvirtualinherited |
Definition at line 49 of file panel_bom_presets_base.h.
Referenced by PANEL_BOM_PRESETS_BASE::PANEL_BOM_PRESETS_BASE(), and PANEL_BOM_PRESETS_BASE::~PANEL_BOM_PRESETS_BASE().
|
overrideprivate |
Definition at line 55 of file panel_bom_presets.cpp.
References m_bomFmtPresets, SCHEMATIC_SETTINGS::m_BomFmtPresets, m_bomPresets, SCHEMATIC_SETTINGS::m_BomPresets, and m_settings.
|
overrideprivate |
Definition at line 44 of file panel_bom_presets.cpp.
References BuildGrid(), m_bomFmtPresets, SCHEMATIC_SETTINGS::m_BomFmtPresets, m_bomPresets, SCHEMATIC_SETTINGS::m_BomPresets, and m_settings.
|
protected |
Definition at line 50 of file panel_bom_presets.h.
Referenced by BuildGrid(), ImportBomFmtPresetsFrom(), OnDeleteBomFmtPreset(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 45 of file panel_bom_presets_base.h.
Referenced by BuildGrid(), OnDeleteBomFmtPreset(), PANEL_BOM_PRESETS(), PANEL_BOM_PRESETS_BASE::PANEL_BOM_PRESETS_BASE(), and PANEL_BOM_PRESETS_BASE::~PANEL_BOM_PRESETS_BASE().
|
protectedinherited |
Definition at line 44 of file panel_bom_presets_base.h.
Referenced by PANEL_BOM_PRESETS_BASE::PANEL_BOM_PRESETS_BASE().
|
protected |
Definition at line 49 of file panel_bom_presets.h.
Referenced by BuildGrid(), ImportBomPresetsFrom(), OnDeleteBomPreset(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 42 of file panel_bom_presets_base.h.
Referenced by BuildGrid(), OnDeleteBomPreset(), PANEL_BOM_PRESETS(), PANEL_BOM_PRESETS_BASE::PANEL_BOM_PRESETS_BASE(), and PANEL_BOM_PRESETS_BASE::~PANEL_BOM_PRESETS_BASE().
|
protectedinherited |
Definition at line 41 of file panel_bom_presets_base.h.
Referenced by PANEL_BOM_PRESETS_BASE::PANEL_BOM_PRESETS_BASE().
|
protectedinherited |
Definition at line 46 of file panel_bom_presets_base.h.
Referenced by PANEL_BOM_PRESETS(), PANEL_BOM_PRESETS_BASE::PANEL_BOM_PRESETS_BASE(), and PANEL_BOM_PRESETS_BASE::~PANEL_BOM_PRESETS_BASE().
|
protectedinherited |
Definition at line 43 of file panel_bom_presets_base.h.
Referenced by PANEL_BOM_PRESETS(), PANEL_BOM_PRESETS_BASE::PANEL_BOM_PRESETS_BASE(), and PANEL_BOM_PRESETS_BASE::~PANEL_BOM_PRESETS_BASE().
|
protected |
Definition at line 48 of file panel_bom_presets.h.
Referenced by TransferDataFromWindow(), and TransferDataToWindow().