KiCad PCB EDA Suite
CALCULATOR_PANEL Class Referenceabstract

#include <calculator_panel.h>

Inheritance diagram for CALCULATOR_PANEL:
PANEL_ATTENUATORS_BASE PANEL_BOARD_CLASS_BASE PANEL_COLOR_CODE_BASE PANEL_E_SERIE_BASE PANEL_ELECTRICAL_SPACING_BASE PANEL_REGULATOR_BASE PANEL_TRACK_WIDTH_BASE PANEL_TRANSLINE_BASE PANEL_VIA_SIZE_BASE

Public Member Functions

 CALCULATOR_PANEL (wxWindow *aParent, wxWindowID aId, const wxPoint &aPos, const wxSize &aSize, long aStyle, const wxString &aName)
 
virtual ~CALCULATOR_PANEL ()
 
virtual void LoadSettings (PCB_CALCULATOR_SETTINGS *aCfg)=0
 Load the settings into the panel. More...
 
virtual void SaveSettings (PCB_CALCULATOR_SETTINGS *aCfg)=0
 Save the settings from the panel. More...
 
virtual void ThemeChanged ()=0
 Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appropriate for the new theme. More...
 

Detailed Description

Definition at line 28 of file calculator_panel.h.

Constructor & Destructor Documentation

◆ CALCULATOR_PANEL()

CALCULATOR_PANEL::CALCULATOR_PANEL ( wxWindow *  aParent,
wxWindowID  aId,
const wxPoint &  aPos,
const wxSize &  aSize,
long  aStyle,
const wxString &  aName 
)
inline

Definition at line 31 of file calculator_panel.h.

33  : wxPanel( aParent, aId, aPos, aSize, aStyle, aName )
34  {}

◆ ~CALCULATOR_PANEL()

virtual CALCULATOR_PANEL::~CALCULATOR_PANEL ( )
inlinevirtual

Definition at line 36 of file calculator_panel.h.

36 {}

Member Function Documentation

◆ LoadSettings()

virtual void CALCULATOR_PANEL::LoadSettings ( PCB_CALCULATOR_SETTINGS aCfg)
pure virtual

Load the settings into the panel.

Parameters
aCfgis the settings structure to load from

Implemented in PANEL_REGULATOR, PANEL_ATTENUATORS, PANEL_COLOR_CODE, PANEL_TRANSLINE, PANEL_BOARD_CLASS, PANEL_ELECTRICAL_SPACING, PANEL_E_SERIE, PANEL_TRACK_WIDTH, and PANEL_VIA_SIZE.

◆ SaveSettings()

virtual void CALCULATOR_PANEL::SaveSettings ( PCB_CALCULATOR_SETTINGS aCfg)
pure virtual

Save the settings from the panel.

Parameters
aCfgis the settings structure to save to

Implemented in PANEL_REGULATOR, PANEL_ATTENUATORS, PANEL_COLOR_CODE, PANEL_TRANSLINE, PANEL_BOARD_CLASS, PANEL_ELECTRICAL_SPACING, PANEL_E_SERIE, PANEL_TRACK_WIDTH, and PANEL_VIA_SIZE.

◆ ThemeChanged()

virtual void CALCULATOR_PANEL::ThemeChanged ( )
pure virtual

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

Implemented in PANEL_REGULATOR, PANEL_ATTENUATORS, PANEL_COLOR_CODE, PANEL_TRANSLINE, PANEL_BOARD_CLASS, PANEL_ELECTRICAL_SPACING, PANEL_E_SERIE, PANEL_TRACK_WIDTH, and PANEL_VIA_SIZE.


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