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

Class PANEL_BOARD_CLASS_BASE. More...

#include <panel_board_class_base.h>

Inheritance diagram for PANEL_BOARD_CLASS_BASE:
CALCULATOR_PANEL PANEL_BOARD_CLASS

Public Member Functions

 PANEL_BOARD_CLASS_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_BOARD_CLASS_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 OnBoardClassesUnitsSelection (wxCommandEvent &event)
 

Protected Attributes

UNIT_SELECTOR_LENm_BoardClassesUnitsSelector
 
wxStaticText * m_staticTextBrdClass
 
wxGrid * m_gridClassesValuesDisplay
 
wxPanel * m_panelShowClassPrms
 

Detailed Description

Class PANEL_BOARD_CLASS_BASE.

Definition at line 33 of file panel_board_class_base.h.

Constructor & Destructor Documentation

◆ PANEL_BOARD_CLASS_BASE()

PANEL_BOARD_CLASS_BASE::PANEL_BOARD_CLASS_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_BOARD_CLASS_BASE()

PANEL_BOARD_CLASS_BASE::~PANEL_BOARD_CLASS_BASE ( )

Member Function Documentation

◆ LoadSettings()

◆ OnBoardClassesUnitsSelection()

virtual void PANEL_BOARD_CLASS_BASE::OnBoardClassesUnitsSelection ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_BOARD_CLASS.

Definition at line 44 of file panel_board_class_base.h.

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

◆ SaveSettings()

◆ ThemeChanged()

virtual void CALCULATOR_PANEL::ThemeChanged ( )
pure virtualinherited

Member Data Documentation

◆ m_BoardClassesUnitsSelector

◆ m_gridClassesValuesDisplay

wxGrid* PANEL_BOARD_CLASS_BASE::m_gridClassesValuesDisplay
protected

◆ m_panelShowClassPrms

wxPanel* PANEL_BOARD_CLASS_BASE::m_panelShowClassPrms
protected

Definition at line 41 of file panel_board_class_base.h.

Referenced by PANEL_BOARD_CLASS_BASE().

◆ m_staticTextBrdClass

wxStaticText* PANEL_BOARD_CLASS_BASE::m_staticTextBrdClass
protected

Definition at line 39 of file panel_board_class_base.h.

Referenced by PANEL_BOARD_CLASS_BASE().


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