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

#include <panel_galvanic_corrosion.h>

Inheritance diagram for PANEL_GALVANIC_CORROSION:
PANEL_GALVANIC_CORROSION_BASE CALCULATOR_PANEL

Public Member Functions

 PANEL_GALVANIC_CORROSION (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~PANEL_GALVANIC_CORROSION ()
 
void LoadSettings (PCB_CALCULATOR_SETTINGS *aCfg) override
 Load the settings into the panel. More...
 
void SaveSettings (PCB_CALCULATOR_SETTINGS *aCfg) override
 Save the settings from the panel. More...
 
void ThemeChanged () override
 Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appropriate for the new theme. More...
 
void OnNomenclatureChange (wxCommandEvent &aEvent) override
 
void OnCorFilterChange (wxCommandEvent &aEvent) override
 

Public Attributes

std::vector< CORROSION_TABLE_ENTRYm_entries
 

Protected Attributes

wxBoxSizer * bSizerMain
 
wxScrolledWindow * m_scrolledWindow1
 
wxGrid * m_table
 
HTML_WINDOWm_helpText
 
wxStaticText * m_staticText2
 
wxTextCtrl * m_corFilterCtrl
 
wxStaticText * m_staticText3
 
wxStaticLine * m_staticline
 
wxStaticText * m_stOpts
 
wxRadioButton * m_radioBtnSymbol
 
wxRadioButton * m_radioBtnName
 

Private Member Functions

void fillTable ()
 

Private Attributes

bool m_symbolicStatus
 
double m_corFilterValue
 

Detailed Description

Definition at line 40 of file panel_galvanic_corrosion.h.

Constructor & Destructor Documentation

◆ PANEL_GALVANIC_CORROSION()

PANEL_GALVANIC_CORROSION::PANEL_GALVANIC_CORROSION ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxEmptyString 
)

◆ ~PANEL_GALVANIC_CORROSION()

PANEL_GALVANIC_CORROSION::~PANEL_GALVANIC_CORROSION ( )

Definition at line 89 of file panel_galvanic_corrosion.cpp.

Member Function Documentation

◆ fillTable()

void PANEL_GALVANIC_CORROSION::fillTable ( )
private

◆ LoadSettings()

◆ OnCorFilterChange()

void PANEL_GALVANIC_CORROSION::OnCorFilterChange ( wxCommandEvent &  aEvent)
overridevirtual

◆ OnNomenclatureChange()

void PANEL_GALVANIC_CORROSION::OnNomenclatureChange ( wxCommandEvent &  aEvent)
overridevirtual

◆ SaveSettings()

void PANEL_GALVANIC_CORROSION::SaveSettings ( PCB_CALCULATOR_SETTINGS aCfg)
overridevirtual

◆ ThemeChanged()

void PANEL_GALVANIC_CORROSION::ThemeChanged ( )
overridevirtual

Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appropriate for the new theme.

Implements CALCULATOR_PANEL.

Definition at line 93 of file panel_galvanic_corrosion.cpp.

References PANEL_GALVANIC_CORROSION_BASE::m_helpText, and HTML_WINDOW::ThemeChanged().

Member Data Documentation

◆ bSizerMain

wxBoxSizer* PANEL_GALVANIC_CORROSION_BASE::bSizerMain
protectedinherited

◆ m_corFilterCtrl

wxTextCtrl* PANEL_GALVANIC_CORROSION_BASE::m_corFilterCtrl
protectedinherited

◆ m_corFilterValue

double PANEL_GALVANIC_CORROSION::m_corFilterValue
private

◆ m_entries

std::vector<CORROSION_TABLE_ENTRY> PANEL_GALVANIC_CORROSION::m_entries

Definition at line 49 of file panel_galvanic_corrosion.h.

Referenced by fillTable(), and PANEL_GALVANIC_CORROSION().

◆ m_helpText

HTML_WINDOW* PANEL_GALVANIC_CORROSION_BASE::m_helpText
protectedinherited

◆ m_radioBtnName

wxRadioButton* PANEL_GALVANIC_CORROSION_BASE::m_radioBtnName
protectedinherited

◆ m_radioBtnSymbol

wxRadioButton* PANEL_GALVANIC_CORROSION_BASE::m_radioBtnSymbol
protectedinherited

◆ m_scrolledWindow1

wxScrolledWindow* PANEL_GALVANIC_CORROSION_BASE::m_scrolledWindow1
protectedinherited

◆ m_staticline

wxStaticLine* PANEL_GALVANIC_CORROSION_BASE::m_staticline
protectedinherited

◆ m_staticText2

wxStaticText* PANEL_GALVANIC_CORROSION_BASE::m_staticText2
protectedinherited

◆ m_staticText3

wxStaticText* PANEL_GALVANIC_CORROSION_BASE::m_staticText3
protectedinherited

◆ m_stOpts

wxStaticText* PANEL_GALVANIC_CORROSION_BASE::m_stOpts
protectedinherited

◆ m_symbolicStatus

bool PANEL_GALVANIC_CORROSION::m_symbolicStatus
private

◆ m_table

wxGrid* PANEL_GALVANIC_CORROSION_BASE::m_table
protectedinherited

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