20#ifndef PANEL_VIA_SIZE_H
21#define PANEL_VIA_SIZE_H
32 const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
33 long style = wxTAB_TRAVERSAL,
const wxString&
name = wxEmptyString );
69 void VSDisplayValues(
double aViaResistance,
double aVoltageDrop,
double aPowerLoss,
70 double aEstimatedAmpacity,
double aThermalResistance,
71 double aCapacitance,
double aTimeDegradation,
double aInductance,
Class PANEL_VIA_SIZE_BASE.
void OnViaResetButtonClick(wxCommandEvent &event) override
Called when the user clicks the reset button; sets the parameters to their default values.
void SaveSettings(PCB_CALCULATOR_SETTINGS *aCfg) override
Save the settings from the panel.
void VSDisplayValues(double aViaResistance, double aVoltageDrop, double aPowerLoss, double aEstimatedAmpacity, double aThermalResistance, double aCapacitance, double aTimeDegradation, double aInductance, double aReactance)
Display the results of the calculation.
void ThemeChanged() override
Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appr...
void OnViaRho_Button(wxCommandEvent &event) override
Shows a list of current Specific resistance list (rho) and select a value.
void LoadSettings(PCB_CALCULATOR_SETTINGS *aCfg) override
Load the settings into the panel.
void OnViaEpsilonR_Button(wxCommandEvent &event) override
Shows a list of current relative dielectric constant(Er) and select a value.
void onUpdateViaCalcErrorText(wxUpdateUIEvent &event) override
Update the Error message in via calculation panel.
void OnViaCalculate(wxCommandEvent &event) override
Called when the user changes any value in the via calculator.