KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_REGULATOR_BASE Class Referenceabstract

Class PANEL_REGULATOR_BASE. More...

#include <panel_regulator_base.h>

Inheritance diagram for PANEL_REGULATOR_BASE:
CALCULATOR_PANEL PANEL_REGULATOR

Public Member Functions

 PANEL_REGULATOR_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_REGULATOR_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 OnRegulTypeSelection (wxCommandEvent &event)
 
virtual void OnRegulatorSelection (wxCommandEvent &event)
 
virtual void OnDataFileSelection (wxCommandEvent &event)
 
virtual void OnEditRegulator (wxCommandEvent &event)
 
virtual void OnAddRegulator (wxCommandEvent &event)
 
virtual void OnRemoveRegulator (wxCommandEvent &event)
 
virtual void OnCopyCB (wxCommandEvent &event)
 
virtual void OnRegulatorCalcButtonClick (wxCommandEvent &event)
 
virtual void OnRegulatorResetButtonClick (wxCommandEvent &event)
 

Protected Attributes

wxStaticText * m_staticTextRegType
 
wxChoice * m_choiceRegType
 
wxStaticBitmap * m_bitmapRegul4pins
 
wxStaticBitmap * m_bitmapRegul3pins
 
wxStaticText * m_RegulFormula
 
wxChoice * m_choiceRegulatorSelector
 
wxStaticText * m_staticTextRegFile
 
wxTextCtrl * m_regulators_fileNameCtrl
 
wxButton * m_buttonDataFile
 
wxButton * m_buttonEditItem
 
wxButton * m_buttonAddItem
 
wxButton * m_buttonRemoveItem
 
wxStaticText * m_labelValMin
 
wxStaticText * m_labelValTyp
 
wxStaticText * m_labelValMax
 
wxRadioButton * m_rbRegulR1
 
wxStaticText * m_labelRegultR1
 
wxTextCtrl * m_r1MinVal
 
wxTextCtrl * m_r1TypVal
 
wxTextCtrl * m_r1MaxVal
 
wxStaticText * m_labelUnitsR1
 
wxRadioButton * m_rbRegulR2
 
wxStaticText * m_labelRegultR2
 
wxTextCtrl * m_r2MinVal
 
wxTextCtrl * m_r2TypVal
 
wxTextCtrl * m_r2MaxVal
 
wxStaticText * m_labelUnitsR2
 
wxRadioButton * m_rbRegulVout
 
wxStaticText * m_labelVout
 
wxTextCtrl * m_voutMinVal
 
wxTextCtrl * m_voutTypVal
 
wxTextCtrl * m_voutMaxVal
 
wxStaticText * m_labelUnitsVout
 
wxStaticText * m_labelVRef
 
wxTextCtrl * m_vrefMinVal
 
wxTextCtrl * m_vrefTypVal
 
wxTextCtrl * m_vrefMaxVal
 
wxStaticText * m_labelUnitsVref
 
wxStaticText * m_RegulIadjTitle
 
wxTextCtrl * m_iadjTypVal
 
wxTextCtrl * m_iadjMaxVal
 
wxStaticText * m_labelUnitsIadj
 
wxStaticText * m_labelTolSumary
 
wxTextCtrl * m_tolTotalMin
 
wxTextCtrl * m_TolTotalMax
 
wxStaticText * m_labelTotalPercent
 
wxStaticText * m_labelResTol
 
wxTextCtrl * m_resTolVal
 
wxStaticText * m_labelResTolUnit
 
wxStaticText * m_labelKicadComment
 
wxTextCtrl * m_textPowerComment
 
wxButton * m_btCopyCB
 
wxStaticText * m_RegulMessage
 
wxButton * m_buttonCalculate
 
wxButton * m_buttonRegulReset
 

Detailed Description

Class PANEL_REGULATOR_BASE.

Definition at line 38 of file panel_regulator_base.h.

Constructor & Destructor Documentation

◆ PANEL_REGULATOR_BASE()

◆ ~PANEL_REGULATOR_BASE()

Member Function Documentation

◆ LoadSettings()

◆ OnAddRegulator()

virtual void PANEL_REGULATOR_BASE::OnAddRegulator ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_REGULATOR.

Definition at line 104 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ OnCopyCB()

virtual void PANEL_REGULATOR_BASE::OnCopyCB ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_REGULATOR.

Definition at line 106 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ OnDataFileSelection()

virtual void PANEL_REGULATOR_BASE::OnDataFileSelection ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_REGULATOR.

Definition at line 102 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ OnEditRegulator()

virtual void PANEL_REGULATOR_BASE::OnEditRegulator ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_REGULATOR.

Definition at line 103 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ OnRegulatorCalcButtonClick()

virtual void PANEL_REGULATOR_BASE::OnRegulatorCalcButtonClick ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_REGULATOR.

Definition at line 107 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ OnRegulatorResetButtonClick()

virtual void PANEL_REGULATOR_BASE::OnRegulatorResetButtonClick ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_REGULATOR.

Definition at line 108 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ OnRegulatorSelection()

virtual void PANEL_REGULATOR_BASE::OnRegulatorSelection ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_REGULATOR.

Definition at line 101 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ OnRegulTypeSelection()

virtual void PANEL_REGULATOR_BASE::OnRegulTypeSelection ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_REGULATOR.

Definition at line 100 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ OnRemoveRegulator()

virtual void PANEL_REGULATOR_BASE::OnRemoveRegulator ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_REGULATOR.

Definition at line 105 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ SaveSettings()

◆ ThemeChanged()

virtual void CALCULATOR_PANEL::ThemeChanged ( )
pure virtualinherited

Member Data Documentation

◆ m_bitmapRegul3pins

wxStaticBitmap* PANEL_REGULATOR_BASE::m_bitmapRegul3pins
protected

◆ m_bitmapRegul4pins

wxStaticBitmap* PANEL_REGULATOR_BASE::m_bitmapRegul4pins
protected

◆ m_btCopyCB

wxButton* PANEL_REGULATOR_BASE::m_btCopyCB
protected

Definition at line 94 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ m_buttonAddItem

wxButton* PANEL_REGULATOR_BASE::m_buttonAddItem
protected

Definition at line 53 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ m_buttonCalculate

wxButton* PANEL_REGULATOR_BASE::m_buttonCalculate
protected

Definition at line 96 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ m_buttonDataFile

wxButton* PANEL_REGULATOR_BASE::m_buttonDataFile
protected

Definition at line 51 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ m_buttonEditItem

wxButton* PANEL_REGULATOR_BASE::m_buttonEditItem
protected

◆ m_buttonRegulReset

wxButton* PANEL_REGULATOR_BASE::m_buttonRegulReset
protected

Definition at line 97 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE(), and ~PANEL_REGULATOR_BASE().

◆ m_buttonRemoveItem

wxButton* PANEL_REGULATOR_BASE::m_buttonRemoveItem
protected

◆ m_choiceRegType

◆ m_choiceRegulatorSelector

◆ m_iadjMaxVal

◆ m_iadjTypVal

◆ m_labelKicadComment

wxStaticText* PANEL_REGULATOR_BASE::m_labelKicadComment
protected

Definition at line 92 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelRegultR1

wxStaticText* PANEL_REGULATOR_BASE::m_labelRegultR1
protected

Definition at line 59 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelRegultR2

wxStaticText* PANEL_REGULATOR_BASE::m_labelRegultR2
protected

Definition at line 65 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelResTol

wxStaticText* PANEL_REGULATOR_BASE::m_labelResTol
protected

Definition at line 89 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelResTolUnit

wxStaticText* PANEL_REGULATOR_BASE::m_labelResTolUnit
protected

Definition at line 91 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelTolSumary

wxStaticText* PANEL_REGULATOR_BASE::m_labelTolSumary
protected

Definition at line 85 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelTotalPercent

wxStaticText* PANEL_REGULATOR_BASE::m_labelTotalPercent
protected

Definition at line 88 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelUnitsIadj

wxStaticText* PANEL_REGULATOR_BASE::m_labelUnitsIadj
protected

◆ m_labelUnitsR1

wxStaticText* PANEL_REGULATOR_BASE::m_labelUnitsR1
protected

Definition at line 63 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelUnitsR2

wxStaticText* PANEL_REGULATOR_BASE::m_labelUnitsR2
protected

Definition at line 69 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelUnitsVout

wxStaticText* PANEL_REGULATOR_BASE::m_labelUnitsVout
protected

Definition at line 75 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelUnitsVref

wxStaticText* PANEL_REGULATOR_BASE::m_labelUnitsVref
protected

Definition at line 80 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelValMax

wxStaticText* PANEL_REGULATOR_BASE::m_labelValMax
protected

Definition at line 57 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelValMin

wxStaticText* PANEL_REGULATOR_BASE::m_labelValMin
protected

Definition at line 55 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelValTyp

wxStaticText* PANEL_REGULATOR_BASE::m_labelValTyp
protected

Definition at line 56 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelVout

wxStaticText* PANEL_REGULATOR_BASE::m_labelVout
protected

Definition at line 71 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelVRef

wxStaticText* PANEL_REGULATOR_BASE::m_labelVRef
protected

Definition at line 76 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_r1MaxVal

wxTextCtrl* PANEL_REGULATOR_BASE::m_r1MaxVal
protected

◆ m_r1MinVal

wxTextCtrl* PANEL_REGULATOR_BASE::m_r1MinVal
protected

◆ m_r1TypVal

◆ m_r2MaxVal

wxTextCtrl* PANEL_REGULATOR_BASE::m_r2MaxVal
protected

◆ m_r2MinVal

wxTextCtrl* PANEL_REGULATOR_BASE::m_r2MinVal
protected

◆ m_r2TypVal

◆ m_rbRegulR1

◆ m_rbRegulR2

◆ m_rbRegulVout

◆ m_regulators_fileNameCtrl

wxTextCtrl* PANEL_REGULATOR_BASE::m_regulators_fileNameCtrl
protected

◆ m_RegulFormula

wxStaticText* PANEL_REGULATOR_BASE::m_RegulFormula
protected

◆ m_RegulIadjTitle

wxStaticText* PANEL_REGULATOR_BASE::m_RegulIadjTitle
protected

◆ m_RegulMessage

wxStaticText* PANEL_REGULATOR_BASE::m_RegulMessage
protected

◆ m_resTolVal

◆ m_staticTextRegFile

wxStaticText* PANEL_REGULATOR_BASE::m_staticTextRegFile
protected

Definition at line 49 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_staticTextRegType

wxStaticText* PANEL_REGULATOR_BASE::m_staticTextRegType
protected

Definition at line 43 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_textPowerComment

wxTextCtrl* PANEL_REGULATOR_BASE::m_textPowerComment
protected

◆ m_TolTotalMax

wxTextCtrl* PANEL_REGULATOR_BASE::m_TolTotalMax
protected

◆ m_tolTotalMin

wxTextCtrl* PANEL_REGULATOR_BASE::m_tolTotalMin
protected

◆ m_voutMaxVal

wxTextCtrl* PANEL_REGULATOR_BASE::m_voutMaxVal
protected

◆ m_voutMinVal

wxTextCtrl* PANEL_REGULATOR_BASE::m_voutMinVal
protected

◆ m_voutTypVal

◆ m_vrefMaxVal

◆ m_vrefMinVal

◆ m_vrefTypVal


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