KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PANEL_SYM_DISPLAY_OPTIONS Class Reference

#include <panel_sym_display_options.h>

Inheritance diagram for PANEL_SYM_DISPLAY_OPTIONS:
PANEL_SYM_DISPLAY_OPTIONS_BASE RESETTABLE_PANEL

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_PANELm_galOptsPanel
 

Detailed Description

Definition at line 29 of file panel_sym_display_options.h.

Constructor & Destructor Documentation

◆ PANEL_SYM_DISPLAY_OPTIONS()

PANEL_SYM_DISPLAY_OPTIONS::PANEL_SYM_DISPLAY_OPTIONS ( wxWindow *  aParent,
APP_SETTINGS_BASE aAppSettings 
)

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

◆ loadSymEditorSettings()

◆ ResetPanel()

void PANEL_SYM_DISPLAY_OPTIONS::ResetPanel ( )
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().

◆ TransferDataFromWindow()

◆ TransferDataToWindow()

bool PANEL_SYM_DISPLAY_OPTIONS::TransferDataToWindow ( )
override

Member Data Documentation

◆ m_appearanceLabel

wxStaticText* PANEL_SYM_DISPLAY_OPTIONS_BASE::m_appearanceLabel
protectedinherited

◆ m_checkShowHiddenFields

wxCheckBox* PANEL_SYM_DISPLAY_OPTIONS_BASE::m_checkShowHiddenFields
protectedinherited

◆ m_checkShowHiddenPins

wxCheckBox* PANEL_SYM_DISPLAY_OPTIONS_BASE::m_checkShowHiddenPins
protectedinherited

◆ m_checkShowPinAltModeIcons

wxCheckBox* PANEL_SYM_DISPLAY_OPTIONS_BASE::m_checkShowPinAltModeIcons
protectedinherited

◆ m_galOptionsSizer

wxBoxSizer* PANEL_SYM_DISPLAY_OPTIONS_BASE::m_galOptionsSizer
protectedinherited

◆ m_galOptsPanel

GAL_OPTIONS_PANEL* PANEL_SYM_DISPLAY_OPTIONS::m_galOptsPanel
private

◆ m_showPinElectricalTypes

wxCheckBox* PANEL_SYM_DISPLAY_OPTIONS_BASE::m_showPinElectricalTypes
protectedinherited

◆ m_staticline1

wxStaticLine* PANEL_SYM_DISPLAY_OPTIONS_BASE::m_staticline1
protectedinherited

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