KiCad PCB EDA Suite
|
#include <panel_pcb_display_options.h>
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_PANEL * | m_galOptsPanel |
Definition at line 28 of file panel_pcb_display_options.h.
PANEL_PCB_DISPLAY_OPTIONS::PANEL_PCB_DISPLAY_OPTIONS | ( | wxWindow * | aParent, |
APP_SETTINGS_BASE * | aAppSettings | ||
) |
Definition at line 39 of file panel_pcb_display_options.cpp.
References PANEL_PCB_DISPLAY_OPTIONS_BASE::m_galOptionsSizer, m_galOptsPanel, m_isPCBEdit, and PANEL_PCB_DISPLAY_OPTIONS_BASE::m_optionsBook.
|
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 50 of file panel_pcb_display_options.cpp.
References CROSS_PROBING_SETTINGS::auto_highlight, CROSS_PROBING_SETTINGS::center_on_items, clearanceModeMap, UTIL::GetConfigForVal(), PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkCrossProbeAutoHighlight, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkCrossProbeCenter, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkCrossProbeOnSelection, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkCrossProbeZoom, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkForceShowFieldsWhenFPSelected, APP_SETTINGS_BASE::m_CrossProbing, PCBNEW_SETTINGS::m_Display, PCB_VIEWERS_SETTINGS_BASE::VIEWERS_DISPLAY_OPTIONS::m_DisplayPadNumbers, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_ForceShowFieldsWhenFPSelected, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_live3Drefresh, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_Live3DRefresh, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_NetNames, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_OptDisplayPadClearence, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_OptDisplayPadNumber, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_OptDisplayTracksClearance, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_PadClearance, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_ShowNetNamesOption, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_TrackClearance, PCB_VIEWERS_SETTINGS_BASE::m_ViewersDisplay, CROSS_PROBING_SETTINGS::on_selection, and CROSS_PROBING_SETTINGS::zoom_to_fit.
Referenced by ResetPanel(), and TransferDataToWindow().
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 112 of file panel_pcb_display_options.cpp.
References JSON_SETTINGS::Load(), loadPCBSettings(), m_galOptsPanel, m_isPCBEdit, and GAL_OPTIONS_PANEL::ResetPanel().
|
override |
Definition at line 86 of file panel_pcb_display_options.cpp.
References CROSS_PROBING_SETTINGS::auto_highlight, CROSS_PROBING_SETTINGS::center_on_items, clearanceModeMap, SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), UTIL::GetValFromConfig(), PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkCrossProbeAutoHighlight, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkCrossProbeCenter, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkCrossProbeOnSelection, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkCrossProbeZoom, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_checkForceShowFieldsWhenFPSelected, APP_SETTINGS_BASE::m_CrossProbing, PCBNEW_SETTINGS::m_Display, PCB_VIEWERS_SETTINGS_BASE::VIEWERS_DISPLAY_OPTIONS::m_DisplayPadNumbers, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_ForceShowFieldsWhenFPSelected, m_galOptsPanel, m_isPCBEdit, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_live3Drefresh, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_Live3DRefresh, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_NetNames, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_OptDisplayPadClearence, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_OptDisplayPadNumber, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_OptDisplayTracksClearance, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_PadClearance, PANEL_PCB_DISPLAY_OPTIONS_BASE::m_ShowNetNamesOption, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_TrackClearance, PCB_VIEWERS_SETTINGS_BASE::m_ViewersDisplay, CROSS_PROBING_SETTINGS::on_selection, Pgm(), GAL_OPTIONS_PANEL::TransferDataFromWindow(), and CROSS_PROBING_SETTINGS::zoom_to_fit.
|
override |
Definition at line 67 of file panel_pcb_display_options.cpp.
References SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), loadPCBSettings(), m_galOptsPanel, m_isPCBEdit, Pgm(), and GAL_OPTIONS_PANEL::TransferDataToWindow().
|
protectedinherited |
Definition at line 40 of file panel_pcb_display_options_base.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 58 of file panel_pcb_display_options_base.h.
Referenced by loadPCBSettings(), PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 56 of file panel_pcb_display_options_base.h.
Referenced by loadPCBSettings(), PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 55 of file panel_pcb_display_options_base.h.
Referenced by loadPCBSettings(), PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 57 of file panel_pcb_display_options_base.h.
Referenced by loadPCBSettings(), PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 52 of file panel_pcb_display_options_base.h.
Referenced by loadPCBSettings(), PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 45 of file panel_pcb_display_options_base.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 53 of file panel_pcb_display_options_base.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 38 of file panel_pcb_display_options_base.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS(), and PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE().
|
private |
Definition at line 43 of file panel_pcb_display_options.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
private |
Definition at line 42 of file panel_pcb_display_options.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 59 of file panel_pcb_display_options_base.h.
Referenced by loadPCBSettings(), PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 42 of file panel_pcb_display_options_base.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 49 of file panel_pcb_display_options_base.h.
Referenced by loadPCBSettings(), PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 44 of file panel_pcb_display_options_base.h.
Referenced by loadPCBSettings(), PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 48 of file panel_pcb_display_options_base.h.
Referenced by loadPCBSettings(), PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 39 of file panel_pcb_display_options_base.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS(), and PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 43 of file panel_pcb_display_options_base.h.
Referenced by loadPCBSettings(), PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 41 of file panel_pcb_display_options_base.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 46 of file panel_pcb_display_options_base.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 54 of file panel_pcb_display_options_base.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 51 of file panel_pcb_display_options_base.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 50 of file panel_pcb_display_options_base.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 47 of file panel_pcb_display_options_base.h.
Referenced by PANEL_PCB_DISPLAY_OPTIONS_BASE::PANEL_PCB_DISPLAY_OPTIONS_BASE().