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_CABLE_SIZE_BASE PANEL_COLOR_CODE_BASE PANEL_CORROSION_BASE PANEL_ELECTRICAL_SPACING_BASE PANEL_E_SERIE_BASE PANEL_FUSING_CURRENT_BASE PANEL_REGULATOR_BASE PANEL_TRACK_WIDTH_BASE PANEL_TRANSLINE_BASE PANEL_VIA_SIZE_BASE PANEL_WAVELENGTH_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

◆ SaveSettings()

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

◆ 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_ATTENUATORS, PANEL_BOARD_CLASS, PANEL_CABLE_SIZE, PANEL_COLOR_CODE, PANEL_CORROSION, PANEL_ELECTRICAL_SPACING, PANEL_E_SERIE, PANEL_FUSING_CURRENT, PANEL_REGULATOR, PANEL_TRACK_WIDTH, PANEL_TRANSLINE, PANEL_VIA_SIZE, and PANEL_WAVELENGTH.


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