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

Class PANEL_FP_EDITOR_DEFAULTS_BASE. More...

#include <panel_fp_editor_defaults_base.h>

Inheritance diagram for PANEL_FP_EDITOR_DEFAULTS_BASE:
RESETTABLE_PANEL PANEL_FP_EDITOR_DEFAULTS

Public Member Functions

 PANEL_FP_EDITOR_DEFAULTS_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_EDITOR_DEFAULTS_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 OnGridSize (wxSizeEvent &event)
 
virtual void OnAddTextItem (wxCommandEvent &event)
 
virtual void OnDeleteTextItem (wxCommandEvent &event)
 

Protected Attributes

wxStaticText * defaultFieldPropertiesLabel
 
WX_GRIDm_fieldPropsGrid
 
wxStaticText * defaultTextItemsLabel
 
WX_GRIDm_textItemsGrid
 
STD_BITMAP_BUTTONm_bpAdd
 
STD_BITMAP_BUTTONm_bpDelete
 
WX_GRIDm_graphicsGrid
 

Detailed Description

Constructor & Destructor Documentation

◆ PANEL_FP_EDITOR_DEFAULTS_BASE()

PANEL_FP_EDITOR_DEFAULTS_BASE::PANEL_FP_EDITOR_DEFAULTS_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_EDITOR_DEFAULTS_BASE()

PANEL_FP_EDITOR_DEFAULTS_BASE::~PANEL_FP_EDITOR_DEFAULTS_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 RESETTABLE_PANEL::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 RESETTABLE_PANEL::GetHelpTextAtPoint().

◆ OnAddTextItem()

virtual void PANEL_FP_EDITOR_DEFAULTS_BASE::OnAddTextItem ( wxCommandEvent &  event)
inlineprotectedvirtual

◆ OnDeleteTextItem()

virtual void PANEL_FP_EDITOR_DEFAULTS_BASE::OnDeleteTextItem ( wxCommandEvent &  event)
inlineprotectedvirtual

◆ OnGridSize()

virtual void PANEL_FP_EDITOR_DEFAULTS_BASE::OnGridSize ( wxSizeEvent &  event)
inlineprotectedvirtual

◆ ResetPanel()

Member Data Documentation

◆ defaultFieldPropertiesLabel

wxStaticText* PANEL_FP_EDITOR_DEFAULTS_BASE::defaultFieldPropertiesLabel
protected

Definition at line 43 of file panel_fp_editor_defaults_base.h.

Referenced by PANEL_FP_EDITOR_DEFAULTS_BASE().

◆ defaultTextItemsLabel

wxStaticText* PANEL_FP_EDITOR_DEFAULTS_BASE::defaultTextItemsLabel
protected

Definition at line 45 of file panel_fp_editor_defaults_base.h.

Referenced by PANEL_FP_EDITOR_DEFAULTS_BASE().

◆ m_bpAdd

STD_BITMAP_BUTTON* PANEL_FP_EDITOR_DEFAULTS_BASE::m_bpAdd
protected

◆ m_bpDelete

STD_BITMAP_BUTTON* PANEL_FP_EDITOR_DEFAULTS_BASE::m_bpDelete
protected

◆ m_fieldPropsGrid

◆ m_graphicsGrid

◆ m_textItemsGrid


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