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

Class PANEL_GRID_SETTINGS_BASE. More...

#include <panel_grid_settings_base.h>

Inheritance diagram for PANEL_GRID_SETTINGS_BASE:
RESETTABLE_PANEL PANEL_GRID_SETTINGS

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 OnAddGrid (wxCommandEvent &event)
 
virtual void OnMoveGridUp (wxCommandEvent &event)
 
virtual void OnMoveGridDown (wxCommandEvent &event)
 
virtual void OnRemoveGrid (wxCommandEvent &event)
 

Protected Attributes

wxStaticText * m_gridsLabel
 
wxListBox * m_currentGridCtrl
 
STD_BITMAP_BUTTONm_addGridButton
 
STD_BITMAP_BUTTONm_moveUpButton
 
STD_BITMAP_BUTTONm_moveDownButton
 
STD_BITMAP_BUTTONm_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
 

Detailed Description

Class PANEL_GRID_SETTINGS_BASE.

Definition at line 40 of file panel_grid_settings_base.h.

Constructor & Destructor Documentation

◆ PANEL_GRID_SETTINGS_BASE()

◆ ~PANEL_GRID_SETTINGS_BASE()

PANEL_GRID_SETTINGS_BASE::~PANEL_GRID_SETTINGS_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().

◆ OnAddGrid()

virtual void PANEL_GRID_SETTINGS_BASE::OnAddGrid ( wxCommandEvent &  event)
inlineprotectedvirtual

Reimplemented in PANEL_GRID_SETTINGS.

Definition at line 73 of file panel_grid_settings_base.h.

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

◆ OnMoveGridDown()

virtual void PANEL_GRID_SETTINGS_BASE::OnMoveGridDown ( wxCommandEvent &  event)
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().

◆ OnMoveGridUp()

virtual void PANEL_GRID_SETTINGS_BASE::OnMoveGridUp ( wxCommandEvent &  event)
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().

◆ OnRemoveGrid()

virtual void PANEL_GRID_SETTINGS_BASE::OnRemoveGrid ( wxCommandEvent &  event)
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().

◆ ResetPanel()

Member Data Documentation

◆ m_addGridButton

STD_BITMAP_BUTTON* PANEL_GRID_SETTINGS_BASE::m_addGridButton
protected

◆ m_checkGridOverrideConnected

wxCheckBox* PANEL_GRID_SETTINGS_BASE::m_checkGridOverrideConnected
protected

◆ m_checkGridOverrideGraphics

wxCheckBox* PANEL_GRID_SETTINGS_BASE::m_checkGridOverrideGraphics
protected

◆ m_checkGridOverrideText

wxCheckBox* PANEL_GRID_SETTINGS_BASE::m_checkGridOverrideText
protected

◆ m_checkGridOverrideVias

wxCheckBox* PANEL_GRID_SETTINGS_BASE::m_checkGridOverrideVias
protected

◆ m_checkGridOverrideWires

wxCheckBox* PANEL_GRID_SETTINGS_BASE::m_checkGridOverrideWires
protected

◆ m_currentGridCtrl

◆ m_grid1Ctrl

◆ m_grid1HotKey

wxStaticText* PANEL_GRID_SETTINGS_BASE::m_grid1HotKey
protected

◆ m_grid2Ctrl

◆ m_grid2HotKey

wxStaticText* PANEL_GRID_SETTINGS_BASE::m_grid2HotKey
protected

◆ m_gridOverrideConnectedChoice

◆ m_gridOverrideGraphicsChoice

◆ m_gridOverrideTextChoice

◆ m_gridOverrideViasChoice

◆ m_gridOverrideWiresChoice

◆ m_gridsLabel

wxStaticText* PANEL_GRID_SETTINGS_BASE::m_gridsLabel
protected

Definition at line 45 of file panel_grid_settings_base.h.

Referenced by PANEL_GRID_SETTINGS_BASE().

◆ m_moveDownButton

STD_BITMAP_BUTTON* PANEL_GRID_SETTINGS_BASE::m_moveDownButton
protected

◆ m_moveUpButton

STD_BITMAP_BUTTON* PANEL_GRID_SETTINGS_BASE::m_moveUpButton
protected

◆ m_overridesLabel

wxStaticText* PANEL_GRID_SETTINGS_BASE::m_overridesLabel
protected

◆ m_removeGridButton

STD_BITMAP_BUTTON* PANEL_GRID_SETTINGS_BASE::m_removeGridButton
protected

◆ m_staticline2

wxStaticLine* PANEL_GRID_SETTINGS_BASE::m_staticline2
protected

Definition at line 52 of file panel_grid_settings_base.h.

Referenced by PANEL_GRID_SETTINGS_BASE().

◆ m_staticline3

wxStaticLine* PANEL_GRID_SETTINGS_BASE::m_staticline3
protected

◆ m_staticText21

wxStaticText* PANEL_GRID_SETTINGS_BASE::m_staticText21
protected

Definition at line 51 of file panel_grid_settings_base.h.

Referenced by PANEL_GRID_SETTINGS_BASE().

◆ m_staticTextGrid1

wxStaticText* PANEL_GRID_SETTINGS_BASE::m_staticTextGrid1
protected

Definition at line 53 of file panel_grid_settings_base.h.

Referenced by PANEL_GRID_SETTINGS_BASE().

◆ m_staticTextGrid2

wxStaticText* PANEL_GRID_SETTINGS_BASE::m_staticTextGrid2
protected

Definition at line 56 of file panel_grid_settings_base.h.

Referenced by PANEL_GRID_SETTINGS_BASE().


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