KiCad PCB EDA Suite
|
#include <panel_sym_display_options.h>
Public Member Functions | |
PANEL_SYM_DISPLAY_OPTIONS (wxWindow *aParent, APP_SETTINGS_BASE *aAppSettings) | |
bool | TransferDataToWindow () override |
bool | TransferDataFromWindow () override |
void | ResetPanel () override |
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_galOptionsSizer |
wxStaticText * | m_appearanceLabel |
wxStaticLine * | m_staticline1 |
wxCheckBox * | m_checkShowHiddenPins |
wxCheckBox * | m_checkShowHiddenFields |
wxCheckBox * | m_showPinElectricalTypes |
wxCheckBox * | m_checkShowPinAltModeIcons |
Private Member Functions | |
void | loadSymEditorSettings (SYMBOL_EDITOR_SETTINGS *aCfg) |
Private Attributes | |
GAL_OPTIONS_PANEL * | m_galOptsPanel |
Definition at line 29 of file panel_sym_display_options.h.
PANEL_SYM_DISPLAY_OPTIONS::PANEL_SYM_DISPLAY_OPTIONS | ( | wxWindow * | aParent, |
APP_SETTINGS_BASE * | aAppSettings | ||
) |
Definition at line 32 of file panel_sym_display_options.cpp.
References PANEL_SYM_DISPLAY_OPTIONS_BASE::m_galOptionsSizer, and m_galOptsPanel.
|
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 42 of file panel_sym_display_options.cpp.
References PANEL_SYM_DISPLAY_OPTIONS_BASE::m_checkShowHiddenFields, PANEL_SYM_DISPLAY_OPTIONS_BASE::m_checkShowHiddenPins, PANEL_SYM_DISPLAY_OPTIONS_BASE::m_checkShowPinAltModeIcons, SYMBOL_EDITOR_SETTINGS::m_ShowHiddenFields, SYMBOL_EDITOR_SETTINGS::m_ShowHiddenPins, SYMBOL_EDITOR_SETTINGS::m_ShowPinAltIcons, SYMBOL_EDITOR_SETTINGS::m_ShowPinElectricalType, and PANEL_SYM_DISPLAY_OPTIONS_BASE::m_showPinElectricalTypes.
Referenced by ResetPanel(), and TransferDataToWindow().
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 79 of file panel_sym_display_options.cpp.
References JSON_SETTINGS::Load(), loadSymEditorSettings(), m_galOptsPanel, and GAL_OPTIONS_PANEL::ResetPanel().
|
override |
Definition at line 64 of file panel_sym_display_options.cpp.
References SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), PANEL_SYM_DISPLAY_OPTIONS_BASE::m_checkShowHiddenFields, PANEL_SYM_DISPLAY_OPTIONS_BASE::m_checkShowHiddenPins, PANEL_SYM_DISPLAY_OPTIONS_BASE::m_checkShowPinAltModeIcons, m_galOptsPanel, SYMBOL_EDITOR_SETTINGS::m_ShowHiddenFields, SYMBOL_EDITOR_SETTINGS::m_ShowHiddenPins, SYMBOL_EDITOR_SETTINGS::m_ShowPinAltIcons, SYMBOL_EDITOR_SETTINGS::m_ShowPinElectricalType, PANEL_SYM_DISPLAY_OPTIONS_BASE::m_showPinElectricalTypes, Pgm(), and GAL_OPTIONS_PANEL::TransferDataFromWindow().
|
override |
Definition at line 51 of file panel_sym_display_options.cpp.
References SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), loadSymEditorSettings(), m_galOptsPanel, Pgm(), and GAL_OPTIONS_PANEL::TransferDataToWindow().
|
protectedinherited |
Definition at line 36 of file panel_sym_display_options_base.h.
Referenced by PANEL_SYM_DISPLAY_OPTIONS_BASE::PANEL_SYM_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 39 of file panel_sym_display_options_base.h.
Referenced by loadSymEditorSettings(), PANEL_SYM_DISPLAY_OPTIONS_BASE::PANEL_SYM_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 38 of file panel_sym_display_options_base.h.
Referenced by loadSymEditorSettings(), PANEL_SYM_DISPLAY_OPTIONS_BASE::PANEL_SYM_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 41 of file panel_sym_display_options_base.h.
Referenced by loadSymEditorSettings(), PANEL_SYM_DISPLAY_OPTIONS_BASE::PANEL_SYM_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 35 of file panel_sym_display_options_base.h.
Referenced by PANEL_SYM_DISPLAY_OPTIONS(), and PANEL_SYM_DISPLAY_OPTIONS_BASE::PANEL_SYM_DISPLAY_OPTIONS_BASE().
|
private |
Definition at line 43 of file panel_sym_display_options.h.
Referenced by PANEL_SYM_DISPLAY_OPTIONS(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 40 of file panel_sym_display_options_base.h.
Referenced by loadSymEditorSettings(), PANEL_SYM_DISPLAY_OPTIONS_BASE::PANEL_SYM_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 37 of file panel_sym_display_options_base.h.
Referenced by PANEL_SYM_DISPLAY_OPTIONS_BASE::PANEL_SYM_DISPLAY_OPTIONS_BASE().