KiCad PCB EDA Suite
|
Class PANEL_GRID_SETTINGS_BASE. More...
#include <panel_grid_settings_base.h>
Public Member Functions | |
PANEL_GRID_SETTINGS_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_GRID_SETTINGS_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 | OnEditGrid (wxCommandEvent &event) |
virtual void | OnAddGrid (wxCommandEvent &event) |
virtual void | OnUpdateEditGrid (wxUpdateUIEvent &event) |
virtual void | OnMoveGridUp (wxCommandEvent &event) |
virtual void | OnUpdateMoveUp (wxUpdateUIEvent &event) |
virtual void | OnMoveGridDown (wxCommandEvent &event) |
virtual void | OnUpdateMoveDown (wxUpdateUIEvent &event) |
virtual void | OnRemoveGrid (wxCommandEvent &event) |
virtual void | OnUpdateRemove (wxUpdateUIEvent &event) |
Protected Attributes | |
wxStaticText * | m_gridsLabel |
wxListBox * | m_currentGridCtrl |
STD_BITMAP_BUTTON * | m_addGridButton |
STD_BITMAP_BUTTON * | m_editGridButton |
STD_BITMAP_BUTTON * | m_moveUpButton |
STD_BITMAP_BUTTON * | m_moveDownButton |
STD_BITMAP_BUTTON * | m_removeGridButton |
wxStaticText * | m_staticText21 |
wxStaticLine * | m_staticline2 |
wxStaticText * | m_staticTextGrid1 |
wxChoice * | m_grid1Ctrl |
wxStaticText * | m_grid1HotKey |
wxStaticText * | m_staticTextGrid2 |
wxChoice * | m_grid2Ctrl |
wxStaticText * | m_grid2HotKey |
wxStaticText * | m_overridesLabel |
wxStaticLine * | m_staticline3 |
wxCheckBox * | m_checkGridOverrideConnected |
wxChoice * | m_gridOverrideConnectedChoice |
wxCheckBox * | m_checkGridOverrideWires |
wxChoice * | m_gridOverrideWiresChoice |
wxCheckBox * | m_checkGridOverrideVias |
wxChoice * | m_gridOverrideViasChoice |
wxCheckBox * | m_checkGridOverrideText |
wxChoice * | m_gridOverrideTextChoice |
wxCheckBox * | m_checkGridOverrideGraphics |
wxChoice * | m_gridOverrideGraphicsChoice |
Class PANEL_GRID_SETTINGS_BASE.
Definition at line 40 of file panel_grid_settings_base.h.
PANEL_GRID_SETTINGS_BASE::PANEL_GRID_SETTINGS_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 14 of file panel_grid_settings_base.cpp.
References _, m_addGridButton, m_checkGridOverrideConnected, m_checkGridOverrideGraphics, m_checkGridOverrideText, m_checkGridOverrideVias, m_checkGridOverrideWires, m_currentGridCtrl, m_editGridButton, m_grid1Ctrl, m_grid1HotKey, m_grid2Ctrl, m_grid2HotKey, m_gridOverrideConnectedChoice, m_gridOverrideGraphicsChoice, m_gridOverrideTextChoice, m_gridOverrideViasChoice, m_gridOverrideWiresChoice, m_gridsLabel, m_moveDownButton, m_moveUpButton, m_overridesLabel, m_removeGridButton, m_staticline2, m_staticline3, m_staticText21, m_staticTextGrid1, m_staticTextGrid2, OnAddGrid(), OnEditGrid(), OnMoveGridDown(), OnMoveGridUp(), OnRemoveGrid(), OnUpdateEditGrid(), OnUpdateMoveDown(), OnUpdateMoveUp(), and OnUpdateRemove().
PANEL_GRID_SETTINGS_BASE::~PANEL_GRID_SETTINGS_BASE | ( | ) |
Definition at line 189 of file panel_grid_settings_base.cpp.
References m_addGridButton, m_currentGridCtrl, m_editGridButton, m_moveDownButton, m_moveUpButton, m_removeGridButton, OnAddGrid(), OnEditGrid(), OnMoveGridDown(), OnMoveGridUp(), OnRemoveGrid(), OnUpdateEditGrid(), OnUpdateMoveDown(), OnUpdateMoveUp(), and OnUpdateRemove().
|
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_GRID_SETTINGS.
Definition at line 75 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_GRID_SETTINGS.
Definition at line 74 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_GRID_SETTINGS.
Definition at line 79 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_GRID_SETTINGS.
Definition at line 77 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_GRID_SETTINGS.
Definition at line 81 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_GRID_SETTINGS.
Definition at line 76 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_GRID_SETTINGS.
Definition at line 80 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_GRID_SETTINGS.
Definition at line 78 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
inlineprotectedvirtual |
Reimplemented in PANEL_GRID_SETTINGS.
Definition at line 82 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_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 47 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 62 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), and PANEL_GRID_SETTINGS::TransferDataToWindow().
|
protected |
Definition at line 70 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), and PANEL_GRID_SETTINGS::TransferDataToWindow().
|
protected |
Definition at line 68 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), and PANEL_GRID_SETTINGS::TransferDataToWindow().
|
protected |
Definition at line 66 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), and PANEL_GRID_SETTINGS::TransferDataToWindow().
|
protected |
Definition at line 64 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), and PANEL_GRID_SETTINGS::TransferDataToWindow().
|
protected |
Definition at line 46 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::OnAddGrid(), PANEL_GRID_SETTINGS::onEditGrid(), PANEL_GRID_SETTINGS::OnMoveGridDown(), PANEL_GRID_SETTINGS::OnMoveGridUp(), PANEL_GRID_SETTINGS::OnRemoveGrid(), PANEL_GRID_SETTINGS::OnUpdateEditGrid(), PANEL_GRID_SETTINGS::OnUpdateMoveDown(), PANEL_GRID_SETTINGS::OnUpdateMoveUp(), PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::RebuildGridSizes(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), PANEL_GRID_SETTINGS::TransferDataToWindow(), and ~PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 48 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 55 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::RebuildGridSizes(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), and PANEL_GRID_SETTINGS::TransferDataToWindow().
|
protected |
Definition at line 56 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), and PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 58 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::RebuildGridSizes(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), and PANEL_GRID_SETTINGS::TransferDataToWindow().
|
protected |
Definition at line 59 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), and PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 63 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::RebuildGridSizes(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), and PANEL_GRID_SETTINGS::TransferDataToWindow().
|
protected |
Definition at line 71 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::RebuildGridSizes(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), and PANEL_GRID_SETTINGS::TransferDataToWindow().
|
protected |
Definition at line 69 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::RebuildGridSizes(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), and PANEL_GRID_SETTINGS::TransferDataToWindow().
|
protected |
Definition at line 67 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::RebuildGridSizes(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), and PANEL_GRID_SETTINGS::TransferDataToWindow().
|
protected |
Definition at line 65 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), PANEL_GRID_SETTINGS::RebuildGridSizes(), PANEL_GRID_SETTINGS::TransferDataFromWindow(), and PANEL_GRID_SETTINGS::TransferDataToWindow().
|
protected |
Definition at line 45 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 50 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 49 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 60 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), and PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 51 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), PANEL_GRID_SETTINGS_BASE(), and ~PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 53 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 61 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS(), and PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 52 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 54 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE().
|
protected |
Definition at line 57 of file panel_grid_settings_base.h.
Referenced by PANEL_GRID_SETTINGS_BASE().