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. 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...
 

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 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
 
wxRadioButton * m_rbRegulR1
 
wxStaticText * m_labelRegultR1
 
wxTextCtrl * m_RegulR1Value
 
wxStaticText * m_r1Units
 
wxRadioButton * m_rbRegulR2
 
wxStaticText * m_labelRegultR2
 
wxTextCtrl * m_RegulR2Value
 
wxStaticText * m_r2Units
 
wxRadioButton * m_rbRegulVout
 
wxStaticText * m_labelVout
 
wxTextCtrl * m_RegulVoutValue
 
wxStaticText * m_unitsVout
 
wxStaticText * m_labelVRef
 
wxTextCtrl * m_RegulVrefValue
 
wxStaticText * m_unitsVref
 
wxStaticText * m_RegulIadjTitle
 
wxTextCtrl * m_RegulIadjValue
 
wxStaticText * m_IadjUnitLabel
 
wxButton * m_buttonCalculate
 
wxStaticText * m_RegulMessage
 
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 82 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 80 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 81 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 84 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 85 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 79 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 78 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 83 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_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 73 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 75 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_IadjUnitLabel

wxStaticText* PANEL_REGULATOR_BASE::m_IadjUnitLabel
protected

◆ m_labelRegultR1

wxStaticText* PANEL_REGULATOR_BASE::m_labelRegultR1
protected

Definition at line 56 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelRegultR2

wxStaticText* PANEL_REGULATOR_BASE::m_labelRegultR2
protected

Definition at line 60 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelVout

wxStaticText* PANEL_REGULATOR_BASE::m_labelVout
protected

Definition at line 64 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_labelVRef

wxStaticText* PANEL_REGULATOR_BASE::m_labelVRef
protected

Definition at line 67 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_r1Units

wxStaticText* PANEL_REGULATOR_BASE::m_r1Units
protected

◆ m_r2Units

wxStaticText* PANEL_REGULATOR_BASE::m_r2Units
protected

◆ 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

Definition at line 70 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_RegulIadjValue

wxTextCtrl* PANEL_REGULATOR_BASE::m_RegulIadjValue
protected

◆ m_RegulMessage

wxStaticText* PANEL_REGULATOR_BASE::m_RegulMessage
protected

◆ m_RegulR1Value

◆ m_RegulR2Value

◆ m_RegulVoutValue

◆ m_RegulVrefValue

◆ 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_unitsVout

wxStaticText* PANEL_REGULATOR_BASE::m_unitsVout
protected

Definition at line 66 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().

◆ m_unitsVref

wxStaticText* PANEL_REGULATOR_BASE::m_unitsVref
protected

Definition at line 69 of file panel_regulator_base.h.

Referenced by PANEL_REGULATOR_BASE().


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