KiCad PCB EDA Suite
|
#include <panel_eeschema_editing_options.h>
Public Member Functions | |
PANEL_EESCHEMA_EDITING_OPTIONS (wxWindow *aWindow, UNITS_PROVIDER *aUnitsProvider, wxWindow *aEventSource) | |
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 | |
UNIT_BINDER | m_hPitch |
UNIT_BINDER | m_vPitch |
Definition at line 29 of file panel_eeschema_editing_options.h.
PANEL_EESCHEMA_EDITING_OPTIONS::PANEL_EESCHEMA_EDITING_OPTIONS | ( | wxWindow * | aWindow, |
UNITS_PROVIDER * | aUnitsProvider, | ||
wxWindow * | aEventSource | ||
) |
Definition at line 34 of file panel_eeschema_editing_options.cpp.
References KIUI::GetInfoFont(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_backgroundColorSwatch, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_borderColorSwatch, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_hint1, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_hint2, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_leftClickCmdsBook, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_spinLabelRepeatStep, and COLOR_SWATCH::SetDefaultColor().
|
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 60 of file panel_eeschema_editing_options.cpp.
References EESCHEMA_SETTINGS::AUTOPLACE_FIELDS::align_to_grid, EESCHEMA_SETTINGS::AUTOPLACE_FIELDS::allow_rejustify, EESCHEMA_SETTINGS::DRAWING::auto_start_wires, EESCHEMA_SETTINGS::DRAWING::default_repeat_offset_x, EESCHEMA_SETTINGS::DRAWING::default_repeat_offset_y, EESCHEMA_SETTINGS::DRAWING::default_sheet_background_color, EESCHEMA_SETTINGS::DRAWING::default_sheet_border_color, EESCHEMA_SETTINGS::INPUT::drag_is_move, EESCHEMA_SETTINGS::AUTOPLACE_FIELDS::enable, EESCHEMA_SETTINGS::INPUT::esc_clears_net_highlight, EESCHEMA_SETTINGS::APPEARANCE::footprint_preview, COLOR_SETTINGS::GetColor(), SETTINGS_MANAGER::GetColorSettings(), COLOR_SETTINGS::GetDefaultColor(), PGM_BASE::GetSettingsManager(), LAYER_SCHEMATIC_BACKGROUND, LAYER_SHEET, LAYER_SHEET_BACKGROUND, EESCHEMA_SETTINGS::DRAWING::line_mode, EESCHEMA_SETTINGS::m_Appearance, EESCHEMA_SETTINGS::m_AutoplaceFields, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_backgroundColorSwatch, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_borderColorSwatch, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_cbAutoStartWires, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_checkAutoplaceAlign, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_checkAutoplaceFields, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_checkAutoplaceJustify, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_choiceLineMode, EESCHEMA_SETTINGS::m_Drawing, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_escClearsNetHighlight, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_footprintPreview, m_hPitch, EESCHEMA_SETTINGS::m_Input, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_mouseDragIsDrag, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_neverShowRescue, EESCHEMA_SETTINGS::m_RescueNeverShow, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_spinLabelRepeatStep, m_vPitch, EDA_IU_SCALE::MilsToIU(), Pgm(), EESCHEMA_SETTINGS::DRAWING::repeat_label_increment, schIUScale, COLOR_SWATCH::SetDefaultColor(), COLOR_SWATCH::SetSwatchBackground(), COLOR_SWATCH::SetSwatchColor(), and UNIT_BINDER::SetValue().
Referenced by ResetPanel(), and TransferDataToWindow().
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 133 of file panel_eeschema_editing_options.cpp.
References JSON_SETTINGS::Load(), and loadEEschemaSettings().
|
override |
Definition at line 104 of file panel_eeschema_editing_options.cpp.
References EESCHEMA_SETTINGS::AUTOPLACE_FIELDS::align_to_grid, EESCHEMA_SETTINGS::AUTOPLACE_FIELDS::allow_rejustify, EESCHEMA_SETTINGS::DRAWING::auto_start_wires, EESCHEMA_SETTINGS::DRAWING::default_repeat_offset_x, EESCHEMA_SETTINGS::DRAWING::default_repeat_offset_y, EESCHEMA_SETTINGS::DRAWING::default_sheet_background_color, EESCHEMA_SETTINGS::DRAWING::default_sheet_border_color, EESCHEMA_SETTINGS::INPUT::drag_is_move, EESCHEMA_SETTINGS::AUTOPLACE_FIELDS::enable, EESCHEMA_SETTINGS::INPUT::esc_clears_net_highlight, EESCHEMA_SETTINGS::APPEARANCE::footprint_preview, SETTINGS_MANAGER::GetAppSettings(), UNIT_BINDER::GetIntValue(), PGM_BASE::GetSettingsManager(), COLOR_SWATCH::GetSwatchColor(), EDA_IU_SCALE::IUToMils(), EESCHEMA_SETTINGS::DRAWING::line_mode, EESCHEMA_SETTINGS::m_Appearance, EESCHEMA_SETTINGS::m_AutoplaceFields, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_backgroundColorSwatch, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_borderColorSwatch, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_cbAutoStartWires, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_checkAutoplaceAlign, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_checkAutoplaceFields, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_checkAutoplaceJustify, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_choiceLineMode, EESCHEMA_SETTINGS::m_Drawing, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_escClearsNetHighlight, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_footprintPreview, m_hPitch, EESCHEMA_SETTINGS::m_Input, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_mouseDragIsDrag, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_neverShowRescue, EESCHEMA_SETTINGS::m_RescueNeverShow, PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_spinLabelRepeatStep, m_vPitch, Pgm(), EESCHEMA_SETTINGS::DRAWING::repeat_label_increment, and schIUScale.
|
override |
Definition at line 93 of file panel_eeschema_editing_options.cpp.
References SETTINGS_MANAGER::GetAppSettings(), PGM_BASE::GetSettingsManager(), loadEEschemaSettings(), and Pgm().
|
protectedinherited |
Definition at line 51 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 52 of file panel_eeschema_editing_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_EDITING_OPTIONS(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 49 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 50 of file panel_eeschema_editing_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_EDITING_OPTIONS(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 45 of file panel_eeschema_editing_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 80 of file panel_eeschema_editing_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 78 of file panel_eeschema_editing_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 79 of file panel_eeschema_editing_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 43 of file panel_eeschema_editing_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 40 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 46 of file panel_eeschema_editing_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 93 of file panel_eeschema_editing_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 57 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS(), and PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 67 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS(), and PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
private |
Definition at line 44 of file panel_eeschema_editing_options.h.
Referenced by loadEEschemaSettings(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 84 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 83 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 85 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 89 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 53 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS(), and PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 55 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 65 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 44 of file panel_eeschema_editing_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 94 of file panel_eeschema_editing_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 64 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 54 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 90 of file panel_eeschema_editing_options_base.h.
Referenced by loadEEschemaSettings(), PANEL_EESCHEMA_EDITING_OPTIONS(), PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 77 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 41 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 48 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 56 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 66 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 92 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 82 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 71 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 59 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 68 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 69 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 74 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 60 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 75 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 61 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 72 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 62 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 73 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 63 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 42 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 47 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 76 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 81 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 91 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 70 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 58 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
private |
Definition at line 45 of file panel_eeschema_editing_options.h.
Referenced by loadEEschemaSettings(), and TransferDataFromWindow().
|
protectedinherited |
Definition at line 87 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 86 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().
|
protectedinherited |
Definition at line 88 of file panel_eeschema_editing_options_base.h.
Referenced by PANEL_EESCHEMA_EDITING_OPTIONS_BASE::PANEL_EESCHEMA_EDITING_OPTIONS_BASE().