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

#include <panel_pcb_display_options.h>

Inheritance diagram for PANEL_PCB_DISPLAY_OPTIONS:
PANEL_PCB_DISPLAY_OPTIONS_BASE RESETTABLE_PANEL

Public Member Functions

 PANEL_PCB_DISPLAY_OPTIONS (wxWindow *aParent, APP_SETTINGS_BASE *aAppSettings)
 
bool TransferDataFromWindow () override
 
bool TransferDataToWindow () 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
 
wxSimplebook * m_optionsBook
 
wxStaticText * m_annotationsLabel
 
wxStaticLine * m_staticline1
 
wxStaticText * m_netNamesLabel
 
wxChoice * m_ShowNetNamesOption
 
wxCheckBox * m_OptDisplayPadNumber
 
wxStaticText * m_clearanceLabel
 
wxStaticLine * m_staticline2
 
wxStaticText * m_trackClearancesLabel
 
wxChoice * m_OptDisplayTracksClearance
 
wxCheckBox * m_OptDisplayPadClearence
 
wxStaticText * m_staticText4
 
wxStaticLine * m_staticline4
 
wxCheckBox * m_checkForceShowFieldsWhenFPSelected
 
wxStaticText * m_crossProbingLabel
 
wxStaticLine * m_staticline3
 
wxCheckBox * m_checkCrossProbeOnSelection
 
wxCheckBox * m_checkCrossProbeCenter
 
wxCheckBox * m_checkCrossProbeZoom
 
wxCheckBox * m_checkCrossProbeAutoHighlight
 
wxCheckBox * m_live3Drefresh
 

Private Member Functions

void loadPCBSettings (PCBNEW_SETTINGS *aCfg)
 

Private Attributes

bool m_isPCBEdit
 
GAL_OPTIONS_PANELm_galOptsPanel
 

Detailed Description

Definition at line 28 of file panel_pcb_display_options.h.

Constructor & Destructor Documentation

◆ PANEL_PCB_DISPLAY_OPTIONS()

PANEL_PCB_DISPLAY_OPTIONS::PANEL_PCB_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().

◆ loadPCBSettings()

◆ ResetPanel()

void PANEL_PCB_DISPLAY_OPTIONS::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 113 of file panel_pcb_display_options.cpp.

References JSON_SETTINGS::Load(), loadPCBSettings(), m_galOptsPanel, m_isPCBEdit, and GAL_OPTIONS_PANEL::ResetPanel().

◆ TransferDataFromWindow()

bool PANEL_PCB_DISPLAY_OPTIONS::TransferDataFromWindow ( )
override

◆ TransferDataToWindow()

bool PANEL_PCB_DISPLAY_OPTIONS::TransferDataToWindow ( )
override

Member Data Documentation

◆ m_annotationsLabel

wxStaticText* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_annotationsLabel
protectedinherited

◆ m_checkCrossProbeAutoHighlight

wxCheckBox* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkCrossProbeAutoHighlight
protectedinherited

◆ m_checkCrossProbeCenter

wxCheckBox* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkCrossProbeCenter
protectedinherited

◆ m_checkCrossProbeOnSelection

wxCheckBox* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkCrossProbeOnSelection
protectedinherited

◆ m_checkCrossProbeZoom

wxCheckBox* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkCrossProbeZoom
protectedinherited

◆ m_checkForceShowFieldsWhenFPSelected

wxCheckBox* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkForceShowFieldsWhenFPSelected
protectedinherited

◆ m_clearanceLabel

wxStaticText* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_clearanceLabel
protectedinherited

◆ m_crossProbingLabel

wxStaticText* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_crossProbingLabel
protectedinherited

◆ m_galOptionsSizer

wxBoxSizer* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_galOptionsSizer
protectedinherited

◆ m_galOptsPanel

GAL_OPTIONS_PANEL* PANEL_PCB_DISPLAY_OPTIONS::m_galOptsPanel
private

◆ m_isPCBEdit

bool PANEL_PCB_DISPLAY_OPTIONS::m_isPCBEdit
private

◆ m_live3Drefresh

wxCheckBox* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_live3Drefresh
protectedinherited

◆ m_netNamesLabel

wxStaticText* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_netNamesLabel
protectedinherited

◆ m_OptDisplayPadClearence

wxCheckBox* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_OptDisplayPadClearence
protectedinherited

◆ m_OptDisplayPadNumber

wxCheckBox* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_OptDisplayPadNumber
protectedinherited

◆ m_OptDisplayTracksClearance

wxChoice* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_OptDisplayTracksClearance
protectedinherited

◆ m_optionsBook

wxSimplebook* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_optionsBook
protectedinherited

◆ m_ShowNetNamesOption

wxChoice* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_ShowNetNamesOption
protectedinherited

◆ m_staticline1

wxStaticLine* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_staticline1
protectedinherited

◆ m_staticline2

wxStaticLine* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_staticline2
protectedinherited

◆ m_staticline3

wxStaticLine* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_staticline3
protectedinherited

◆ m_staticline4

wxStaticLine* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_staticline4
protectedinherited

◆ m_staticText4

wxStaticText* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_staticText4
protectedinherited

◆ m_trackClearancesLabel

wxStaticText* PANEL_PCB_DISPLAY_OPTIONS_BASE::m_trackClearancesLabel
protectedinherited

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