KiCad PCB EDA Suite
|
#include <panel_eeschema_display_options.h>
Public Member Functions | |
PANEL_EESCHEMA_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 }. | |
Private Member Functions | |
void | loadEEschemaSettings (EESCHEMA_SETTINGS *aCfg) |
Private Attributes | |
GAL_OPTIONS_PANEL * | m_galOptsPanel |
Definition at line 30 of file panel_eeschema_display_options.h.
PANEL_EESCHEMA_DISPLAY_OPTIONS::PANEL_EESCHEMA_DISPLAY_OPTIONS | ( | wxWindow * | aParent, |
APP_SETTINGS_BASE * | aAppSettings | ||
) |
Definition at line 37 of file panel_eeschema_display_options.cpp.
References KIUI::GetInfoFont(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_galOptionsSizer, m_galOptsPanel, and PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_highlightColorNote.
|
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 49 of file panel_eeschema_display_options.cpp.
References CROSS_PROBING_SETTINGS::auto_highlight, CROSS_PROBING_SETTINGS::center_on_items, EESCHEMA_SETTINGS::APPEARANCE::default_font, EESCHEMA_SETTINGS::SELECTION::draw_selected_children, EESCHEMA_SETTINGS::SELECTION::fill_shapes, EESCHEMA_SETTINGS::SELECTION::highlight_netclass_colors, EESCHEMA_SETTINGS::SELECTION::highlight_netclass_colors_alpha, EESCHEMA_SETTINGS::SELECTION::highlight_netclass_colors_thickness, EESCHEMA_SETTINGS::SELECTION::highlight_thickness, EESCHEMA_SETTINGS::m_Appearance, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_cbMarkSimExclusions, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkCrossProbeAutoHighlight, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkCrossProbeCenter, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkCrossProbeOnSelection, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkCrossProbeZoom, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkPageLimits, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkSelDrawChildItems, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkSelFillShapes, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowERCErrors, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowERCExclusions, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowERCWarnings, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowHiddenFields, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowHiddenPins, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowOPVoltages, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowPinAltModeIcons, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_colHighlightThickness, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_colHighlightTransparency, APP_SETTINGS_BASE::m_CrossProbing, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_defaultFontCtrl, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_highlightNetclassColors, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_highlightWidthCtrl, EESCHEMA_SETTINGS::m_Selection, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_selWidthCtrl, EESCHEMA_SETTINGS::APPEARANCE::mark_sim_exclusions, CROSS_PROBING_SETTINGS::on_selection, EESCHEMA_SETTINGS::SELECTION::selection_thickness, EESCHEMA_SETTINGS::APPEARANCE::show_erc_errors, EESCHEMA_SETTINGS::APPEARANCE::show_erc_exclusions, EESCHEMA_SETTINGS::APPEARANCE::show_erc_warnings, EESCHEMA_SETTINGS::APPEARANCE::show_hidden_fields, EESCHEMA_SETTINGS::APPEARANCE::show_hidden_pins, EESCHEMA_SETTINGS::APPEARANCE::show_op_currents, EESCHEMA_SETTINGS::APPEARANCE::show_op_voltages, EESCHEMA_SETTINGS::APPEARANCE::show_page_limits, 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 133 of file panel_eeschema_display_options.cpp.
References JSON_SETTINGS::Load(), loadEEschemaSettings(), m_galOptsPanel, and GAL_OPTIONS_PANEL::ResetPanel().
|
override |
Definition at line 94 of file panel_eeschema_display_options.cpp.
References CROSS_PROBING_SETTINGS::auto_highlight, CROSS_PROBING_SETTINGS::center_on_items, EESCHEMA_SETTINGS::APPEARANCE::default_font, EESCHEMA_SETTINGS::SELECTION::draw_selected_children, EESCHEMA_SETTINGS::SELECTION::fill_shapes, SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), EESCHEMA_SETTINGS::SELECTION::highlight_netclass_colors, EESCHEMA_SETTINGS::SELECTION::highlight_netclass_colors_alpha, EESCHEMA_SETTINGS::SELECTION::highlight_netclass_colors_thickness, EESCHEMA_SETTINGS::SELECTION::highlight_thickness, KICAD_FONT_NAME, KiROUND(), EESCHEMA_SETTINGS::m_Appearance, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_cbMarkSimExclusions, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkCrossProbeAutoHighlight, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkCrossProbeCenter, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkCrossProbeOnSelection, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkCrossProbeZoom, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkPageLimits, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkSelDrawChildItems, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkSelFillShapes, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowERCErrors, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowERCExclusions, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowERCWarnings, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowHiddenFields, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowHiddenPins, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowOPCurrents, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowOPVoltages, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_checkShowPinAltModeIcons, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_colHighlightThickness, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_colHighlightTransparency, APP_SETTINGS_BASE::m_CrossProbing, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_defaultFontCtrl, m_galOptsPanel, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_highlightNetclassColors, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_highlightWidthCtrl, EESCHEMA_SETTINGS::m_Selection, PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::m_selWidthCtrl, EESCHEMA_SETTINGS::APPEARANCE::mark_sim_exclusions, CROSS_PROBING_SETTINGS::on_selection, Pgm(), EESCHEMA_SETTINGS::SELECTION::selection_thickness, EESCHEMA_SETTINGS::APPEARANCE::show_erc_errors, EESCHEMA_SETTINGS::APPEARANCE::show_erc_exclusions, EESCHEMA_SETTINGS::APPEARANCE::show_erc_warnings, EESCHEMA_SETTINGS::APPEARANCE::show_hidden_fields, EESCHEMA_SETTINGS::APPEARANCE::show_hidden_pins, EESCHEMA_SETTINGS::APPEARANCE::show_op_currents, EESCHEMA_SETTINGS::APPEARANCE::show_op_voltages, EESCHEMA_SETTINGS::APPEARANCE::show_page_limits, EESCHEMA_SETTINGS::APPEARANCE::show_pin_alt_icons, GAL_OPTIONS_PANEL::TransferDataFromWindow(), and CROSS_PROBING_SETTINGS::zoom_to_fit.
|
override |
Definition at line 81 of file panel_eeschema_display_options.cpp.
References SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), loadEEschemaSettings(), m_galOptsPanel, Pgm(), and GAL_OPTIONS_PANEL::TransferDataToWindow().
|
protectedinherited |
Definition at line 41 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 50 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 74 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 72 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 71 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 73 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 54 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 57 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 58 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 47 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 49 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 48 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 46 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 45 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 52 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 51 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 53 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 67 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 66 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 68 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 65 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 69 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 44 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 43 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 40 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS(), and PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().
|
private |
Definition at line 44 of file panel_eeschema_display_options.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 61 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS(), and PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 64 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 63 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 62 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 55 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 60 of file panel_eeschema_display_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 59 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 42 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 56 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().
|
protectedinherited |
Definition at line 70 of file panel_eeschema_display_options_base.h.
Referenced by PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE::PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE().