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

Class PANEL_PCBNEW_DISPLAY_ORIGIN_BASE. More...

#include <panel_pcbnew_display_origin_base.h>

Inheritance diagram for PANEL_PCBNEW_DISPLAY_ORIGIN_BASE:
RESETTABLE_PANEL PANEL_PCBNEW_DISPLAY_ORIGIN

Public Member Functions

 PANEL_PCBNEW_DISPLAY_ORIGIN_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_PCBNEW_DISPLAY_ORIGIN_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

wxBoxSizer * m_displayOrigin
 
wxStaticText * displayOriginLabel
 
wxStaticLine * m_staticline1
 
wxRadioButton * m_pageOrigin
 
wxRadioButton * m_drillPlaceOrigin
 
wxRadioButton * m_gridOrigin
 
wxStaticText * xAxisLabel
 
wxStaticLine * m_staticline2
 
wxRadioButton * m_xIncreasesRight
 
wxRadioButton * m_xIncreasesLeft
 
wxStaticText * yAxisLabel
 
wxStaticLine * m_staticline3
 
wxRadioButton * m_yIncreasesUp
 
wxRadioButton * m_yIncreasesDown
 

Detailed Description

Constructor & Destructor Documentation

◆ PANEL_PCBNEW_DISPLAY_ORIGIN_BASE()

PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::PANEL_PCBNEW_DISPLAY_ORIGIN_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_PCBNEW_DISPLAY_ORIGIN_BASE()

PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::~PANEL_PCBNEW_DISPLAY_ORIGIN_BASE ( )

Definition at line 109 of file panel_pcbnew_display_origin_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 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().

◆ ResetPanel()

Member Data Documentation

◆ displayOriginLabel

wxStaticText* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::displayOriginLabel
protected

Definition at line 36 of file panel_pcbnew_display_origin_base.h.

Referenced by PANEL_PCBNEW_DISPLAY_ORIGIN_BASE().

◆ m_displayOrigin

wxBoxSizer* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_displayOrigin
protected

◆ m_drillPlaceOrigin

wxRadioButton* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_drillPlaceOrigin
protected

◆ m_gridOrigin

wxRadioButton* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_gridOrigin
protected

◆ m_pageOrigin

wxRadioButton* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_pageOrigin
protected

◆ m_staticline1

wxStaticLine* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_staticline1
protected

Definition at line 37 of file panel_pcbnew_display_origin_base.h.

Referenced by PANEL_PCBNEW_DISPLAY_ORIGIN_BASE().

◆ m_staticline2

wxStaticLine* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_staticline2
protected

Definition at line 42 of file panel_pcbnew_display_origin_base.h.

Referenced by PANEL_PCBNEW_DISPLAY_ORIGIN_BASE().

◆ m_staticline3

wxStaticLine* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_staticline3
protected

Definition at line 46 of file panel_pcbnew_display_origin_base.h.

Referenced by PANEL_PCBNEW_DISPLAY_ORIGIN_BASE().

◆ m_xIncreasesLeft

wxRadioButton* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_xIncreasesLeft
protected

◆ m_xIncreasesRight

wxRadioButton* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_xIncreasesRight
protected

◆ m_yIncreasesDown

wxRadioButton* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_yIncreasesDown
protected

◆ m_yIncreasesUp

wxRadioButton* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_yIncreasesUp
protected

◆ xAxisLabel

wxStaticText* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::xAxisLabel
protected

Definition at line 41 of file panel_pcbnew_display_origin_base.h.

Referenced by PANEL_PCBNEW_DISPLAY_ORIGIN_BASE().

◆ yAxisLabel

wxStaticText* PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::yAxisLabel
protected

Definition at line 45 of file panel_pcbnew_display_origin_base.h.

Referenced by PANEL_PCBNEW_DISPLAY_ORIGIN_BASE().


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