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

#include <panel_bom_presets.h>

Inheritance diagram for PANEL_BOM_PRESETS:
PANEL_BOM_PRESETS_BASE

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_SETTINGSm_settings
 
std::vector< BOM_PRESETm_bomPresets
 
std::vector< BOM_FMT_PRESETm_bomFmtPresets
 
wxStaticText * m_bomTitle
 
WX_GRIDm_bomPresetsGrid
 
STD_BITMAP_BUTTONm_btnDeleteBomPreset
 
wxStaticText * m_bomFmtTitle
 
WX_GRIDm_bomFmtPresetsGrid
 
STD_BITMAP_BUTTONm_btnDeleteBomFmtPreset
 

Private Member Functions

bool TransferDataToWindow () override
 
bool TransferDataFromWindow () override
 
void BuildGrid ()
 

Detailed Description

Definition at line 30 of file panel_bom_presets.h.

Constructor & Destructor Documentation

◆ PANEL_BOM_PRESETS()

Member Function Documentation

◆ BuildGrid()

◆ ImportBomFmtPresetsFrom()

void PANEL_BOM_PRESETS::ImportBomFmtPresetsFrom ( SCHEMATIC_SETTINGS aSettings)

◆ ImportBomPresetsFrom()

void PANEL_BOM_PRESETS::ImportBomPresetsFrom ( SCHEMATIC_SETTINGS aSettings)

◆ OnDeleteBomFmtPreset()

void PANEL_BOM_PRESETS::OnDeleteBomFmtPreset ( wxCommandEvent &  event)
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.

◆ OnDeleteBomPreset()

void PANEL_BOM_PRESETS::OnDeleteBomPreset ( wxCommandEvent &  event)
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.

◆ OnSizeGrid()

virtual void PANEL_BOM_PRESETS_BASE::OnSizeGrid ( wxSizeEvent &  event)
inlineprotectedvirtualinherited

◆ TransferDataFromWindow()

bool PANEL_BOM_PRESETS::TransferDataFromWindow ( )
overrideprivate

◆ TransferDataToWindow()

bool PANEL_BOM_PRESETS::TransferDataToWindow ( )
overrideprivate

Member Data Documentation

◆ m_bomFmtPresets

std::vector<BOM_FMT_PRESET> PANEL_BOM_PRESETS::m_bomFmtPresets
protected

◆ m_bomFmtPresetsGrid

WX_GRID* PANEL_BOM_PRESETS_BASE::m_bomFmtPresetsGrid
protectedinherited

◆ m_bomFmtTitle

wxStaticText* PANEL_BOM_PRESETS_BASE::m_bomFmtTitle
protectedinherited

◆ m_bomPresets

std::vector<BOM_PRESET> PANEL_BOM_PRESETS::m_bomPresets
protected

◆ m_bomPresetsGrid

WX_GRID* PANEL_BOM_PRESETS_BASE::m_bomPresetsGrid
protectedinherited

◆ m_bomTitle

wxStaticText* PANEL_BOM_PRESETS_BASE::m_bomTitle
protectedinherited

◆ m_btnDeleteBomFmtPreset

STD_BITMAP_BUTTON* PANEL_BOM_PRESETS_BASE::m_btnDeleteBomFmtPreset
protectedinherited

◆ m_btnDeleteBomPreset

STD_BITMAP_BUTTON* PANEL_BOM_PRESETS_BASE::m_btnDeleteBomPreset
protectedinherited

◆ m_settings

SCHEMATIC_SETTINGS& PANEL_BOM_PRESETS::m_settings
protected

Definition at line 48 of file panel_bom_presets.h.

Referenced by TransferDataFromWindow(), and TransferDataToWindow().


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