KiCad PCB EDA Suite
|
#include <panel_pcbnew_display_origin.h>
Public Member Functions | |
PANEL_PCBNEW_DISPLAY_ORIGIN (wxWindow *aParent) | |
bool | TransferDataToWindow () override |
bool | TransferDataFromWindow () override |
void | ResetPanel () override |
Reset the contents of this panel. More... | |
virtual wxString | GetResetTooltip () const |
Get the tooltip the reset button should display when showing this panel. More... | |
wxString | GetHelpTextAtPoint (const wxPoint &aPt, wxHelpEvent::Origin aOrigin) const override |
Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }. More... | |
Protected Attributes | |
wxRadioBox * | m_DisplayOrigin |
wxRadioBox * | m_XAxisDirection |
wxRadioBox * | m_YAxisDirection |
Private Member Functions | |
void | loadPCBSettings (PCBNEW_SETTINGS *aCfg) |
Definition at line 31 of file panel_pcbnew_display_origin.h.
PANEL_PCBNEW_DISPLAY_ORIGIN::PANEL_PCBNEW_DISPLAY_ORIGIN | ( | wxWindow * | aParent | ) |
Definition at line 31 of file panel_pcbnew_display_origin.cpp.
|
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().
|
private |
Definition at line 37 of file panel_pcbnew_display_origin.cpp.
References PCBNEW_SETTINGS::m_Display, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_DisplayInvertXAxis, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_DisplayInvertYAxis, PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_DisplayOrigin, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_DisplayOrigin, PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_XAxisDirection, and PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_YAxisDirection.
Referenced by ResetPanel(), and TransferDataToWindow().
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 82 of file panel_pcbnew_display_origin.cpp.
References JSON_SETTINGS::Load(), and loadPCBSettings().
|
override |
Definition at line 64 of file panel_pcbnew_display_origin.cpp.
References PCBNEW_SETTINGS::m_Display, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_DisplayInvertXAxis, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_DisplayInvertYAxis, PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_DisplayOrigin, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_DisplayOrigin, PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_XAxisDirection, PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::m_YAxisDirection, and Pgm().
|
override |
Definition at line 54 of file panel_pcbnew_display_origin.cpp.
References loadPCBSettings(), and Pgm().
|
protectedinherited |
Definition at line 33 of file panel_pcbnew_display_origin_base.h.
Referenced by loadPCBSettings(), PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::PANEL_PCBNEW_DISPLAY_ORIGIN_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 34 of file panel_pcbnew_display_origin_base.h.
Referenced by loadPCBSettings(), PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::PANEL_PCBNEW_DISPLAY_ORIGIN_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 35 of file panel_pcbnew_display_origin_base.h.
Referenced by loadPCBSettings(), PANEL_PCBNEW_DISPLAY_ORIGIN_BASE::PANEL_PCBNEW_DISPLAY_ORIGIN_BASE(), and TransferDataFromWindow().