KiCad PCB EDA Suite
|
#include <panel_gerbview_excellon_settings.h>
Public Member Functions | |
PANEL_GERBVIEW_EXCELLON_SETTINGS (wxWindow *aParent) | |
~PANEL_GERBVIEW_EXCELLON_SETTINGS () | |
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 | onUnitsChange (wxCommandEvent &event) |
Protected Attributes | |
wxStaticText * | m_fileFormatLabel |
wxStaticLine * | m_staticline1 |
wxStaticText * | m_fileFormatHelp |
wxRadioBox * | m_rbUnits |
wxRadioBox * | m_rbZeroFormat |
wxStaticText * | m_coordinatesLabel |
wxStaticLine * | m_staticline2 |
wxStaticText * | m_coordsFormatHelp |
wxStaticText * | m_hint1 |
wxStaticText * | m_staticTextUnitsmm |
wxChoice * | m_choiceIntegerMM |
wxStaticText * | m_staticText8 |
wxChoice * | m_choiceMantissaMM |
wxStaticText * | m_staticTextUnitsInch |
wxChoice * | m_choiceIntegerInch |
wxStaticText * | m_staticText9 |
wxChoice * | m_choiceMantissaInch |
wxStaticText * | m_hint2 |
Private Member Functions | |
bool | TransferDataToWindow () override |
bool | TransferDataFromWindow () override |
void | ResetPanel () override |
Reset the contents of this panel. | |
void | applySettingsToPanel (const EXCELLON_DEFAULTS &aSettings) |
Definition at line 32 of file panel_gerbview_excellon_settings.h.
PANEL_GERBVIEW_EXCELLON_SETTINGS::PANEL_GERBVIEW_EXCELLON_SETTINGS | ( | wxWindow * | aParent | ) |
Definition at line 29 of file panel_gerbview_excellon_settings.cpp.
References KIUI::GetInfoFont(), PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_coordsFormatHelp, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_fileFormatHelp, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_hint1, and PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_hint2.
|
inline |
Definition at line 36 of file panel_gerbview_excellon_settings.h.
|
private |
Definition at line 79 of file panel_gerbview_excellon_settings.cpp.
References FIRST_VALUE, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_choiceIntegerInch, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_choiceIntegerMM, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_choiceMantissaInch, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_choiceMantissaMM, EXCELLON_DEFAULTS::m_InchIntegerLen, EXCELLON_DEFAULTS::m_InchMantissaLen, EXCELLON_DEFAULTS::m_LeadingZero, EXCELLON_DEFAULTS::m_MmIntegerLen, EXCELLON_DEFAULTS::m_MmMantissaLen, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_rbUnits, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_rbZeroFormat, and EXCELLON_DEFAULTS::m_UnitsMM.
Referenced by ResetPanel(), and TransferDataToWindow().
|
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().
|
inlineprotectedvirtualinherited |
Definition at line 57 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE(), and PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::~PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().
|
overrideprivatevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 72 of file panel_gerbview_excellon_settings.cpp.
References applySettingsToPanel().
|
overrideprivate |
Definition at line 54 of file panel_gerbview_excellon_settings.cpp.
References FIRST_VALUE, SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_choiceIntegerInch, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_choiceIntegerMM, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_choiceMantissaInch, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_choiceMantissaMM, GERBVIEW_SETTINGS::m_ExcellonDefaults, EXCELLON_DEFAULTS::m_InchIntegerLen, EXCELLON_DEFAULTS::m_InchMantissaLen, EXCELLON_DEFAULTS::m_LeadingZero, EXCELLON_DEFAULTS::m_MmIntegerLen, EXCELLON_DEFAULTS::m_MmMantissaLen, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_rbUnits, PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::m_rbZeroFormat, EXCELLON_DEFAULTS::m_UnitsMM, and Pgm().
|
overrideprivate |
Definition at line 40 of file panel_gerbview_excellon_settings.cpp.
References applySettingsToPanel(), SETTINGS_MANAGER::GetAppSettings(), GERBVIEW_SETTINGS::GetExcellonDefaults(), PGM_BASE::GetSettingsManager(), and Pgm().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Definition at line 53 of file panel_gerbview_excellon_settings_base.h.
Referenced by applySettingsToPanel(), PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 49 of file panel_gerbview_excellon_settings_base.h.
Referenced by applySettingsToPanel(), PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 42 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().
|
protectedinherited |
Definition at line 44 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS(), and PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().
|
protectedinherited |
Definition at line 39 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS(), and PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().
|
protectedinherited |
Definition at line 37 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().
|
protectedinherited |
Definition at line 45 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS(), and PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().
|
protectedinherited |
Definition at line 54 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS(), and PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().
|
protectedinherited |
Definition at line 40 of file panel_gerbview_excellon_settings_base.h.
Referenced by applySettingsToPanel(), PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 41 of file panel_gerbview_excellon_settings_base.h.
Referenced by applySettingsToPanel(), PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 38 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().
|
protectedinherited |
Definition at line 43 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().
|
protectedinherited |
Definition at line 48 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().
|
protectedinherited |
Definition at line 52 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().
|
protectedinherited |
Definition at line 50 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().
|
protectedinherited |
Definition at line 46 of file panel_gerbview_excellon_settings_base.h.
Referenced by PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE::PANEL_GERBVIEW_EXCELLON_SETTINGS_BASE().