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

Class PANEL_SNAPPING_BASE. More...

#include <panel_snapping_base.h>

Inheritance diagram for PANEL_SNAPPING_BASE:
RESETTABLE_PANEL PANEL_SNAPPING

Public Member Functions

 PANEL_SNAPPING_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_SNAPPING_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 Attributes

wxStaticText * m_gridSnappingLabel
 
wxStaticLine * m_gridSnappingLine
 
wxStaticText * m_gridSnapLabel
 
wxChoice * m_gridSnapChoice
 
wxStaticText * m_objectSnappingLabel
 
wxStaticLine * m_objectSnappingLine
 
wxBoxSizer * m_sizerObjectSnapping
 
wxStaticText * m_padSnapLabel
 
wxChoice * m_padSnapChoice
 
wxStaticText * m_trackSnapLabel
 
wxChoice * m_trackSnapChoice
 
wxStaticText * m_graphicsSnapLabel
 
wxChoice * m_graphicsSnapChoice
 
wxCheckBox * m_snapAllLayers
 
wxStaticText * m_snapInferenceLabel
 
wxStaticLine * m_snapInferenceLine
 
wxBoxSizer * m_sizerSnapInference
 
wxCheckBox * m_snapObjectGeometry
 
wxCheckBox * m_snapConstructionExtensions
 
wxCheckBox * m_snapTangentNormal
 
wxCheckBox * m_snapAlignmentDistribution
 

Detailed Description

Class PANEL_SNAPPING_BASE.

Definition at line 31 of file panel_snapping_base.h.

Constructor & Destructor Documentation

◆ PANEL_SNAPPING_BASE()

PANEL_SNAPPING_BASE::PANEL_SNAPPING_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_SNAPPING_BASE()

PANEL_SNAPPING_BASE::~PANEL_SNAPPING_BASE ( )

Definition at line 140 of file panel_snapping_base.cpp.

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().

◆ ResetPanel()

Member Data Documentation

◆ m_graphicsSnapChoice

wxChoice* PANEL_SNAPPING_BASE::m_graphicsSnapChoice
protected

◆ m_graphicsSnapLabel

wxStaticText* PANEL_SNAPPING_BASE::m_graphicsSnapLabel
protected

Definition at line 47 of file panel_snapping_base.h.

Referenced by PANEL_SNAPPING_BASE().

◆ m_gridSnapChoice

wxChoice* PANEL_SNAPPING_BASE::m_gridSnapChoice
protected

◆ m_gridSnapLabel

wxStaticText* PANEL_SNAPPING_BASE::m_gridSnapLabel
protected

Definition at line 38 of file panel_snapping_base.h.

Referenced by PANEL_SNAPPING_BASE().

◆ m_gridSnappingLabel

wxStaticText* PANEL_SNAPPING_BASE::m_gridSnappingLabel
protected

Definition at line 36 of file panel_snapping_base.h.

Referenced by PANEL_SNAPPING_BASE().

◆ m_gridSnappingLine

wxStaticLine* PANEL_SNAPPING_BASE::m_gridSnappingLine
protected

Definition at line 37 of file panel_snapping_base.h.

Referenced by PANEL_SNAPPING_BASE().

◆ m_objectSnappingLabel

wxStaticText* PANEL_SNAPPING_BASE::m_objectSnappingLabel
protected

Definition at line 40 of file panel_snapping_base.h.

Referenced by PANEL_SNAPPING::PANEL_SNAPPING(), and PANEL_SNAPPING_BASE().

◆ m_objectSnappingLine

wxStaticLine* PANEL_SNAPPING_BASE::m_objectSnappingLine
protected

Definition at line 41 of file panel_snapping_base.h.

Referenced by PANEL_SNAPPING::PANEL_SNAPPING(), and PANEL_SNAPPING_BASE().

◆ m_padSnapChoice

wxChoice* PANEL_SNAPPING_BASE::m_padSnapChoice
protected

◆ m_padSnapLabel

wxStaticText* PANEL_SNAPPING_BASE::m_padSnapLabel
protected

Definition at line 43 of file panel_snapping_base.h.

Referenced by PANEL_SNAPPING_BASE().

◆ m_sizerObjectSnapping

wxBoxSizer* PANEL_SNAPPING_BASE::m_sizerObjectSnapping
protected

Definition at line 42 of file panel_snapping_base.h.

Referenced by PANEL_SNAPPING::PANEL_SNAPPING(), and PANEL_SNAPPING_BASE().

◆ m_sizerSnapInference

wxBoxSizer* PANEL_SNAPPING_BASE::m_sizerSnapInference
protected

Definition at line 52 of file panel_snapping_base.h.

Referenced by PANEL_SNAPPING::PANEL_SNAPPING(), and PANEL_SNAPPING_BASE().

◆ m_snapAlignmentDistribution

wxCheckBox* PANEL_SNAPPING_BASE::m_snapAlignmentDistribution
protected

◆ m_snapAllLayers

wxCheckBox* PANEL_SNAPPING_BASE::m_snapAllLayers
protected

◆ m_snapConstructionExtensions

wxCheckBox* PANEL_SNAPPING_BASE::m_snapConstructionExtensions
protected

◆ m_snapInferenceLabel

wxStaticText* PANEL_SNAPPING_BASE::m_snapInferenceLabel
protected

Definition at line 50 of file panel_snapping_base.h.

Referenced by PANEL_SNAPPING::PANEL_SNAPPING(), and PANEL_SNAPPING_BASE().

◆ m_snapInferenceLine

wxStaticLine* PANEL_SNAPPING_BASE::m_snapInferenceLine
protected

Definition at line 51 of file panel_snapping_base.h.

Referenced by PANEL_SNAPPING::PANEL_SNAPPING(), and PANEL_SNAPPING_BASE().

◆ m_snapObjectGeometry

wxCheckBox* PANEL_SNAPPING_BASE::m_snapObjectGeometry
protected

◆ m_snapTangentNormal

wxCheckBox* PANEL_SNAPPING_BASE::m_snapTangentNormal
protected

◆ m_trackSnapChoice

wxChoice* PANEL_SNAPPING_BASE::m_trackSnapChoice
protected

◆ m_trackSnapLabel

wxStaticText* PANEL_SNAPPING_BASE::m_trackSnapLabel
protected

Definition at line 45 of file panel_snapping_base.h.

Referenced by PANEL_SNAPPING::PANEL_SNAPPING(), and PANEL_SNAPPING_BASE().


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