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

Class PANEL_WAVELENGTH_BASE. More...

#include <panel_wavelength_base.h>

Inheritance diagram for PANEL_WAVELENGTH_BASE:
CALCULATOR_PANEL PANEL_WAVELENGTH

Public Member Functions

 PANEL_WAVELENGTH_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(538, 453), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~PANEL_WAVELENGTH_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 OnFrequencyChange (wxCommandEvent &event)
 
virtual void updateUnits (wxCommandEvent &event)
 
virtual void OnPeriodChange (wxCommandEvent &event)
 
virtual void OnWavelengthVacuumChange (wxCommandEvent &event)
 
virtual void OnWavelengthMediumChange (wxCommandEvent &event)
 
virtual void OnPermittivityChange (wxCommandEvent &event)
 
virtual void OnButtonPermittivity (wxCommandEvent &event)
 
virtual void OnPermeabilityChange (wxCommandEvent &event)
 

Protected Attributes

wxStaticText * m_staticText18
 
wxTextCtrl * m_frequencyCtrl
 
UNIT_SELECTOR_FREQUENCYm_frequencyUnit
 
wxStaticText * m_staticText181
 
wxTextCtrl * m_periodCtrl
 
UNIT_SELECTOR_TIMEm_periodUnit
 
wxStaticText * m_staticText1811
 
wxTextCtrl * m_wavelengthVacuumCtrl
 
UNIT_SELECTOR_LEN_CABLEm_wavelengthVacuumUnit
 
wxStaticText * m_staticText18111
 
wxTextCtrl * m_wavelengthMediumCtrl
 
UNIT_SELECTOR_LEN_CABLEm_wavelengthMediumUnit
 
wxStaticText * m_staticText181112
 
wxTextCtrl * m_speedCtrl
 
UNIT_SELECTOR_SPEEDm_speedUnit
 
wxStaticText * m_staticText181111
 
wxTextCtrl * m_permittivityCtrl
 
wxButton * m_button1
 
wxStaticText * m_staticText42
 
wxTextCtrl * m_permeabilityCtrl
 

Detailed Description

Class PANEL_WAVELENGTH_BASE.

Definition at line 40 of file panel_wavelength_base.h.

Constructor & Destructor Documentation

◆ PANEL_WAVELENGTH_BASE()

PANEL_WAVELENGTH_BASE::PANEL_WAVELENGTH_BASE ( wxWindow *  parent,
wxWindowID  id = wxID_ANY,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxSize( 538,453 ),
long  style = wxTAB_TRAVERSAL,
const wxString &  name = wxEmptyString 
)

◆ ~PANEL_WAVELENGTH_BASE()

Member Function Documentation

◆ LoadSettings()

◆ OnButtonPermittivity()

virtual void PANEL_WAVELENGTH_BASE::OnButtonPermittivity ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_WAVELENGTH.

Definition at line 73 of file panel_wavelength_base.h.

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

◆ OnFrequencyChange()

virtual void PANEL_WAVELENGTH_BASE::OnFrequencyChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_WAVELENGTH.

Definition at line 67 of file panel_wavelength_base.h.

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

◆ OnPeriodChange()

virtual void PANEL_WAVELENGTH_BASE::OnPeriodChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_WAVELENGTH.

Definition at line 69 of file panel_wavelength_base.h.

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

◆ OnPermeabilityChange()

virtual void PANEL_WAVELENGTH_BASE::OnPermeabilityChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_WAVELENGTH.

Definition at line 74 of file panel_wavelength_base.h.

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

◆ OnPermittivityChange()

virtual void PANEL_WAVELENGTH_BASE::OnPermittivityChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_WAVELENGTH.

Definition at line 72 of file panel_wavelength_base.h.

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

◆ OnWavelengthMediumChange()

virtual void PANEL_WAVELENGTH_BASE::OnWavelengthMediumChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_WAVELENGTH.

Definition at line 71 of file panel_wavelength_base.h.

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

◆ OnWavelengthVacuumChange()

virtual void PANEL_WAVELENGTH_BASE::OnWavelengthVacuumChange ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_WAVELENGTH.

Definition at line 70 of file panel_wavelength_base.h.

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

◆ SaveSettings()

◆ ThemeChanged()

virtual void CALCULATOR_PANEL::ThemeChanged ( )
pure virtualinherited

◆ updateUnits()

virtual void PANEL_WAVELENGTH_BASE::updateUnits ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_WAVELENGTH.

Definition at line 68 of file panel_wavelength_base.h.

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

Member Data Documentation

◆ m_button1

wxButton* PANEL_WAVELENGTH_BASE::m_button1
protected

Definition at line 62 of file panel_wavelength_base.h.

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

◆ m_frequencyCtrl

wxTextCtrl* PANEL_WAVELENGTH_BASE::m_frequencyCtrl
protected

◆ m_frequencyUnit

◆ m_periodCtrl

wxTextCtrl* PANEL_WAVELENGTH_BASE::m_periodCtrl
protected

◆ m_periodUnit

◆ m_permeabilityCtrl

wxTextCtrl* PANEL_WAVELENGTH_BASE::m_permeabilityCtrl
protected

◆ m_permittivityCtrl

wxTextCtrl* PANEL_WAVELENGTH_BASE::m_permittivityCtrl
protected

◆ m_speedCtrl

wxTextCtrl* PANEL_WAVELENGTH_BASE::m_speedCtrl
protected

◆ m_speedUnit

◆ m_staticText18

wxStaticText* PANEL_WAVELENGTH_BASE::m_staticText18
protected

Definition at line 45 of file panel_wavelength_base.h.

Referenced by PANEL_WAVELENGTH_BASE().

◆ m_staticText181

wxStaticText* PANEL_WAVELENGTH_BASE::m_staticText181
protected

Definition at line 48 of file panel_wavelength_base.h.

Referenced by PANEL_WAVELENGTH_BASE().

◆ m_staticText1811

wxStaticText* PANEL_WAVELENGTH_BASE::m_staticText1811
protected

Definition at line 51 of file panel_wavelength_base.h.

Referenced by PANEL_WAVELENGTH_BASE().

◆ m_staticText18111

wxStaticText* PANEL_WAVELENGTH_BASE::m_staticText18111
protected

Definition at line 54 of file panel_wavelength_base.h.

Referenced by PANEL_WAVELENGTH_BASE().

◆ m_staticText181111

wxStaticText* PANEL_WAVELENGTH_BASE::m_staticText181111
protected

Definition at line 60 of file panel_wavelength_base.h.

Referenced by PANEL_WAVELENGTH_BASE().

◆ m_staticText181112

wxStaticText* PANEL_WAVELENGTH_BASE::m_staticText181112
protected

Definition at line 57 of file panel_wavelength_base.h.

Referenced by PANEL_WAVELENGTH_BASE().

◆ m_staticText42

wxStaticText* PANEL_WAVELENGTH_BASE::m_staticText42
protected

Definition at line 63 of file panel_wavelength_base.h.

Referenced by PANEL_WAVELENGTH_BASE().

◆ m_wavelengthMediumCtrl

wxTextCtrl* PANEL_WAVELENGTH_BASE::m_wavelengthMediumCtrl
protected

◆ m_wavelengthMediumUnit

◆ m_wavelengthVacuumCtrl

wxTextCtrl* PANEL_WAVELENGTH_BASE::m_wavelengthVacuumCtrl
protected

◆ m_wavelengthVacuumUnit


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