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

Class PANEL_FP_USER_LAYER_NAMES_BASE. More...

#include <panel_fp_user_layer_names_base.h>

Inheritance diagram for PANEL_FP_USER_LAYER_NAMES_BASE:
RESETTABLE_PANEL PANEL_FP_USER_LAYER_NAMES

Public Member Functions

 PANEL_FP_USER_LAYER_NAMES_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_FP_USER_LAYER_NAMES_BASE ()
 
virtual void ResetPanel ()=0
 Reset the contents of this panel.
 
virtual wxString GetResetTooltip () const
 Get the tooltip the reset button should display when showing this panel.
 
wxString GetHelpTextAtPoint (const wxPoint &aPt, wxHelpEvent::Origin aOrigin) const override
 Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }.
 

Protected Member Functions

virtual void onUserLayerCountChange (wxCommandEvent &event)
 
virtual void onLayerChange (wxGridEvent &event)
 
virtual void OnAddLayerItem (wxCommandEvent &event)
 
virtual void OnDeleteLayerItem (wxCommandEvent &event)
 

Protected Attributes

wxStaticText * m_lblUserLayers
 
wxChoice * m_choiceUserLayers
 
wxStaticText * m_layerNamesLabel
 
WX_GRIDm_layerNamesGrid
 
STD_BITMAP_BUTTONm_bpAdd
 
STD_BITMAP_BUTTONm_bpDelete
 

Detailed Description

Constructor & Destructor Documentation

◆ PANEL_FP_USER_LAYER_NAMES_BASE()

PANEL_FP_USER_LAYER_NAMES_BASE::PANEL_FP_USER_LAYER_NAMES_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_FP_USER_LAYER_NAMES_BASE()

PANEL_FP_USER_LAYER_NAMES_BASE::~PANEL_FP_USER_LAYER_NAMES_BASE ( )

Member Function Documentation

◆ GetHelpTextAtPoint()

wxString RESETTABLE_PANEL::GetHelpTextAtPoint ( const wxPoint & aPt,
wxHelpEvent::Origin aOrigin ) const
inlineoverrideinherited

Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }.

Definition at line 72 of file resettable_panel.h.

References GetResetTooltip().

◆ GetResetTooltip()

virtual wxString RESETTABLE_PANEL::GetResetTooltip ( ) const
inlinevirtualinherited

Get the tooltip the reset button should display when showing this panel.

Returns
the tooltip

Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.

Definition at line 64 of file resettable_panel.h.

References _.

Referenced by GetHelpTextAtPoint().

◆ OnAddLayerItem()

virtual void PANEL_FP_USER_LAYER_NAMES_BASE::OnAddLayerItem ( wxCommandEvent & event)
inlineprotectedvirtual

◆ OnDeleteLayerItem()

virtual void PANEL_FP_USER_LAYER_NAMES_BASE::OnDeleteLayerItem ( wxCommandEvent & event)
inlineprotectedvirtual

◆ onLayerChange()

virtual void PANEL_FP_USER_LAYER_NAMES_BASE::onLayerChange ( wxGridEvent & event)
inlineprotectedvirtual

◆ onUserLayerCountChange()

virtual void PANEL_FP_USER_LAYER_NAMES_BASE::onUserLayerCountChange ( wxCommandEvent & event)
inlineprotectedvirtual

◆ ResetPanel()

Member Data Documentation

◆ m_bpAdd

◆ m_bpDelete

◆ m_choiceUserLayers

◆ m_layerNamesGrid

◆ m_layerNamesLabel

wxStaticText* PANEL_FP_USER_LAYER_NAMES_BASE::m_layerNamesLabel
protected

Definition at line 45 of file panel_fp_user_layer_names_base.h.

Referenced by PANEL_FP_USER_LAYER_NAMES_BASE().

◆ m_lblUserLayers

wxStaticText* PANEL_FP_USER_LAYER_NAMES_BASE::m_lblUserLayers
protected

Definition at line 43 of file panel_fp_user_layer_names_base.h.

Referenced by PANEL_FP_USER_LAYER_NAMES_BASE().


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