| 
    KiCad PCB EDA Suite
    
   | 
 
Class PANEL_R_CALCULATOR_BASE. More...
#include <panel_r_calculator_base.h>
  
Public Member Functions | |
| PANEL_R_CALCULATOR_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString) | |
| ~PANEL_R_CALCULATOR_BASE () | |
| virtual void | LoadSettings (PCB_CALCULATOR_SETTINGS *aCfg)=0 | 
| Load the settings into the panel.   | |
| virtual void | SaveSettings (PCB_CALCULATOR_SETTINGS *aCfg)=0 | 
| Save the settings from the panel.   | |
| 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.   | |
Protected Member Functions | |
| virtual void | OnESeriesSelection (wxCommandEvent &event) | 
| virtual void | OnCalculateESeries (wxCommandEvent &event) | 
Protected Attributes | |
| wxStaticText * | m_ESrequired | 
| wxTextCtrl * | m_ResRequired | 
| wxStaticText * | m_reqResUnits | 
| wxStaticText * | m_ESrequired1 | 
| wxTextCtrl * | m_ResExclude1 | 
| wxStaticText * | m_exclude1Units | 
| wxStaticText * | m_ESrequired11 | 
| wxTextCtrl * | m_ResExclude2 | 
| wxStaticText * | m_exclude2Units | 
| wxStaticLine * | m_staticline6 | 
| wxRadioButton * | m_e1 | 
| wxRadioButton * | m_e3 | 
| wxRadioButton * | m_e6 | 
| wxRadioButton * | m_e12 | 
| wxRadioButton * | m_e24 | 
| wxStaticText * | m_ESeriesSimpleSolution | 
| wxTextCtrl * | m_ESeries_Sol2R | 
| wxStaticText * | m_ESeriesSimpleErr | 
| wxTextCtrl * | m_ESeriesError2R | 
| wxStaticText * | m_ESeriesSimplePercent | 
| wxStaticText * | m_ESeries3RSolution1 | 
| wxTextCtrl * | m_ESeries_Sol3R | 
| wxStaticText * | m_ESeriesAltErr | 
| wxTextCtrl * | m_ESeriesError3R | 
| wxStaticText * | m_ESeriesAltPercent | 
| wxStaticText * | m_ESeries4RSolution | 
| wxTextCtrl * | m_ESeries_Sol4R | 
| wxStaticText * | m_ESeriesAltErr1 | 
| wxTextCtrl * | m_ESeriesError4R | 
| wxStaticText * | m_ESeriesAltPercent1 | 
| wxStaticLine * | m_staticline7 | 
| wxButton * | m_buttonEScalculate | 
| HTML_WINDOW * | m_panelESeriesHelp | 
Class PANEL_R_CALCULATOR_BASE.
Definition at line 39 of file panel_r_calculator_base.h.
| PANEL_R_CALCULATOR_BASE::PANEL_R_CALCULATOR_BASE | ( | wxWindow * | parent, | 
| wxWindowID | id = wxID_ANY, | ||
| const wxPoint & | pos = wxDefaultPosition, | ||
| const wxSize & | size = wxSize( -1,-1 ), | ||
| long | style = wxTAB_TRAVERSAL, | ||
| const wxString & | name = wxEmptyString ) | 
Definition at line 12 of file panel_r_calculator_base.cpp.
References _, CALCULATOR_PANEL::CALCULATOR_PANEL(), m_buttonEScalculate, m_e1, m_e12, m_e24, m_e3, m_e6, m_ESeries3RSolution1, m_ESeries4RSolution, m_ESeries_Sol2R, m_ESeries_Sol3R, m_ESeries_Sol4R, m_ESeriesAltErr, m_ESeriesAltErr1, m_ESeriesAltPercent, m_ESeriesAltPercent1, m_ESeriesError2R, m_ESeriesError3R, m_ESeriesError4R, m_ESeriesSimpleErr, m_ESeriesSimplePercent, m_ESeriesSimpleSolution, m_ESrequired, m_ESrequired1, m_ESrequired11, m_exclude1Units, m_exclude2Units, m_panelESeriesHelp, m_reqResUnits, m_ResExclude1, m_ResExclude2, m_ResRequired, m_staticline6, m_staticline7, name, OnCalculateESeries(), and OnESeriesSelection().
Referenced by PANEL_R_CALCULATOR::PANEL_R_CALCULATOR().
| PANEL_R_CALCULATOR_BASE::~PANEL_R_CALCULATOR_BASE | ( | ) | 
Definition at line 214 of file panel_r_calculator_base.cpp.
References m_buttonEScalculate, m_e1, m_e12, m_e24, m_e3, m_e6, OnCalculateESeries(), and OnESeriesSelection().
      
  | 
  pure virtualinherited | 
Load the settings into the panel.
| aCfg | is the settings structure to load from | 
Implemented in PANEL_BOARD_CLASS, PANEL_CABLE_SIZE, PANEL_COLOR_CODE, PANEL_ELECTRICAL_SPACING, PANEL_ELECTRICAL_SPACING_IEC60664, PANEL_ELECTRICAL_SPACING_IPC2221, PANEL_ESERIES_DISPLAY, PANEL_FUSING_CURRENT, PANEL_GALVANIC_CORROSION, PANEL_R_CALCULATOR, PANEL_REGULATOR, PANEL_RF_ATTENUATORS, PANEL_TRACK_WIDTH, PANEL_TRANSLINE, PANEL_VIA_SIZE, and PANEL_WAVELENGTH.
      
  | 
  inlineprotectedvirtual | 
Reimplemented in PANEL_R_CALCULATOR.
Definition at line 80 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE(), and ~PANEL_R_CALCULATOR_BASE().
      
  | 
  inlineprotectedvirtual | 
Reimplemented in PANEL_R_CALCULATOR.
Definition at line 79 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE(), and ~PANEL_R_CALCULATOR_BASE().
      
  | 
  pure virtualinherited | 
Save the settings from the panel.
| aCfg | is the settings structure to save to | 
Implemented in PANEL_BOARD_CLASS, PANEL_CABLE_SIZE, PANEL_COLOR_CODE, PANEL_ELECTRICAL_SPACING, PANEL_ELECTRICAL_SPACING_IEC60664, PANEL_ELECTRICAL_SPACING_IPC2221, PANEL_ESERIES_DISPLAY, PANEL_FUSING_CURRENT, PANEL_GALVANIC_CORROSION, PANEL_R_CALCULATOR, PANEL_REGULATOR, PANEL_RF_ATTENUATORS, PANEL_TRACK_WIDTH, PANEL_TRANSLINE, PANEL_VIA_SIZE, and PANEL_WAVELENGTH.
      
  | 
  pure virtualinherited | 
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_BOARD_CLASS, PANEL_CABLE_SIZE, PANEL_COLOR_CODE, PANEL_ELECTRICAL_SPACING, PANEL_ELECTRICAL_SPACING_IEC60664, PANEL_ELECTRICAL_SPACING_IPC2221, PANEL_ESERIES_DISPLAY, PANEL_FUSING_CURRENT, PANEL_GALVANIC_CORROSION, PANEL_R_CALCULATOR, PANEL_REGULATOR, PANEL_RF_ATTENUATORS, PANEL_TRACK_WIDTH, PANEL_TRANSLINE, PANEL_VIA_SIZE, and PANEL_WAVELENGTH.
      
  | 
  protected | 
Definition at line 75 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE(), and ~PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 54 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnESeriesSelection(), PANEL_R_CALCULATOR_BASE(), and ~PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 57 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnESeriesSelection(), PANEL_R_CALCULATOR_BASE(), and ~PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 58 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnESeriesSelection(), PANEL_R_CALCULATOR_BASE(), and ~PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 55 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnESeriesSelection(), PANEL_R_CALCULATOR_BASE(), and ~PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 56 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE(), and ~PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 64 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 69 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 60 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnCalculateESeries(), and PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 65 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnCalculateESeries(), and PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 70 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnCalculateESeries(), and PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 66 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 71 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 68 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 73 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 62 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnCalculateESeries(), PANEL_R_CALCULATOR::PANEL_R_CALCULATOR(), and PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 67 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnCalculateESeries(), PANEL_R_CALCULATOR::PANEL_R_CALCULATOR(), and PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 72 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnCalculateESeries(), PANEL_R_CALCULATOR::PANEL_R_CALCULATOR(), and PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 61 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 63 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 59 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 44 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 47 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 50 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 49 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::PANEL_R_CALCULATOR(), and PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 52 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::PANEL_R_CALCULATOR(), and PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 76 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::PANEL_R_CALCULATOR(), PANEL_R_CALCULATOR_BASE(), and PANEL_R_CALCULATOR::ThemeChanged().
      
  | 
  protected | 
Definition at line 46 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::PANEL_R_CALCULATOR(), and PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 48 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnCalculateESeries(), PANEL_R_CALCULATOR::PANEL_R_CALCULATOR(), and PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 51 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnCalculateESeries(), PANEL_R_CALCULATOR::PANEL_R_CALCULATOR(), and PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 45 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR::OnCalculateESeries(), PANEL_R_CALCULATOR::PANEL_R_CALCULATOR(), and PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 53 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().
      
  | 
  protected | 
Definition at line 74 of file panel_r_calculator_base.h.
Referenced by PANEL_R_CALCULATOR_BASE().