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

#include <panel_eeschema_editing_options.h>

Inheritance diagram for PANEL_EESCHEMA_EDITING_OPTIONS:
PANEL_EESCHEMA_EDITING_OPTIONS_BASE RESETTABLE_PANEL

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. More...
 
virtual wxString GetResetTooltip () const
 Get the tooltip the reset button should display when showing this panel. More...
 
wxString GetHelpTextAtPoint (const wxPoint &aPt, wxHelpEvent::Origin aOrigin) const override
 Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }. More...
 

Protected Attributes

wxStaticText * m_editingLabel
 
wxStaticLine * m_staticline3
 
wxStaticText * m_staticText24
 
wxChoice * m_choiceLineMode
 
wxCheckBox * m_mouseDragIsDrag
 
wxCheckBox * m_cbAutoStartWires
 
wxCheckBox * m_escClearsNetHighlight
 
wxStaticText * m_staticText26
 
wxStaticLine * m_staticline4
 
wxStaticText * m_borderColorLabel
 
COLOR_SWATCHm_borderColorSwatch
 
wxStaticText * m_backgroundColorLabel
 
COLOR_SWATCHm_backgroundColorSwatch
 
wxSimplebook * m_leftClickCmdsBook
 
wxPanel * m_pageWinLin
 
wxStaticText * m_leftClickLabel
 
wxStaticLine * m_staticline6
 
wxStaticText * m_hint1
 
wxStaticText * m_staticText91
 
wxStaticText * m_staticText101
 
wxStaticText * m_staticText131
 
wxStaticText * m_staticText141
 
wxStaticText * m_staticText151
 
wxStaticText * m_staticText161
 
wxPanel * m_pageMac
 
wxStaticText * m_leftClickLabel1
 
wxStaticLine * m_staticline7
 
wxStaticText * m_hint2
 
wxStaticText * m_staticText11
 
wxStaticText * m_staticText12
 
wxStaticText * m_staticText9
 
wxStaticText * m_staticText10
 
wxStaticText * m_staticText15
 
wxStaticText * m_staticText16
 
wxStaticText * m_staticText13
 
wxStaticText * m_staticText14
 
wxStaticText * m_staticText32
 
wxStaticLine * m_staticline10
 
wxCheckBox * m_checkAutoplaceFields
 
wxCheckBox * m_checkAutoplaceJustify
 
wxCheckBox * m_checkAutoplaceAlign
 
wxStaticText * m_staticText321
 
wxStaticLine * m_staticline9
 
wxStaticText * m_hPitchLabel
 
wxTextCtrl * m_hPitchCtrl
 
wxStaticText * m_hPitchUnits
 
wxStaticText * m_vPitchLabel
 
wxTextCtrl * m_vPitchCtrl
 
wxStaticText * m_vPitchUnits
 
wxStaticText * m_labelIncrementLabel
 
wxSpinCtrl * m_spinLabelRepeatStep
 
wxStaticText * m_staticText322
 
wxStaticLine * m_staticline8
 
wxCheckBox * m_footprintPreview
 
wxCheckBox * m_neverShowRescue
 

Private Member Functions

void loadEEschemaSettings (EESCHEMA_SETTINGS *aCfg)
 

Private Attributes

UNIT_BINDER m_hPitch
 
UNIT_BINDER m_vPitch
 

Detailed Description

Definition at line 29 of file panel_eeschema_editing_options.h.

Constructor & Destructor Documentation

◆ PANEL_EESCHEMA_EDITING_OPTIONS()

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

◆ loadEEschemaSettings()

void PANEL_EESCHEMA_EDITING_OPTIONS::loadEEschemaSettings ( EESCHEMA_SETTINGS aCfg)
private

Definition at line 58 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().

◆ ResetPanel()

void PANEL_EESCHEMA_EDITING_OPTIONS::ResetPanel ( )
overridevirtual

Reset the contents of this panel.

Implements RESETTABLE_PANEL.

Definition at line 131 of file panel_eeschema_editing_options.cpp.

References JSON_SETTINGS::Load(), and loadEEschemaSettings().

◆ TransferDataFromWindow()

bool PANEL_EESCHEMA_EDITING_OPTIONS::TransferDataFromWindow ( )
override

Definition at line 102 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.

◆ TransferDataToWindow()

bool PANEL_EESCHEMA_EDITING_OPTIONS::TransferDataToWindow ( )
override

Member Data Documentation

◆ m_backgroundColorLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_backgroundColorLabel
protectedinherited

◆ m_backgroundColorSwatch

COLOR_SWATCH* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_backgroundColorSwatch
protectedinherited

◆ m_borderColorLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_borderColorLabel
protectedinherited

◆ m_borderColorSwatch

◆ m_cbAutoStartWires

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_cbAutoStartWires
protectedinherited

◆ m_checkAutoplaceAlign

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_checkAutoplaceAlign
protectedinherited

◆ m_checkAutoplaceFields

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_checkAutoplaceFields
protectedinherited

◆ m_checkAutoplaceJustify

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_checkAutoplaceJustify
protectedinherited

◆ m_choiceLineMode

wxChoice* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_choiceLineMode
protectedinherited

◆ m_editingLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_editingLabel
protectedinherited

◆ m_escClearsNetHighlight

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_escClearsNetHighlight
protectedinherited

◆ m_footprintPreview

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_footprintPreview
protectedinherited

◆ m_hint1

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_hint1
protectedinherited

◆ m_hint2

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_hint2
protectedinherited

◆ m_hPitch

UNIT_BINDER PANEL_EESCHEMA_EDITING_OPTIONS::m_hPitch
private

◆ m_hPitchCtrl

wxTextCtrl* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_hPitchCtrl
protectedinherited

◆ m_hPitchLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_hPitchLabel
protectedinherited

◆ m_hPitchUnits

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_hPitchUnits
protectedinherited

◆ m_labelIncrementLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_labelIncrementLabel
protectedinherited

◆ m_leftClickCmdsBook

wxSimplebook* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_leftClickCmdsBook
protectedinherited

◆ m_leftClickLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_leftClickLabel
protectedinherited

◆ m_leftClickLabel1

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_leftClickLabel1
protectedinherited

◆ m_mouseDragIsDrag

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_mouseDragIsDrag
protectedinherited

◆ m_neverShowRescue

wxCheckBox* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_neverShowRescue
protectedinherited

◆ m_pageMac

wxPanel* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_pageMac
protectedinherited

◆ m_pageWinLin

wxPanel* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_pageWinLin
protectedinherited

◆ m_spinLabelRepeatStep

wxSpinCtrl* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_spinLabelRepeatStep
protectedinherited

◆ m_staticline10

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline10
protectedinherited

◆ m_staticline3

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline3
protectedinherited

◆ m_staticline4

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline4
protectedinherited

◆ m_staticline6

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline6
protectedinherited

◆ m_staticline7

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline7
protectedinherited

◆ m_staticline8

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline8
protectedinherited

◆ m_staticline9

wxStaticLine* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticline9
protectedinherited

◆ m_staticText10

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText10
protectedinherited

◆ m_staticText101

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText101
protectedinherited

◆ m_staticText11

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText11
protectedinherited

◆ m_staticText12

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText12
protectedinherited

◆ m_staticText13

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText13
protectedinherited

◆ m_staticText131

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText131
protectedinherited

◆ m_staticText14

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText14
protectedinherited

◆ m_staticText141

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText141
protectedinherited

◆ m_staticText15

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText15
protectedinherited

◆ m_staticText151

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText151
protectedinherited

◆ m_staticText16

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText16
protectedinherited

◆ m_staticText161

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText161
protectedinherited

◆ m_staticText24

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText24
protectedinherited

◆ m_staticText26

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText26
protectedinherited

◆ m_staticText32

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText32
protectedinherited

◆ m_staticText321

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText321
protectedinherited

◆ m_staticText322

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText322
protectedinherited

◆ m_staticText9

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText9
protectedinherited

◆ m_staticText91

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_staticText91
protectedinherited

◆ m_vPitch

UNIT_BINDER PANEL_EESCHEMA_EDITING_OPTIONS::m_vPitch
private

◆ m_vPitchCtrl

wxTextCtrl* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_vPitchCtrl
protectedinherited

◆ m_vPitchLabel

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_vPitchLabel
protectedinherited

◆ m_vPitchUnits

wxStaticText* PANEL_EESCHEMA_EDITING_OPTIONS_BASE::m_vPitchUnits
protectedinherited

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