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

Class PANEL_COLOR_CODE_BASE. More...

#include <panel_color_code_base.h>

Inheritance diagram for PANEL_COLOR_CODE_BASE:
CALCULATOR_PANEL PANEL_COLOR_CODE

Public Member Functions

 PANEL_COLOR_CODE_BASE (wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(500, 300), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
 ~PANEL_COLOR_CODE_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 OnToleranceSelection (wxCommandEvent &event)
 

Protected Attributes

wxRadioBox * m_rbToleranceSelection
 
wxStaticText * m_staticTextBand1
 
wxStaticText * m_staticTextBand2
 
wxStaticText * m_staticTextBand3
 
wxStaticText * m_staticTextBand4
 
wxStaticText * m_staticTextBand5
 
wxStaticText * m_staticTextBand6
 
wxStaticBitmap * m_Band1bitmap
 
wxStaticBitmap * m_Band2bitmap
 
wxStaticBitmap * m_Band3bitmap
 
wxStaticBitmap * m_Band4bitmap
 
wxStaticBitmap * m_Band_mult_bitmap
 
wxStaticBitmap * m_Band_tol_bitmap
 

Detailed Description

Class PANEL_COLOR_CODE_BASE.

Definition at line 34 of file panel_color_code_base.h.

Constructor & Destructor Documentation

◆ PANEL_COLOR_CODE_BASE()

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

◆ ~PANEL_COLOR_CODE_BASE()

PANEL_COLOR_CODE_BASE::~PANEL_COLOR_CODE_BASE ( )

Definition at line 87 of file panel_color_code_base.cpp.

References m_rbToleranceSelection, and OnToleranceSelection().

Member Function Documentation

◆ LoadSettings()

◆ OnToleranceSelection()

virtual void PANEL_COLOR_CODE_BASE::OnToleranceSelection ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_COLOR_CODE.

Definition at line 54 of file panel_color_code_base.h.

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

◆ SaveSettings()

◆ ThemeChanged()

virtual void CALCULATOR_PANEL::ThemeChanged ( )
pure virtualinherited

Member Data Documentation

◆ m_Band1bitmap

wxStaticBitmap* PANEL_COLOR_CODE_BASE::m_Band1bitmap
protected

◆ m_Band2bitmap

wxStaticBitmap* PANEL_COLOR_CODE_BASE::m_Band2bitmap
protected

◆ m_Band3bitmap

wxStaticBitmap* PANEL_COLOR_CODE_BASE::m_Band3bitmap
protected

◆ m_Band4bitmap

wxStaticBitmap* PANEL_COLOR_CODE_BASE::m_Band4bitmap
protected

◆ m_Band_mult_bitmap

wxStaticBitmap* PANEL_COLOR_CODE_BASE::m_Band_mult_bitmap
protected

◆ m_Band_tol_bitmap

wxStaticBitmap* PANEL_COLOR_CODE_BASE::m_Band_tol_bitmap
protected

◆ m_rbToleranceSelection

wxRadioBox* PANEL_COLOR_CODE_BASE::m_rbToleranceSelection
protected

◆ m_staticTextBand1

wxStaticText* PANEL_COLOR_CODE_BASE::m_staticTextBand1
protected

Definition at line 40 of file panel_color_code_base.h.

Referenced by PANEL_COLOR_CODE_BASE().

◆ m_staticTextBand2

wxStaticText* PANEL_COLOR_CODE_BASE::m_staticTextBand2
protected

Definition at line 41 of file panel_color_code_base.h.

Referenced by PANEL_COLOR_CODE_BASE().

◆ m_staticTextBand3

wxStaticText* PANEL_COLOR_CODE_BASE::m_staticTextBand3
protected

Definition at line 42 of file panel_color_code_base.h.

Referenced by PANEL_COLOR_CODE_BASE().

◆ m_staticTextBand4

wxStaticText* PANEL_COLOR_CODE_BASE::m_staticTextBand4
protected

◆ m_staticTextBand5

wxStaticText* PANEL_COLOR_CODE_BASE::m_staticTextBand5
protected

Definition at line 44 of file panel_color_code_base.h.

Referenced by PANEL_COLOR_CODE_BASE().

◆ m_staticTextBand6

wxStaticText* PANEL_COLOR_CODE_BASE::m_staticTextBand6
protected

Definition at line 45 of file panel_color_code_base.h.

Referenced by PANEL_COLOR_CODE_BASE().


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