KiCad PCB EDA Suite
|
Class PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE. More...
#include <panel_fp_editor_field_defaults_base.h>
Public Member Functions | |
PANEL_FP_EDITOR_FIELD_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_FIELD_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_GRID * | m_fieldPropsGrid |
wxStaticText * | defaultTextItemsLabel |
WX_GRID * | m_textItemsGrid |
STD_BITMAP_BUTTON * | m_bpAdd |
STD_BITMAP_BUTTON * | m_bpDelete |
Class PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE.
Definition at line 37 of file panel_fp_editor_field_defaults_base.h.
PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE::PANEL_FP_EDITOR_FIELD_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 |
||
) |
Definition at line 15 of file panel_fp_editor_field_defaults_base.cpp.
References _, defaultFieldPropertiesLabel, defaultTextItemsLabel, m_bpAdd, m_bpDelete, m_fieldPropsGrid, m_textItemsGrid, OnAddTextItem(), OnDeleteTextItem(), OnGridSize(), and WX_GRID::SetColLabelSize().
PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE::~PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE | ( | ) |
Definition at line 157 of file panel_fp_editor_field_defaults_base.cpp.
References m_bpAdd, m_bpDelete, m_fieldPropsGrid, m_textItemsGrid, OnAddTextItem(), OnDeleteTextItem(), and OnGridSize().
|
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().
|
inlinevirtualinherited |
Get the tooltip the reset button should display when showing this panel.
Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.
Definition at line 64 of file resettable_panel.h.
References _.
Referenced by RESETTABLE_PANEL::GetHelpTextAtPoint().
|
inlineprotectedvirtual |
Reimplemented in PANEL_FP_EDITOR_FIELD_DEFAULTS.
Definition at line 51 of file panel_fp_editor_field_defaults_base.h.
Referenced by PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE(), and ~PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_FP_EDITOR_FIELD_DEFAULTS.
Definition at line 52 of file panel_fp_editor_field_defaults_base.h.
Referenced by PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE(), and ~PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE().
|
inlineprotectedvirtual |
Definition at line 50 of file panel_fp_editor_field_defaults_base.h.
Referenced by PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE(), and ~PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE().
|
pure virtualinherited |
Reset the contents of this panel.
Implemented in PANEL_3D_DISPLAY_OPTIONS, PANEL_3D_OPENGL_OPTIONS, PANEL_3D_RAYTRACING_OPTIONS, PANEL_GIT_REPOS, PANEL_EESCHEMA_ANNOTATION_OPTIONS, PANEL_EESCHEMA_COLOR_SETTINGS, PANEL_EESCHEMA_DISPLAY_OPTIONS, PANEL_EESCHEMA_EDITING_OPTIONS, PANEL_SETUP_PINMAP, PANEL_SIMULATOR_PREFERENCES, PANEL_SYM_DISPLAY_OPTIONS, PANEL_SYM_EDITING_OPTIONS, PANEL_GERBVIEW_DISPLAY_OPTIONS, PANEL_GERBVIEW_EXCELLON_SETTINGS, PANEL_COLOR_SETTINGS, PANEL_COMMON_SETTINGS, PANEL_DATA_COLLECTION, PANEL_GRID_SETTINGS, PANEL_MOUSE_SETTINGS, PANEL_PLUGIN_SETTINGS, PANEL_HOTKEYS_EDITOR, PANEL_PL_EDITOR_COLOR_SETTINGS, PANEL_PL_EDITOR_DISPLAY_OPTIONS, PANEL_EDIT_OPTIONS, PANEL_FP_EDITOR_FIELD_DEFAULTS, PANEL_FP_EDITOR_GRAPHICS_DEFAULTS, PANEL_PCB_DISPLAY_OPTIONS, PANEL_PCBNEW_COLOR_SETTINGS, and PANEL_PCBNEW_DISPLAY_ORIGIN.
Referenced by RESETTABLE_PANEL::RESETTABLE_PANEL().
|
protected |
Definition at line 42 of file panel_fp_editor_field_defaults_base.h.
Referenced by PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE().
|
protected |
Definition at line 44 of file panel_fp_editor_field_defaults_base.h.
Referenced by PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE().
|
protected |
Definition at line 46 of file panel_fp_editor_field_defaults_base.h.
Referenced by PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE(), PANEL_FP_EDITOR_FIELD_DEFAULTS::Show(), and ~PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE().
|
protected |
Definition at line 47 of file panel_fp_editor_field_defaults_base.h.
Referenced by PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE(), PANEL_FP_EDITOR_FIELD_DEFAULTS::Show(), and ~PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE().
|
protected |
Definition at line 43 of file panel_fp_editor_field_defaults_base.h.
Referenced by PANEL_FP_EDITOR_FIELD_DEFAULTS::loadFPSettings(), PANEL_FP_EDITOR_FIELD_DEFAULTS::PANEL_FP_EDITOR_FIELD_DEFAULTS(), PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE(), PANEL_FP_EDITOR_FIELD_DEFAULTS::TransferDataFromWindow(), PANEL_FP_EDITOR_FIELD_DEFAULTS::~PANEL_FP_EDITOR_FIELD_DEFAULTS(), and ~PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE().
|
protected |
Definition at line 45 of file panel_fp_editor_field_defaults_base.h.
Referenced by PANEL_FP_EDITOR_FIELD_DEFAULTS::loadFPSettings(), PANEL_FP_EDITOR_FIELD_DEFAULTS::OnAddTextItem(), PANEL_FP_EDITOR_FIELD_DEFAULTS::OnDeleteTextItem(), PANEL_FP_EDITOR_FIELD_DEFAULTS::PANEL_FP_EDITOR_FIELD_DEFAULTS(), PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE(), PANEL_FP_EDITOR_FIELD_DEFAULTS::TransferDataFromWindow(), PANEL_FP_EDITOR_FIELD_DEFAULTS::~PANEL_FP_EDITOR_FIELD_DEFAULTS(), and ~PANEL_FP_EDITOR_FIELD_DEFAULTS_BASE().